/Linux-v5.15/fs/configfs/ |
D | inode.c | 56 sd_iattr->ia_gid = GLOBAL_ROOT_GID; in configfs_setattr() 70 sd_iattr->ia_gid = iattr->ia_gid; in configfs_setattr() 99 inode->i_gid = iattr->ia_gid; in set_inode_attr()
|
/Linux-v5.15/fs/ |
D | attr.c | 121 if ((ia_valid & ATTR_GID) && !chgrp_ok(mnt_userns, inode, attr->ia_gid)) in setattr_prepare() 129 if (!in_group_p((ia_valid & ATTR_GID) ? attr->ia_gid : in setattr_prepare() 234 inode->i_gid = attr->ia_gid; in setattr_copy() 389 !kgid_has_mapping(inode->i_sb->s_user_ns, attr->ia_gid)) in notify_change()
|
/Linux-v5.15/fs/kernfs/ |
D | inode.c | 43 kn->iattr->ia_gid = GLOBAL_ROOT_GID; in __kernfs_iattrs() 80 attrs->ia_gid = iattr->ia_gid; in __kernfs_setattr() 159 inode->i_gid = attrs->ia_gid; in set_inode_attr()
|
D | kernfs-internal.h | 24 kgid_t ia_gid; member
|
D | symlink.c | 36 gid = target->iattr->ia_gid; in kernfs_create_link()
|
/Linux-v5.15/fs/hostfs/ |
D | hostfs.h | 49 gid_t ia_gid; member
|
D | hostfs_user.c | 218 if (fchown(fd, -1, attrs->ia_gid)) in set_attr() 220 } else if (chown(file, -1, attrs->ia_gid)) { in set_attr()
|
D | hostfs_kern.c | 819 attrs.ia_gid = from_kgid(&init_user_ns, attr->ia_gid); in hostfs_setattr()
|
/Linux-v5.15/drivers/base/ |
D | devtmpfs.c | 222 newattrs.ia_gid = gid; in handle_create() 328 newattrs.ia_gid = GLOBAL_ROOT_GID; in handle_remove()
|
/Linux-v5.15/fs/jfs/ |
D | file.c | 104 (iattr->ia_valid & ATTR_GID && !gid_eq(iattr->ia_gid, inode->i_gid))) { in jfs_setattr()
|
/Linux-v5.15/fs/coda/ |
D | coda_linux.c | 191 vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); in coda_iattr_to_vattr()
|
/Linux-v5.15/fs/nfsd/ |
D | nfsxdr.c | 161 iap->ia_gid = make_kgid(nfsd_user_namespace(rqstp), tmp1); in svcxdr_decode_sattr() 162 if (gid_valid(iap->ia_gid)) in svcxdr_decode_sattr()
|
/Linux-v5.15/fs/udf/ |
D | file.c | 274 !gid_eq(attr->ia_gid, UDF_SB(sb)->s_gid)) in udf_setattr()
|
/Linux-v5.15/fs/adfs/ |
D | inode.c | 311 (ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, ADFS_SB(sb)->s_gid))) in adfs_notify_change()
|
/Linux-v5.15/fs/jffs2/ |
D | fs.c | 107 from_kgid(&init_user_ns, iattr->ia_gid):i_gid_read(inode)); in jffs2_do_setattr() 388 iattr.ia_gid = inode->i_gid; in jffs2_dirty_inode()
|
/Linux-v5.15/include/linux/ |
D | quotaops.h | 27 (ia->ia_valid & ATTR_GID && !gid_eq(ia->ia_gid, inode->i_gid)); in is_quota_modification()
|
/Linux-v5.15/fs/f2fs/ |
D | recovery.c | 254 attr.ia_gid = make_kgid(inode->i_sb->s_user_ns, i_gid); in recover_quota_data() 258 if (!gid_eq(attr.ia_gid, inode->i_gid)) in recover_quota_data()
|
/Linux-v5.15/fs/sysfs/ |
D | group.c | 526 .ia_gid = kgid, in sysfs_group_change_owner()
|
/Linux-v5.15/fs/ocfs2/ |
D | ocfs2_trace.h | 1411 unsigned int ia_uid, unsigned int ia_gid), 1413 ia_valid, ia_mode, ia_uid, ia_gid), 1423 __field(unsigned int, ia_gid) 1434 __entry->ia_gid = ia_gid; 1439 __entry->ia_uid, __entry->ia_gid)
|
D | file.c | 1133 from_kgid(&init_user_ns, attr->ia_gid)); in ocfs2_setattr() 1220 (attr->ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, inode->i_gid))) { in ocfs2_setattr() 1236 if (attr->ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, inode->i_gid) in ocfs2_setattr() 1239 transfer_to[GRPQUOTA] = dqget(sb, make_kqid_gid(attr->ia_gid)); in ocfs2_setattr()
|
/Linux-v5.15/fs/exfat/ |
D | file.c | 319 !gid_eq(attr->ia_gid, sbi->options.fs_gid)) || in exfat_setattr()
|
/Linux-v5.15/fs/hpfs/ |
D | inode.c | 273 from_kgid(&init_user_ns, attr->ia_gid) >= 0x10000) in hpfs_setattr()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_iops.c | 727 gid = iattr->ia_gid; in xfs_setattr_nonsize() 763 gid = (mask & ATTR_GID) ? iattr->ia_gid : igid; in xfs_setattr_nonsize()
|
/Linux-v5.15/fs/ceph/ |
D | inode.c | 2053 from_kgid(&init_user_ns, attr->ia_gid)); in __ceph_setattr() 2055 inode->i_gid = attr->ia_gid; in __ceph_setattr() 2058 !gid_eq(attr->ia_gid, inode->i_gid)) { in __ceph_setattr() 2060 from_kgid(&init_user_ns, attr->ia_gid)); in __ceph_setattr()
|
/Linux-v5.15/fs/fat/ |
D | file.c | 513 (!gid_eq(attr->ia_gid, sbi->options.fs_gid))) || in fat_setattr()
|