Searched refs:vfsgid (Results 1 – 12 of 12) sorted by relevance
/fs/ |
D | attr.c | 128 vfsgid_t vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in chgrp_ok() local 131 if (vfsgid_eq(ia_vfsgid, vfsgid)) in chgrp_ok() 138 if (!vfsgid_valid(vfsgid) && in chgrp_ok() 197 vfsgid_t vfsgid; in setattr_prepare() local 203 vfsgid = attr->ia_vfsgid; in setattr_prepare() 205 vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in setattr_prepare() 208 if (!in_group_or_capable(mnt_userns, inode, vfsgid)) in setattr_prepare()
|
D | posix_acl.c | 368 vfsgid_t vfsgid; in posix_acl_permission() local 387 vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in posix_acl_permission() 388 if (vfsgid_in_group_p(vfsgid)) { in posix_acl_permission() 395 vfsgid = make_vfsgid(mnt_userns, fs_userns, in posix_acl_permission() 397 if (vfsgid_in_group_p(vfsgid)) { in posix_acl_permission() 744 vfsgid_t vfsgid; in posix_acl_getxattr_idmapped_mnt() local 765 vfsgid = make_vfsgid(mnt_userns, fs_userns, gid); in posix_acl_getxattr_idmapped_mnt() 767 vfsgid_into_kgid(vfsgid))); in posix_acl_getxattr_idmapped_mnt()
|
D | internal.h | 155 const struct inode *inode, vfsgid_t vfsgid);
|
D | inode.c | 2535 const struct inode *inode, vfsgid_t vfsgid) in in_group_or_capable() argument 2537 if (vfsgid_in_group_p(vfsgid)) in in_group_or_capable()
|
/fs/smb/server/ |
D | smbacl.h | 229 vfsgid_t vfsgid; in posix_acl_gid_translate() local 232 vfsgid = make_vfsgid(mnt_userns, &init_user_ns, pace->e_gid); in posix_acl_gid_translate() 235 return from_kgid(&init_user_ns, vfsgid_into_kgid(vfsgid)); in posix_acl_gid_translate()
|
D | ndr.c | 349 vfsgid_t vfsgid; in ndr_encode_posix_acl() local 381 vfsgid = i_gid_into_vfsgid(user_ns, inode); in ndr_encode_posix_acl() 382 ret = ndr_write_int64(n, from_kgid(&init_user_ns, vfsgid_into_kgid(vfsgid))); in ndr_encode_posix_acl()
|
D | oplock.c | 1711 vfsgid_t vfsgid = i_gid_into_vfsgid(user_ns, inode); in create_posix_rsp_buf() local 1755 id_to_sid(from_kgid_munged(&init_user_ns, vfsgid_into_kgid(vfsgid)), in create_posix_rsp_buf()
|
D | smb2pdu.c | 2628 vfsgid_t vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in ksmbd_acls_fattr() local 2631 fattr->cf_gid = vfsgid_into_kgid(vfsgid); in ksmbd_acls_fattr() 4852 vfsgid_t vfsgid = i_gid_into_vfsgid(user_ns, inode); in find_file_posix_info() local 4879 id_to_sid(from_kgid_munged(&init_user_ns, vfsgid_into_kgid(vfsgid)), in find_file_posix_info()
|
/fs/xfs/ |
D | xfs_itable.c | 70 vfsgid_t vfsgid; in xfs_bulkstat_one_int() local 87 vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in xfs_bulkstat_one_int() 95 buf->bs_gid = from_kgid(sb_userns, vfsgid_into_kgid(vfsgid)); in xfs_bulkstat_one_int()
|
D | xfs_iops.c | 562 vfsgid_t vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in xfs_vn_getattr() local 574 stat->gid = vfsgid_into_kgid(vfsgid); in xfs_vn_getattr()
|
/fs/overlayfs/ |
D | inode.c | 470 vfsgid_t vfsgid; in ovl_idmap_posix_acl() local 479 vfsgid = make_vfsgid(mnt_userns, fs_userns, e->e_gid); in ovl_idmap_posix_acl() 480 e->e_gid = vfsgid_into_kgid(vfsgid); in ovl_idmap_posix_acl()
|
/fs/f2fs/ |
D | file.c | 925 vfsgid_t vfsgid = i_gid_into_vfsgid(mnt_userns, inode); in __setattr_copy() local 927 if (!vfsgid_in_group_p(vfsgid) && in __setattr_copy()
|