Searched refs:CEPH_CAP_FILE_RD (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/include/linux/ceph/ |
D | ceph_fs.h | 690 #define CEPH_CAP_FILE_RD (CEPH_CAP_GRD << CEPH_CAP_SFILE) macro 718 CEPH_CAP_FILE_RD) 725 #define CEPH_CAP_ANY_RD (CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_RD | \ 732 #define CEPH_CAP_ANY_FILE_RD (CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE | \ 749 #define CEPH_CAP_DIR_UNLINK CEPH_CAP_FILE_RD 750 #define CEPH_CAP_ANY_DIR_OPS (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_RD | \
|
/linux-6.12.1/fs/ceph/ |
D | util.c | 90 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
|
D | file.c | 324 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps() 326 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps() 1325 CEPH_CAP_FILE_RD)); in ceph_aio_complete() 1677 CEPH_CAP_FILE_RD); in ceph_direct_read_write() 2140 ret = ceph_get_caps(filp, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_read_iter() 2292 ret = ceph_get_caps(in, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_splice_read() 2764 CEPH_CAP_FILE_RD, CEPH_CAP_FILE_SHARED, in get_rd_wr_caps() 2775 ret = ceph_get_caps(src_filp, CEPH_CAP_FILE_RD, in get_rd_wr_caps()
|
D | inode.c | 787 WARN_ON_ONCE(issued & (CEPH_CAP_FILE_RD | in ceph_fill_file_size() 2353 ret = __ceph_get_caps(inode, NULL, CEPH_CAP_FILE_RD, 0, -1, &got); in fill_fscrypt_truncate() 2653 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2667 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2690 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2729 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
|
D | addr.c | 471 ret = ceph_try_get_caps(inode, CEPH_CAP_FILE_RD, want, true, &got); in ceph_init_request() 1637 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_filemap_fault() 2214 if ((need & CEPH_CAP_FILE_RD) && !(flags & CEPH_I_POOL_RD)) { in ceph_pool_perm_check()
|
D | caps.c | 1001 used |= CEPH_CAP_FILE_RD; in __ceph_caps_used() 2279 !(used & (CEPH_CAP_FILE_RD | CEPH_CAP_ANY_FILE_WR))) { in ceph_check_caps() 2785 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs() 3015 if (caps & CEPH_CAP_FILE_RD) in get_used_fmode() 3027 BUG_ON(need & ~CEPH_CAP_FILE_RD); in ceph_try_get_caps() 3257 if (had & CEPH_CAP_FILE_RD) in __ceph_put_cap_refs()
|