Searched refs:CEPH_CAP_FILE_CACHE (Results 1 – 7 of 7) sorted by relevance
681 #define CEPH_CAP_FILE_CACHE (CEPH_CAP_GCACHE << CEPH_CAP_SFILE) macro718 CEPH_CAP_FILE_CACHE)724 #define CEPH_CAP_ANY_FILE_RD (CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE | \740 #define CEPH_CAP_DIR_CREATE CEPH_CAP_FILE_CACHE742 #define CEPH_CAP_ANY_DIR_OPS (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_RD | \
90 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
574 (issued & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in __check_cap_issue()575 (had & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0) { in __check_cap_issue()977 used |= CEPH_CAP_FILE_CACHE; in __ceph_caps_used()2067 (revoking & (CEPH_CAP_FILE_CACHE| in ceph_check_caps()2706 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs()2939 BUG_ON(want & ~(CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO | in ceph_try_get_caps()3056 (_got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in __ceph_get_caps()3163 if (had & CEPH_CAP_FILE_CACHE) in __ceph_put_cap_refs()3450 ((cap->issued & ~newcaps) & CEPH_CAP_FILE_CACHE) && in handle_cap_grant()3626 revoking == CEPH_CAP_FILE_CACHE && in handle_cap_grant()[all …]
438 int got = 0, want = CEPH_CAP_FILE_CACHE; in ceph_init_request()860 (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)); in writepages_finish()1604 want = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in ceph_filemap_fault()1606 want = CEPH_CAP_FILE_CACHE; in ceph_filemap_fault()1616 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) || in ceph_filemap_fault()
2030 want |= CEPH_CAP_FILE_CACHE; in ceph_read_iter()2043 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()2180 want = CEPH_CAP_FILE_CACHE; in ceph_splice_read()2188 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) == 0) { in ceph_splice_read()
780 if ((issued & (CEPH_CAP_FILE_CACHE| in ceph_fill_file_size()1259 int cache_caps = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in ceph_fill_inode()2119 if (__ceph_caps_revoking_other(ci, NULL, CEPH_CAP_FILE_CACHE)) in ceph_do_invalidate_pages()2144 if (__ceph_caps_revoking_other(ci, NULL, CEPH_CAP_FILE_CACHE)) in ceph_do_invalidate_pages()
2166 wanted == 0 && used == CEPH_CAP_FILE_CACHE && in trim_caps_cb()2167 !(oissued & CEPH_CAP_FILE_CACHE)) { in trim_caps_cb()