Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/ceph/
Dceph_fs.h679 #define CEPH_CAP_FILE_SHARED (CEPH_CAP_GSHARED << CEPH_CAP_SFILE) macro
699 #define CEPH_STAT_CAP_LAYOUT CEPH_CAP_FILE_SHARED
700 #define CEPH_STAT_CAP_MTIME CEPH_CAP_FILE_SHARED
701 #define CEPH_STAT_CAP_SIZE CEPH_CAP_FILE_SHARED
702 #define CEPH_STAT_CAP_ATIME CEPH_CAP_FILE_SHARED /* fixme */
707 CEPH_CAP_FILE_SHARED | \
709 #define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \
716 CEPH_CAP_FILE_SHARED)
725 CEPH_CAP_FILE_SHARED)
/linux-6.6.21/fs/ceph/
Ddir.c359 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_readdir()
812 __ceph_caps_issued_mask_metric(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_lookup()
929 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_mknod()
1045 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_symlink()
1121 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_mkdir()
1183 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_link()
1322 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_unlink()
1429 req->r_old_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_rename()
1431 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_XATTR_EXCL; in ceph_rename()
1816 __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()
Dioctl.c116 req->r_inode_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL; in ceph_ioctl_set_layout()
309 ret = ceph_get_caps(file, CEPH_CAP_FILE_SHARED, 0, -1, &got); in ceph_set_encryption_policy()
Dinode.c1064 if (new_version || (info_caps & CEPH_CAP_FILE_SHARED)) { in ceph_fill_inode()
1239 (info_caps & CEPH_CAP_FILE_SHARED) && in ceph_fill_inode()
1649 CEPH_CAP_FILE_SHARED); in ceph_fill_trace()
2566 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2571 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
2584 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2604 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2607 release |= CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in __ceph_setattr()
2639 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2644 release |= CEPH_CAP_FILE_SHARED | in __ceph_setattr()
[all …]
Dcaps.c585 if ((issued & CEPH_CAP_FILE_SHARED) != (had & CEPH_CAP_FILE_SHARED)) { in __check_cap_issue()
586 if (issued & CEPH_CAP_FILE_SHARED) in __check_cap_issue()
2020 (issued & CEPH_CAP_FILE_SHARED) && in ceph_check_caps()
2940 CEPH_CAP_FILE_SHARED | CEPH_CAP_FILE_EXCL | in ceph_try_get_caps()
3549 if ((newcaps & CEPH_CAP_FILE_SHARED) && extra_info->dirstat_valid) { in handle_cap_grant()
4723 drop &= ~CEPH_CAP_FILE_SHARED; in ceph_encode_inode_release()
Dfile.c802 req->r_dentry_drop = CEPH_CAP_FILE_SHARED | CEPH_CAP_AUTH_EXCL | in ceph_atomic_open()
2653 CEPH_CAP_FILE_RD, CEPH_CAP_FILE_SHARED, in get_rd_wr_caps()
2665 CEPH_CAP_FILE_SHARED, -1, src_got); in get_rd_wr_caps()
Dxattr.c981 mask |= CEPH_CAP_FILE_SHARED; in __ceph_getxattr()