Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/ceph/
Dceph_fs.h567 #define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */ macro
612 #define CEPH_STAT_CAP_INODE CEPH_CAP_PIN
613 #define CEPH_STAT_CAP_TYPE CEPH_CAP_PIN /* mode >> 12 */
614 #define CEPH_STAT_CAP_SYMLINK CEPH_CAP_PIN
624 #define CEPH_STAT_CAP_INODE_ALL (CEPH_CAP_PIN | \
651 CEPH_CAP_PIN)
/Linux-v4.19/net/ceph/
Dceph_fs.c89 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
/Linux-v4.19/fs/ceph/
Dcaps.c93 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()
Dmds_client.c571 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()
Dinode.c89 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()