Lines Matching refs:wanted
617 int fmode, unsigned issued, unsigned wanted, in ceph_add_cap() argument
635 wanted |= ceph_caps_for_mode(fmode); in ceph_add_cap()
718 if ((wanted & ~actual_wanted) || in ceph_add_cap()
721 ceph_cap_string(issued), ceph_cap_string(wanted), in ceph_add_cap()
730 cap->mds_wanted = wanted; in ceph_add_cap()
743 cap->mds_wanted = wanted; in ceph_add_cap()
745 cap->mds_wanted |= wanted; in ceph_add_cap()
1124 int op, caps, wanted, dirty; member
1151 ceph_cap_string(arg->wanted), ceph_cap_string(arg->dirty), in send_cap_msg()
1177 fc->wanted = cpu_to_le32(arg->wanted); in send_cap_msg()
1368 arg.wanted = want; in __send_cap()
1429 arg.wanted = 0; in __send_flush_snap()
3085 int used, wanted, dirty; in handle_cap_grant() local
3233 wanted = __ceph_caps_wanted(ci); in handle_cap_grant()
3237 ceph_cap_string(wanted), in handle_cap_grant()
3240 if (wanted != le32_to_cpu(grant->wanted)) { in handle_cap_grant()
3242 ceph_cap_string(le32_to_cpu(grant->wanted)), in handle_cap_grant()
3243 ceph_cap_string(wanted)); in handle_cap_grant()
3704 unsigned wanted = le32_to_cpu(im->wanted); in handle_cap_import() local
3743 ceph_add_cap(inode, session, cap_id, -1, caps, wanted, seq, mseq, in handle_cap_import()
4176 int wanted = __ceph_caps_wanted(ci); in ceph_encode_inode_release() local
4178 wanted |= cap->mds_wanted; in ceph_encode_inode_release()
4184 ceph_cap_string(wanted)); in ceph_encode_inode_release()
4188 cap->mds_wanted = wanted; in ceph_encode_inode_release()
4201 rel->wanted = cpu_to_le32(cap->mds_wanted); in ceph_encode_inode_release()