Home
last modified time | relevance | path

Searched refs:CEPH_CAP_FILE_RD (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/ceph/
A Dceph_fs.h659 #define CEPH_CAP_FILE_RD (CEPH_CAP_GRD << CEPH_CAP_SFILE) macro
687 CEPH_CAP_FILE_RD)
694 #define CEPH_CAP_ANY_RD (CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_RD | \
701 #define CEPH_CAP_ANY_FILE_RD (CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE | \
718 #define CEPH_CAP_DIR_UNLINK CEPH_CAP_FILE_RD
719 #define CEPH_CAP_ANY_DIR_OPS (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_RD | \
/linux/fs/ceph/
A Dutil.c90 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
A Dfile.c304 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
306 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps()
1040 CEPH_CAP_FILE_RD)); in ceph_aio_complete()
1367 CEPH_CAP_FILE_RD); in ceph_direct_read_write()
1558 ret = ceph_get_caps(filp, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_read_iter()
2161 CEPH_CAP_FILE_RD, CEPH_CAP_FILE_SHARED, in get_rd_wr_caps()
2172 ret = ceph_get_caps(src_filp, CEPH_CAP_FILE_RD, in get_rd_wr_caps()
A Dinode.c645 CEPH_CAP_FILE_RD | in ceph_fill_file_size()
2099 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
2120 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
2142 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
A Daddr.c369 ret = ceph_try_get_caps(inode, CEPH_CAP_FILE_RD, want, true, &got); in ceph_readahead()
1367 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_filemap_fault()
1959 if ((need & CEPH_CAP_FILE_RD) && !(flags & CEPH_I_POOL_RD)) { in ceph_pool_perm_check()
A Dcaps.c970 used |= CEPH_CAP_FILE_RD; in __ceph_caps_used()
2124 !(used & (CEPH_CAP_FILE_RD | CEPH_CAP_ANY_FILE_WR))) { in ceph_check_caps()
2601 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs()
2819 if (caps & CEPH_CAP_FILE_RD) in get_used_fmode()
2831 BUG_ON(need & ~CEPH_CAP_FILE_RD); in ceph_try_get_caps()
3045 if (had & CEPH_CAP_FILE_RD) in __ceph_put_cap_refs()

Completed in 28 milliseconds