Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/ceph/
Dceph_fs.h524 #define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */ macro
569 #define CEPH_STAT_CAP_INODE CEPH_CAP_PIN
570 #define CEPH_STAT_CAP_TYPE CEPH_CAP_PIN /* mode >> 12 */
571 #define CEPH_STAT_CAP_SYMLINK CEPH_CAP_PIN
581 #define CEPH_STAT_CAP_INODE_ALL (CEPH_CAP_PIN | \
607 CEPH_CAP_PIN)
/linux-4.1.27/net/ceph/
Dceph_fs.c63 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
/linux-4.1.27/fs/ceph/
Dcaps.c85 if (caps & CEPH_CAP_PIN) in ceph_cap_string()
833 used |= CEPH_CAP_PIN; in __ceph_caps_used()
1162 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __send_cap()
1560 retain = want | CEPH_CAP_PIN; in ceph_check_caps()
2078 if (got & CEPH_CAP_PIN) in __take_cap_refs()
2309 if (had & CEPH_CAP_PIN) in ceph_put_cap_refs()
Dmds_client.c534 ceph_put_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_release_request()
538 ceph_put_cap_refs(ceph_inode(req->r_locked_dir), CEPH_CAP_PIN); in ceph_mdsc_release_request()
552 CEPH_CAP_PIN); in ceph_mdsc_release_request()
2248 ceph_get_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_do_request()
2250 ceph_get_cap_refs(ceph_inode(req->r_locked_dir), CEPH_CAP_PIN); in ceph_mdsc_do_request()
2253 CEPH_CAP_PIN); in ceph_mdsc_do_request()
Ddir.c895 drop |= ~(__ceph_caps_wanted(ci) | CEPH_CAP_PIN); in drop_caps_for_unlink()
Dinode.c87 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()