Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/net/ceph/
Dceph_fs.c63 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
/linux-4.4.14/fs/ceph/
Dcaps.c85 if (caps & CEPH_CAP_PIN) in ceph_cap_string()
833 used |= CEPH_CAP_PIN; in __ceph_caps_used()
1140 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __send_cap()
1610 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()
2269 if (got & CEPH_CAP_PIN) in __take_cap_refs()
2584 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()
2294 ceph_get_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_do_request()
2296 ceph_get_cap_refs(ceph_inode(req->r_locked_dir), CEPH_CAP_PIN); in ceph_mdsc_do_request()
2299 CEPH_CAP_PIN); in ceph_mdsc_do_request()
Ddir.c905 drop |= ~(__ceph_caps_wanted(ci) | CEPH_CAP_PIN); in drop_caps_for_unlink()
Dinode.c86 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()