Searched refs:CEPH_CAP_PIN (Results 1 – 5 of 5) sorted by relevance
625 #define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */ macro670 #define CEPH_STAT_CAP_INODE CEPH_CAP_PIN671 #define CEPH_STAT_CAP_TYPE CEPH_CAP_PIN /* mode >> 12 */672 #define CEPH_STAT_CAP_SYMLINK CEPH_CAP_PIN682 #define CEPH_STAT_CAP_INODE_ALL (CEPH_CAP_PIN | \709 CEPH_CAP_PIN)710 #define CEPH_CAP_ALL_FILE (CEPH_CAP_PIN | CEPH_CAP_ANY_SHARED | \
86 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
94 if (caps & CEPH_CAP_PIN) in ceph_cap_string()677 cap->issued = cap->implemented = CEPH_CAP_PIN; in ceph_add_cap()969 used |= CEPH_CAP_PIN; in __ceph_caps_used()1017 want |= CEPH_CAP_PIN; in __ceph_caps_file_wanted()1360 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __prep_cap()1949 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()2151 (file_wanted & ~CEPH_CAP_PIN) && in ceph_check_caps()2636 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs()3084 if (had & CEPH_CAP_PIN) in __ceph_put_cap_refs()3373 cap->issued = cap->implemented = CEPH_CAP_PIN; in handle_cap_grant()[all …]
936 ceph_put_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_release_request()940 ceph_put_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in ceph_mdsc_release_request()956 CEPH_CAP_PIN); in ceph_mdsc_release_request()1792 cap->issued = cap->implemented = CEPH_CAP_PIN; in wake_up_session_cb()3099 ceph_get_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_submit_request()3105 ceph_take_cap_refs(ci, CEPH_CAP_PIN, false); in ceph_mdsc_submit_request()3111 CEPH_CAP_PIN); in ceph_mdsc_submit_request()
111 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()