Home
last modified time | relevance | path

Searched refs:ia_gid (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/fs/configfs/
Dinode.c63 sd_iattr->ia_gid = GLOBAL_ROOT_GID; in configfs_setattr()
77 sd_iattr->ia_gid = iattr->ia_gid; in configfs_setattr()
106 inode->i_gid = iattr->ia_gid; in set_inode_attr()
/kernel/linux/linux-5.10/fs/
Dattr.c85 if ((ia_valid & ATTR_GID) && !chgrp_ok(inode, attr->ia_gid)) in setattr_prepare()
93 if (!in_group_p((ia_valid & ATTR_GID) ? attr->ia_gid : in setattr_prepare()
187 inode->i_gid = attr->ia_gid; in setattr_copy()
319 !kgid_has_mapping(inode->i_sb->s_user_ns, attr->ia_gid)) in notify_change()
/kernel/linux/linux-5.10/fs/kernfs/
Dinode.c49 kn->iattr->ia_gid = GLOBAL_ROOT_GID; in __kernfs_iattrs()
86 attrs->ia_gid = iattr->ia_gid; in __kernfs_setattr()
164 inode->i_gid = attrs->ia_gid; in set_inode_attr()
Dkernfs-internal.h23 kgid_t ia_gid; member
Dsymlink.c36 gid = target->iattr->ia_gid; in kernfs_create_link()
/kernel/linux/linux-5.10/fs/hostfs/
Dhostfs.h49 gid_t ia_gid; member
Dhostfs_user.c218 if (fchown(fd, -1, attrs->ia_gid)) in set_attr()
220 } else if (chown(file, -1, attrs->ia_gid)) { in set_attr()
Dhostfs_kern.c812 attrs.ia_gid = from_kgid(&init_user_ns, attr->ia_gid); in hostfs_setattr()
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c228 newattrs.ia_gid = gid; in handle_create()
333 newattrs.ia_gid = GLOBAL_ROOT_GID; in handle_remove()
/kernel/linux/linux-5.10/fs/jfs/
Dfile.c103 (iattr->ia_valid & ATTR_GID && !gid_eq(iattr->ia_gid, inode->i_gid))) { in jfs_setattr()
/kernel/linux/linux-5.10/fs/coda/
Dcoda_linux.c191 vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); in coda_iattr_to_vattr()
/kernel/linux/linux-5.10/fs/udf/
Dfile.c272 !gid_eq(attr->ia_gid, UDF_SB(sb)->s_gid)) in udf_setattr()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsxdr.c94 iap->ia_gid = make_kgid(userns, tmp); in decode_sattr()
95 if (gid_valid(iap->ia_gid)) in decode_sattr()
/kernel/linux/linux-5.10/fs/adfs/
Dinode.c309 (ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, ADFS_SB(sb)->s_gid))) in adfs_notify_change()
/kernel/linux/linux-5.10/fs/jffs2/
Dfs.c107 from_kgid(&init_user_ns, iattr->ia_gid):i_gid_read(inode)); in jffs2_do_setattr()
387 iattr.ia_gid = inode->i_gid; in jffs2_dirty_inode()
/kernel/linux/linux-5.10/include/linux/
Dquotaops.h27 (ia->ia_valid & ATTR_GID && !gid_eq(ia->ia_gid, inode->i_gid)); in is_quota_modification()
/kernel/linux/linux-5.10/fs/f2fs/
Drecovery.c239 attr.ia_gid = make_kgid(inode->i_sb->s_user_ns, i_gid); in recover_quota_data()
243 if (!gid_eq(attr.ia_gid, inode->i_gid)) in recover_quota_data()
/kernel/linux/linux-5.10/fs/sysfs/
Dgroup.c526 .ia_gid = kgid, in sysfs_group_change_owner()
/kernel/linux/linux-5.10/fs/exfat/
Dfile.c316 !gid_eq(attr->ia_gid, sbi->options.fs_gid)) || in exfat_setattr()
/kernel/linux/linux-5.10/fs/ocfs2/
Docfs2_trace.h1411 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)
Dfile.c1138 from_kgid(&init_user_ns, attr->ia_gid)); in ocfs2_setattr()
1225 (attr->ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, inode->i_gid))) { in ocfs2_setattr()
1241 if (attr->ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, inode->i_gid) in ocfs2_setattr()
1244 transfer_to[GRPQUOTA] = dqget(sb, make_kqid_gid(attr->ia_gid)); in ocfs2_setattr()
/kernel/linux/linux-5.10/fs/hpfs/
Dinode.c272 from_kgid(&init_user_ns, attr->ia_gid) >= 0x10000) in hpfs_setattr()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_iops.c687 gid = iattr->ia_gid; in xfs_setattr_nonsize()
725 gid = (mask & ATTR_GID) ? iattr->ia_gid : igid; in xfs_setattr_nonsize()
/kernel/linux/linux-5.10/fs/ceph/
Dinode.c2092 from_kgid(&init_user_ns, attr->ia_gid)); in __ceph_setattr()
2094 inode->i_gid = attr->ia_gid; in __ceph_setattr()
2097 !gid_eq(attr->ia_gid, inode->i_gid)) { in __ceph_setattr()
2099 from_kgid(&init_user_ns, attr->ia_gid)); in __ceph_setattr()
/kernel/linux/linux-5.10/fs/fat/
Dfile.c511 (!gid_eq(attr->ia_gid, sbi->options.fs_gid))) || in fat_setattr()

123