Home
last modified time | relevance | path

Searched refs:CEPH_CAP_PIN (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/ceph/
H A Dceph_fs.h648 #define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */ macro
693 #define CEPH_STAT_CAP_INODE CEPH_CAP_PIN
694 #define CEPH_STAT_CAP_TYPE CEPH_CAP_PIN /* mode >> 12 */
695 #define CEPH_STAT_CAP_SYMLINK CEPH_CAP_PIN
705 #define CEPH_STAT_CAP_INODE_ALL (CEPH_CAP_PIN | \
732 CEPH_CAP_PIN)
733 #define CEPH_CAP_ALL_FILE (CEPH_CAP_PIN | CEPH_CAP_ANY_SHARED | \
/linux/fs/ceph/
H A Dutil.c86 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
H A Dcaps.c98 if (caps & CEPH_CAP_PIN) in ceph_cap_string()
700 cap->issued = cap->implemented = CEPH_CAP_PIN; in ceph_add_cap()
1015 used |= CEPH_CAP_PIN; in __ceph_caps_used()
1063 want |= CEPH_CAP_PIN; in __ceph_caps_file_wanted()
1441 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __prep_cap()
2102 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()
2310 (file_wanted & ~CEPH_CAP_PIN) && in ceph_check_caps()
2822 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs()
3307 if (had & CEPH_CAP_PIN) in __ceph_put_cap_refs()
3612 cap->issued = cap->implemented = CEPH_CAP_PIN; in handle_cap_grant()
[all …]
H A Dmds_client.c1198 ceph_put_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_release_request()
1202 ceph_put_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in ceph_mdsc_release_request()
1219 CEPH_CAP_PIN); in ceph_mdsc_release_request()
2093 cap->issued = cap->implemented = CEPH_CAP_PIN; in wake_up_session_cb()
3234 ceph_put_cap_refs(ceph_inode(old_parent), CEPH_CAP_PIN); in create_request_message()
3237 ceph_get_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in create_request_message()
3920 ceph_get_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_submit_request()
3926 ceph_take_cap_refs(ci, CEPH_CAP_PIN, false); in ceph_mdsc_submit_request()
3932 CEPH_CAP_PIN); in ceph_mdsc_submit_request()
H A Dinode.c267 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()