Searched refs:CEPH_CAP_PIN (Results 1 – 5 of 5) sorted by relevance
567 #define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */ macro612 #define CEPH_STAT_CAP_INODE CEPH_CAP_PIN613 #define CEPH_STAT_CAP_TYPE CEPH_CAP_PIN /* mode >> 12 */614 #define CEPH_STAT_CAP_SYMLINK CEPH_CAP_PIN624 #define CEPH_STAT_CAP_INODE_ALL (CEPH_CAP_PIN | \651 CEPH_CAP_PIN)
89 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
93 if (caps & CEPH_CAP_PIN) in ceph_cap_string()951 used |= CEPH_CAP_PIN; in __ceph_caps_used()1292 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __send_cap()1850 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()2466 if (got & CEPH_CAP_PIN) in __take_cap_refs()2842 if (had & CEPH_CAP_PIN) in ceph_put_cap_refs()4070 drop |= ~(__ceph_caps_wanted(ci) | CEPH_CAP_PIN); in ceph_drop_caps_for_unlink()
571 ceph_put_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_release_request()575 ceph_put_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in ceph_mdsc_release_request()589 CEPH_CAP_PIN); in ceph_mdsc_release_request()2434 ceph_get_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_do_request()2436 ceph_get_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in ceph_mdsc_do_request()2439 CEPH_CAP_PIN); in ceph_mdsc_do_request()
89 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()