Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/ceph/
Dceph_fs.h573 #define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */ macro
618 #define CEPH_STAT_CAP_INODE CEPH_CAP_PIN
619 #define CEPH_STAT_CAP_TYPE CEPH_CAP_PIN /* mode >> 12 */
620 #define CEPH_STAT_CAP_SYMLINK CEPH_CAP_PIN
630 #define CEPH_STAT_CAP_INODE_ALL (CEPH_CAP_PIN | \
657 CEPH_CAP_PIN)
/Linux-v5.4/net/ceph/
Dceph_fs.c89 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
/Linux-v5.4/fs/ceph/
Dcaps.c94 if (caps & CEPH_CAP_PIN) in ceph_cap_string()
661 cap->issued = cap->implemented = CEPH_CAP_PIN; in ceph_add_cap()
956 used |= CEPH_CAP_PIN; in __ceph_caps_used()
1291 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __send_cap()
1859 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()
2500 if (got & CEPH_CAP_PIN) in __take_cap_refs()
2892 if (had & CEPH_CAP_PIN) in ceph_put_cap_refs()
3137 cap->issued = cap->implemented = CEPH_CAP_PIN; in handle_cap_grant()
4139 drop |= ~(__ceph_caps_wanted(ci) | CEPH_CAP_PIN); in ceph_drop_caps_for_unlink()
Dmds_client.c707 ceph_put_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_release_request()
712 ceph_put_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in ceph_mdsc_release_request()
726 CEPH_CAP_PIN); in ceph_mdsc_release_request()
1556 cap->issued = cap->implemented = CEPH_CAP_PIN; in wake_up_session_cb()
2672 ceph_get_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_submit_request()
2674 ceph_get_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in ceph_mdsc_submit_request()
2677 CEPH_CAP_PIN); in ceph_mdsc_submit_request()
Dinode.c89 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()