Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ceph/
Dinode.c638 WARN_ON_ONCE(issued & (CEPH_CAP_FILE_EXCL | in ceph_fill_file_size()
677 if (issued & (CEPH_CAP_FILE_EXCL| in ceph_fill_file_time()
717 } else if (issued & CEPH_CAP_FILE_EXCL) { in ceph_fill_file_time()
995 (issued & CEPH_CAP_FILE_EXCL) == 0 && in ceph_fill_inode()
2123 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
2126 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2144 if ((issued & CEPH_CAP_FILE_EXCL) && in __ceph_setattr()
2149 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2157 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2165 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
[all …]
Dutil.c92 caps |= CEPH_CAP_FILE_EXCL | in ceph_caps_for_mode()
Ddir.c402 req->r_inode_drop = CEPH_CAP_FILE_EXCL; in ceph_readdir()
863 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mknod()
924 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_symlink()
986 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mkdir()
1029 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_link()
1083 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_UNLINK; in get_caps_for_async_unlink()
1149 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_unlink()
1225 req->r_old_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_rename()
1227 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.c1001 used |= CEPH_CAP_FILE_EXCL; in __ceph_caps_used()
1031 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in __ceph_caps_file_wanted()
1077 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
1081 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
1976 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in ceph_check_caps()
2608 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2747 (need & (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_EXCL))) { in try_get_cap_refs()
2840 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3057 if (had & CEPH_CAP_FILE_EXCL) in __ceph_put_cap_refs()
4486 if (unless & CEPH_CAP_FILE_EXCL) in ceph_encode_inode_release()
Dfile.c453 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE; in try_prep_async_create()
732 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_atomic_open()
/kernel/linux/linux-5.10/include/linux/ceph/
Dceph_fs.h612 #define CEPH_CAP_FILE_EXCL (CEPH_CAP_GEXCL << CEPH_CAP_SFILE) macro
655 CEPH_CAP_FILE_EXCL)
659 CEPH_CAP_FILE_EXCL)