Searched refs:CEPH_CAP_FILE_RD (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/include/linux/ceph/ |
D | ceph_fs.h | 682 #define CEPH_CAP_FILE_RD (CEPH_CAP_GRD << CEPH_CAP_SFILE) macro 710 CEPH_CAP_FILE_RD) 717 #define CEPH_CAP_ANY_RD (CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_RD | \ 724 #define CEPH_CAP_ANY_FILE_RD (CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE | \ 741 #define CEPH_CAP_DIR_UNLINK CEPH_CAP_FILE_RD 742 #define CEPH_CAP_ANY_DIR_OPS (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_RD | \
|
/linux-6.6.21/fs/ceph/ |
D | util.c | 90 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
|
D | file.c | 318 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps() 320 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps() 1227 CEPH_CAP_FILE_RD)); in ceph_aio_complete() 1573 CEPH_CAP_FILE_RD); in ceph_direct_read_write() 2034 ret = ceph_get_caps(filp, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_read_iter() 2184 ret = ceph_get_caps(in, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_splice_read() 2653 CEPH_CAP_FILE_RD, CEPH_CAP_FILE_SHARED, in get_rd_wr_caps() 2664 ret = ceph_get_caps(src_filp, CEPH_CAP_FILE_RD, in get_rd_wr_caps()
|
D | inode.c | 772 WARN_ON_ONCE(issued & (CEPH_CAP_FILE_RD | in ceph_fill_file_size() 2310 ret = __ceph_get_caps(inode, NULL, CEPH_CAP_FILE_RD, 0, -1, &got); in fill_fscrypt_truncate() 2572 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2585 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2608 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2645 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
|
D | addr.c | 467 ret = ceph_try_get_caps(inode, CEPH_CAP_FILE_RD, want, true, &got); in ceph_init_request() 1609 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_filemap_fault() 2181 if ((need & CEPH_CAP_FILE_RD) && !(flags & CEPH_I_POOL_RD)) { in ceph_pool_perm_check()
|
D | caps.c | 973 used |= CEPH_CAP_FILE_RD; in __ceph_caps_used() 2218 !(used & (CEPH_CAP_FILE_RD | CEPH_CAP_ANY_FILE_WR))) { in ceph_check_caps() 2704 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs() 2926 if (caps & CEPH_CAP_FILE_RD) in get_used_fmode() 2938 BUG_ON(need & ~CEPH_CAP_FILE_RD); in ceph_try_get_caps() 3160 if (had & CEPH_CAP_FILE_RD) in __ceph_put_cap_refs()
|