Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ceph/
Dutil.c92 caps |= CEPH_CAP_FILE_EXCL | in ceph_caps_for_mode()
Dinode.c821 if (issued & (CEPH_CAP_FILE_EXCL| in ceph_fill_file_time()
861 } else if (issued & CEPH_CAP_FILE_EXCL) { in ceph_fill_file_time()
1240 (issued & CEPH_CAP_FILE_EXCL) == 0 && in ceph_fill_inode()
2557 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
2560 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2584 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2596 } else if ((issued & CEPH_CAP_FILE_EXCL) && attr->ia_size >= isize) { in __ceph_setattr()
2601 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2607 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2630 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
[all …]
Ddir.c410 req->r_inode_drop = CEPH_CAP_FILE_EXCL; in ceph_readdir()
931 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mknod()
1047 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_symlink()
1123 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mkdir()
1184 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_link()
1256 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_UNLINK; in get_caps_for_async_unlink()
1323 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_unlink()
1430 req->r_old_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_rename()
1432 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_rename()
Dcaps.c983 used |= CEPH_CAP_FILE_EXCL; in __ceph_caps_used()
1013 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in __ceph_caps_file_wanted()
1059 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
1063 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
2031 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in ceph_check_caps()
2708 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2847 (need & (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_EXCL))) { in try_get_cap_refs()
2940 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3166 if (had & CEPH_CAP_FILE_EXCL) in __ceph_put_cap_refs()
4722 if (unless & CEPH_CAP_FILE_EXCL) in ceph_encode_inode_release()
Dioctl.c116 req->r_inode_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL; in ceph_ioctl_set_layout()
Dfile.c472 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE; in try_prep_async_create()
804 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_atomic_open()
/linux-6.6.21/include/linux/ceph/
Dceph_fs.h680 #define CEPH_CAP_FILE_EXCL (CEPH_CAP_GEXCL << CEPH_CAP_SFILE) macro
723 CEPH_CAP_FILE_EXCL)
727 CEPH_CAP_FILE_EXCL)