Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/ceph/
Dceph_fs.h689 #define CEPH_CAP_FILE_CACHE (CEPH_CAP_GCACHE << CEPH_CAP_SFILE) macro
726 CEPH_CAP_FILE_CACHE)
732 #define CEPH_CAP_ANY_FILE_RD (CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE | \
748 #define CEPH_CAP_DIR_CREATE CEPH_CAP_FILE_CACHE
750 #define CEPH_CAP_ANY_DIR_OPS (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_RD | \
/linux-6.12.1/fs/ceph/
Dutil.c90 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
Dcaps.c592 (issued & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in __check_cap_issue()
593 (had & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0) { in __check_cap_issue()
1005 used |= CEPH_CAP_FILE_CACHE; in __ceph_caps_used()
2123 (revoking & (CEPH_CAP_FILE_CACHE| in ceph_check_caps()
2787 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs()
3028 BUG_ON(want & ~(CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO | in ceph_try_get_caps()
3151 (_got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in __ceph_get_caps()
3260 if (had & CEPH_CAP_FILE_CACHE) in __ceph_put_cap_refs()
3546 ((cap->issued & ~newcaps) & CEPH_CAP_FILE_CACHE) && in handle_cap_grant()
3723 revoking == CEPH_CAP_FILE_CACHE && in handle_cap_grant()
[all …]
Daddr.c439 int got = 0, want = CEPH_CAP_FILE_CACHE; in ceph_init_request()
878 (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)); in writepages_finish()
1632 want = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in ceph_filemap_fault()
1634 want = CEPH_CAP_FILE_CACHE; in ceph_filemap_fault()
1644 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) || in ceph_filemap_fault()
Dfile.c2136 want |= CEPH_CAP_FILE_CACHE; in ceph_read_iter()
2149 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()
2288 want = CEPH_CAP_FILE_CACHE; in ceph_splice_read()
2296 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) == 0) { in ceph_splice_read()
Dinode.c795 if ((issued & (CEPH_CAP_FILE_CACHE| in ceph_fill_file_size()
1292 int cache_caps = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in ceph_fill_inode()
2157 if (__ceph_caps_revoking_other(ci, NULL, CEPH_CAP_FILE_CACHE)) in ceph_do_invalidate_pages()
2182 if (__ceph_caps_revoking_other(ci, NULL, CEPH_CAP_FILE_CACHE)) in ceph_do_invalidate_pages()
Dmds_client.c2211 wanted == 0 && used == CEPH_CAP_FILE_CACHE && in trim_caps_cb()
2212 !(oissued & CEPH_CAP_FILE_CACHE)) { in trim_caps_cb()