Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dutil.c92 caps |= CEPH_CAP_FILE_EXCL | in ceph_caps_for_mode()
H A 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 …]
H A 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()
H A Dcaps.c997 used |= CEPH_CAP_FILE_EXCL; in __ceph_caps_used()
1027 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in __ceph_caps_file_wanted()
1073 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
1077 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted()
2072 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in ceph_check_caps()
2775 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2918 (need & (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_EXCL))) { in try_get_cap_refs()
3015 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3249 if (had & CEPH_CAP_FILE_EXCL) in __ceph_put_cap_refs()
4871 if (unless & CEPH_CAP_FILE_EXCL) in ceph_encode_inode_release()
H A Dioctl.c116 req->r_inode_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL; in ceph_ioctl_set_layout()
H A 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/include/linux/ceph/
H A 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)