Lines Matching refs:used
282 ctx->used = 0; in ceph_reserve_caps()
323 ceph_reclaim_caps_nr(mdsc, ctx->used); in ceph_unreserve_caps()
368 ctx->used++; in ceph_get_cap()
407 int *total, int *avail, int *used, int *reserved, in ceph_reservation_status() argument
418 if (used) in ceph_reservation_status()
419 *used = mdsc->caps_use_count; in ceph_reservation_status()
954 int used = 0; in __ceph_caps_used() local
956 used |= CEPH_CAP_PIN; in __ceph_caps_used()
958 used |= CEPH_CAP_FILE_RD; in __ceph_caps_used()
962 used |= CEPH_CAP_FILE_CACHE; in __ceph_caps_used()
964 used |= CEPH_CAP_FILE_WR; in __ceph_caps_used()
966 used |= CEPH_CAP_FILE_BUFFER; in __ceph_caps_used()
967 return used; in __ceph_caps_used()
1270 int op, int flags, int used, int want, int retain, in __send_cap() argument
1326 cap->implemented &= cap->issued | used; in __send_cap()
1825 int file_wanted, used, cap_used; in ceph_check_caps() local
1854 used = __ceph_caps_used(ci); in ceph_check_caps()
1859 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()
1893 ceph_cap_string(used), ceph_cap_string(ci->i_dirty_caps), in ceph_check_caps()
1933 cap_used = used; in ceph_check_caps()
3099 int used, wanted, dirty; in handle_cap_grant() local
3256 used = __ceph_caps_used(ci); in handle_cap_grant()
3260 ceph_cap_string(used), in handle_cap_grant()
3286 if (revoking & used & CEPH_CAP_FILE_BUFFER) in handle_cap_grant()
4166 int used, dirty; in ceph_encode_inode_release() local
4170 used = __ceph_caps_used(ci); in ceph_encode_inode_release()
4174 inode, mds, ceph_cap_string(used|dirty), ceph_cap_string(drop), in ceph_encode_inode_release()
4178 drop &= ~(used | dirty); in ceph_encode_inode_release()