Searched refs:CEPH_CAP_PIN (Results 1 – 6 of 6) sorted by relevance
524 #define CEPH_CAP_PIN 1 /* no specific capabilities beyond the pin */ macro569 #define CEPH_STAT_CAP_INODE CEPH_CAP_PIN570 #define CEPH_STAT_CAP_TYPE CEPH_CAP_PIN /* mode >> 12 */571 #define CEPH_STAT_CAP_SYMLINK CEPH_CAP_PIN581 #define CEPH_STAT_CAP_INODE_ALL (CEPH_CAP_PIN | \607 CEPH_CAP_PIN)
63 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode()
85 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()
534 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()
905 drop |= ~(__ceph_caps_wanted(ci) | CEPH_CAP_PIN); in drop_caps_for_unlink()
86 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()