Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/ceph/
Dceph_fs.h654 #define CEPH_CAP_FILE_SHARED (CEPH_CAP_GSHARED << CEPH_CAP_SFILE) macro
674 #define CEPH_STAT_CAP_LAYOUT CEPH_CAP_FILE_SHARED
675 #define CEPH_STAT_CAP_MTIME CEPH_CAP_FILE_SHARED
676 #define CEPH_STAT_CAP_SIZE CEPH_CAP_FILE_SHARED
677 #define CEPH_STAT_CAP_ATIME CEPH_CAP_FILE_SHARED /* fixme */
682 CEPH_CAP_FILE_SHARED | \
684 #define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \
691 CEPH_CAP_FILE_SHARED)
700 CEPH_CAP_FILE_SHARED)
/Linux-v5.15/fs/ceph/
Ddir.c352 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_readdir()
767 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_lookup()
876 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_mknod()
939 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_symlink()
1003 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_mkdir()
1047 req->r_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_link()
1168 req->r_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_unlink()
1244 req->r_old_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_rename()
1246 req->r_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_rename()
1631 __ceph_caps_issued_mask(ci, CEPH_CAP_FILE_SHARED, 0)) in __dir_lease_try_check()
[all …]
Dutil.c89 caps |= CEPH_CAP_FILE_SHARED | in ceph_caps_for_mode()
Dinode.c884 if (new_version || (info_caps & CEPH_CAP_FILE_SHARED)) { in ceph_fill_inode()
1020 (info_caps & CEPH_CAP_FILE_SHARED) && in ceph_fill_inode()
1402 CEPH_CAP_FILE_SHARED); in ceph_fill_trace()
2093 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2098 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
2112 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2117 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2134 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2139 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
2323 mask |= CEPH_CAP_FILE_SHARED; in statx_to_caps()
[all …]
Dioctl.c115 req->r_inode_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL; in ceph_ioctl_set_layout()
Dcaps.c583 if ((issued & CEPH_CAP_FILE_SHARED) != (had & CEPH_CAP_FILE_SHARED)) { in __check_cap_issue()
584 if (issued & CEPH_CAP_FILE_SHARED) in __check_cap_issue()
1944 (issued & CEPH_CAP_FILE_SHARED) && in ceph_check_caps()
2832 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3410 if ((newcaps & CEPH_CAP_FILE_SHARED) && extra_info->dirstat_valid) { in handle_cap_grant()
4477 drop &= ~CEPH_CAP_FILE_SHARED; in ceph_encode_inode_release()
Dfile.c713 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_atomic_open()
2138 CEPH_CAP_FILE_RD, CEPH_CAP_FILE_SHARED, in get_rd_wr_caps()
2150 CEPH_CAP_FILE_SHARED, -1, src_got); in get_rd_wr_caps()
Dxattr.c937 mask |= CEPH_CAP_FILE_SHARED; in __ceph_getxattr()