Home
last modified time | relevance | path

Searched refs:CEPH_CAP_FILE_CACHE (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/include/linux/ceph/
H A Dceph_fs.h681 #define CEPH_CAP_FILE_CACHE (CEPH_CAP_GCACHE << CEPH_CAP_SFILE) macro
718 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_CACHE
742 #define CEPH_CAP_ANY_DIR_OPS (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_RD | \
/openbmc/linux/fs/ceph/
H A Dutil.c90 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
H A Dcaps.c574 (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()
2070 (revoking & (CEPH_CAP_FILE_CACHE| in ceph_check_caps()
2709 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs()
2942 BUG_ON(want & ~(CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO | in ceph_try_get_caps()
3059 (_got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in __ceph_get_caps()
3166 if (had & CEPH_CAP_FILE_CACHE) in __ceph_put_cap_refs()
3453 ((cap->issued & ~newcaps) & CEPH_CAP_FILE_CACHE) && in handle_cap_grant()
3629 revoking == CEPH_CAP_FILE_CACHE && in handle_cap_grant()
[all …]
H A Daddr.c437 int got = 0, want = CEPH_CAP_FILE_CACHE; in ceph_init_request()
864 (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)); in writepages_finish()
1608 want = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in ceph_filemap_fault()
1610 want = CEPH_CAP_FILE_CACHE; in ceph_filemap_fault()
1620 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) || in ceph_filemap_fault()
H A Dfile.c2033 want |= CEPH_CAP_FILE_CACHE; in ceph_read_iter()
2046 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()
2183 want = CEPH_CAP_FILE_CACHE; in ceph_splice_read()
2191 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) == 0) { in ceph_splice_read()
H A Dinode.c780 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()
H A Dmds_client.c2167 wanted == 0 && used == CEPH_CAP_FILE_CACHE && in trim_caps_cb()
2168 !(oissued & CEPH_CAP_FILE_CACHE)) { in trim_caps_cb()