Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/ceph/
Dceph_fs.h682 #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-v6.6/fs/ceph/
Dutil.c90 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_CACHE; in ceph_caps_for_mode()
Dfile.c318 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()
Dinode.c772 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()
Daddr.c467 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()
Dcaps.c973 used |= CEPH_CAP_FILE_RD; in __ceph_caps_used()
2217 !(used & (CEPH_CAP_FILE_RD | CEPH_CAP_ANY_FILE_WR))) { in ceph_check_caps()
2703 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs()
2925 if (caps & CEPH_CAP_FILE_RD) in get_used_fmode()
2937 BUG_ON(need & ~CEPH_CAP_FILE_RD); in ceph_try_get_caps()
3159 if (had & CEPH_CAP_FILE_RD) in __ceph_put_cap_refs()