Home
last modified time | relevance | path

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

/Linux-v4.19/net/ceph/
Dceph_fs.c93 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
/Linux-v4.19/include/linux/ceph/
Dceph_fs.h601 #define CEPH_CAP_FILE_CACHE (CEPH_CAP_GCACHE << CEPH_CAP_SFILE) macro
638 CEPH_CAP_FILE_CACHE)
644 #define CEPH_CAP_ANY_FILE_RD (CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE | \
/Linux-v4.19/fs/ceph/
Dcaps.c585 if ((issued & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in __check_cap_issue()
586 (had & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0) { in __check_cap_issue()
957 used |= CEPH_CAP_FILE_CACHE; in __ceph_caps_used()
1898 (revoking & (CEPH_CAP_FILE_CACHE| in ceph_check_caps()
2470 if (got & CEPH_CAP_FILE_CACHE) in __take_cap_refs()
2591 !(*got & CEPH_CAP_FILE_CACHE)) in try_get_cap_refs()
2679 BUG_ON(want & ~(CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)); in ceph_try_get_caps()
2753 (_got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in ceph_get_caps()
2785 if ((_got & CEPH_CAP_FILE_RD) && (_got & CEPH_CAP_FILE_CACHE)) in ceph_get_caps()
2847 if (had & CEPH_CAP_FILE_CACHE) in ceph_put_cap_refs()
[all …]
Daddr.c324 int want = CEPH_CAP_FILE_CACHE; in start_read()
734 (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)); in writepages_finish()
1449 want = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in ceph_filemap_fault()
1451 want = CEPH_CAP_FILE_CACHE; in ceph_filemap_fault()
1461 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) || in ceph_filemap_fault()
1694 (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) { in ceph_uninline_data()
Dinode.c638 if ((issued & (CEPH_CAP_FILE_CACHE| in ceph_fill_file_size()
988 int cache_caps = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in fill_inode()
1798 if (__ceph_caps_revoking_other(ci, NULL, CEPH_CAP_FILE_CACHE)) in ceph_invalidate_work()
1822 if (__ceph_caps_revoking_other(ci, NULL, CEPH_CAP_FILE_CACHE)) in ceph_invalidate_work()
Dfile.c1259 want = CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO; in ceph_read_iter()
1261 want = CEPH_CAP_FILE_CACHE; in ceph_read_iter()
1266 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()
Dmds_client.c1571 if (wanted == 0 && used == CEPH_CAP_FILE_CACHE && in trim_caps_cb()
1572 !(oissued & CEPH_CAP_FILE_CACHE)) { in trim_caps_cb()