Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/ceph/
Dceph_fs.h612 #define CEPH_CAP_FILE_SHARED (CEPH_CAP_GSHARED << CEPH_CAP_SFILE) macro
632 #define CEPH_STAT_CAP_LAYOUT CEPH_CAP_FILE_SHARED
633 #define CEPH_STAT_CAP_MTIME CEPH_CAP_FILE_SHARED
634 #define CEPH_STAT_CAP_SIZE CEPH_CAP_FILE_SHARED
635 #define CEPH_STAT_CAP_ATIME CEPH_CAP_FILE_SHARED /* fixme */
640 CEPH_CAP_FILE_SHARED | \
642 #define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \
649 CEPH_CAP_FILE_SHARED)
658 CEPH_CAP_FILE_SHARED)
/kernel/linux/linux-5.10/fs/ceph/
Ddir.c352 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_readdir()
774 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_lookup()
871 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_mknod()
932 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_symlink()
994 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_mkdir()
1037 req->r_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_link()
1157 req->r_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_unlink()
1233 req->r_old_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_rename()
1235 req->r_dentry_drop = CEPH_CAP_FILE_SHARED; in ceph_rename()
1622 __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.c859 if (new_version || (info_caps & CEPH_CAP_FILE_SHARED)) { in ceph_fill_inode()
994 (info_caps & CEPH_CAP_FILE_SHARED) && in ceph_fill_inode()
1381 CEPH_CAP_FILE_SHARED); in ceph_fill_trace()
2132 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2137 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
2151 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2157 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2174 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2179 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
2360 mask |= CEPH_CAP_FILE_SHARED; in statx_to_caps()
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()
1965 (issued & CEPH_CAP_FILE_SHARED) && in ceph_check_caps()
2915 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3466 if ((newcaps & CEPH_CAP_FILE_SHARED) && extra_info->dirstat_valid) { in handle_cap_grant()
4537 drop &= ~CEPH_CAP_FILE_SHARED; in ceph_encode_inode_release()
Dfile.c747 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL; in ceph_atomic_open()
2173 CEPH_CAP_FILE_RD, CEPH_CAP_FILE_SHARED, in get_rd_wr_caps()
2185 CEPH_CAP_FILE_SHARED, -1, src_got, NULL); in get_rd_wr_caps()