Home
last modified time | relevance | path

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

/linux-5.19.10/fs/ceph/
Dutil.c92 caps |= CEPH_CAP_FILE_EXCL | in ceph_caps_for_mode()
Dinode.c658 WARN_ON_ONCE(issued & (CEPH_CAP_FILE_EXCL | in ceph_fill_file_size()
693 if (issued & (CEPH_CAP_FILE_EXCL| in ceph_fill_file_time()
733 } else if (issued & CEPH_CAP_FILE_EXCL) { in ceph_fill_file_time()
1031 (issued & CEPH_CAP_FILE_EXCL) == 0 && in ceph_fill_inode()
2102 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
2105 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2124 if ((issued & CEPH_CAP_FILE_EXCL) && attr->ia_size >= isize) { in __ceph_setattr()
2129 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2137 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2145 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
[all …]
Ddir.c402 req->r_inode_drop = CEPH_CAP_FILE_EXCL; in ceph_readdir()
886 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mknod()
949 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_symlink()
1013 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mkdir()
1057 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_link()
1111 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_UNLINK; in get_caps_for_async_unlink()
1178 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_unlink()
1254 req->r_old_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_rename()
1256 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_rename()
Dioctl.c115 req->r_inode_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL; in ceph_ioctl_set_layout()
Dcaps.c980 used |= CEPH_CAP_FILE_EXCL; in __ceph_caps_used()
1010 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in __ceph_caps_file_wanted()
1056 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
1060 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
1964 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in ceph_check_caps()
2664 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2799 (need & (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_EXCL))) { in try_get_cap_refs()
2892 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3110 if (had & CEPH_CAP_FILE_EXCL) in __ceph_put_cap_refs()
4536 if (unless & CEPH_CAP_FILE_EXCL) in ceph_encode_inode_release()
Dfile.c473 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE; in try_prep_async_create()
780 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_atomic_open()
/linux-5.19.10/include/linux/ceph/
Dceph_fs.h658 #define CEPH_CAP_FILE_EXCL (CEPH_CAP_GEXCL << CEPH_CAP_SFILE) macro
701 CEPH_CAP_FILE_EXCL)
705 CEPH_CAP_FILE_EXCL)