Home
last modified time | relevance | path

Searched refs:CEPH_CAP_FILE_SHARED (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/include/linux/ceph/
Dceph_fs.h687 #define CEPH_CAP_FILE_SHARED (CEPH_CAP_GSHARED << CEPH_CAP_SFILE) macro
707 #define CEPH_STAT_CAP_LAYOUT CEPH_CAP_FILE_SHARED
708 #define CEPH_STAT_CAP_MTIME CEPH_CAP_FILE_SHARED
709 #define CEPH_STAT_CAP_SIZE CEPH_CAP_FILE_SHARED
710 #define CEPH_STAT_CAP_ATIME CEPH_CAP_FILE_SHARED /* fixme */
715 CEPH_CAP_FILE_SHARED | \
717 #define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \
724 CEPH_CAP_FILE_SHARED)
733 CEPH_CAP_FILE_SHARED)
/linux-6.12.1/fs/ceph/
Dutil.c89 caps |= CEPH_CAP_FILE_SHARED | in ceph_caps_for_mode()
Ddir.c371 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_readdir()
838 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_lookup()
958 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_mknod()
1077 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_symlink()
1157 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_mkdir()
1220 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_link()
1391 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_unlink()
1500 req->r_old_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_rename()
1502 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_rename()
1893 __ceph_caps_issued_mask(ci, CEPH_CAP_FILE_SHARED, 0)) in __dir_lease_try_check()
[all …]
Dioctl.c116 req->r_inode_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL; in ceph_ioctl_set_layout()
312 ret = ceph_get_caps(file, CEPH_CAP_FILE_SHARED, 0, -1, &got); in ceph_set_encryption_policy()
Dinode.c1092 if (new_version || (info_caps & CEPH_CAP_FILE_SHARED)) { in ceph_fill_inode()
1271 (info_caps & CEPH_CAP_FILE_SHARED) && in ceph_fill_inode()
1682 CEPH_CAP_FILE_SHARED); in ceph_fill_trace()
2647 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2652 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
2666 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2686 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2689 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2723 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2728 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
[all …]
Dcaps.c603 if ((issued & CEPH_CAP_FILE_SHARED) != (had & CEPH_CAP_FILE_SHARED)) { in __check_cap_issue()
604 if (issued & CEPH_CAP_FILE_SHARED) in __check_cap_issue()
2075 (issued & CEPH_CAP_FILE_SHARED) && in ceph_check_caps()
3029 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3647 if ((newcaps & CEPH_CAP_FILE_SHARED) && extra_info->dirstat_valid) { in handle_cap_grant()
4887 drop &= ~CEPH_CAP_FILE_SHARED; in ceph_encode_inode_release()
Dfile.c886 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_atomic_open()
2764 CEPH_CAP_FILE_RD, CEPH_CAP_FILE_SHARED, in get_rd_wr_caps()
2776 CEPH_CAP_FILE_SHARED, -1, src_got); in get_rd_wr_caps()
Dxattr.c991 mask |= CEPH_CAP_FILE_SHARED; in __ceph_getxattr()