Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ceph/
Dutil.c92 caps |= CEPH_CAP_FILE_EXCL | in ceph_caps_for_mode()
Dinode.c838 if (issued & (CEPH_CAP_FILE_EXCL| in ceph_fill_file_time()
880 } else if (issued & CEPH_CAP_FILE_EXCL) { in ceph_fill_file_time()
1272 (issued & CEPH_CAP_FILE_EXCL) == 0 && in ceph_fill_inode()
2638 if (!do_sync && (issued & CEPH_CAP_FILE_EXCL)) { in __ceph_setattr()
2641 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2666 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2678 } else if (!do_sync && (issued & CEPH_CAP_FILE_EXCL) && attr->ia_size >= isize) { in __ceph_setattr()
2683 dirtied |= CEPH_CAP_FILE_EXCL; in __ceph_setattr()
2689 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2715 if (!do_sync && (issued & CEPH_CAP_FILE_EXCL)) { in __ceph_setattr()
[all …]
Ddir.c422 req->r_inode_drop = CEPH_CAP_FILE_EXCL; in ceph_readdir()
960 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mknod()
1079 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_symlink()
1159 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_mkdir()
1221 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_link()
1295 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_UNLINK; in get_caps_for_async_unlink()
1392 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_unlink()
1501 req->r_old_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_rename()
1503 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_rename()
Dcaps.c1011 used |= CEPH_CAP_FILE_EXCL; in __ceph_caps_used()
1041 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in __ceph_caps_file_wanted()
1087 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
1091 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
2086 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in ceph_check_caps()
2789 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2932 (need & (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_EXCL))) { in try_get_cap_refs()
3029 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3263 if (had & CEPH_CAP_FILE_EXCL) in __ceph_put_cap_refs()
4886 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.c511 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE; in try_prep_async_create()
888 req->r_dentry_unless = CEPH_CAP_FILE_EXCL; in ceph_atomic_open()
/linux-6.12.1/include/linux/ceph/
Dceph_fs.h688 #define CEPH_CAP_FILE_EXCL (CEPH_CAP_GEXCL << CEPH_CAP_SFILE) macro
731 CEPH_CAP_FILE_EXCL)
735 CEPH_CAP_FILE_EXCL)