Home
last modified time | relevance | path

Searched refs:ATTR_GID (Results 1 – 25 of 65) sorted by relevance

123

/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()
186 if (ia_valid & ATTR_GID) in setattr_copy()
235 if (ia_valid & (ATTR_MODE | ATTR_UID | ATTR_GID | ATTR_TIMES_SET)) { in notify_change()
318 if (ia_valid & ATTR_GID && in notify_change()
327 if (!(ia_valid & ATTR_GID) && !gid_valid(inode->i_gid)) in notify_change()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_iops.c677 if (XFS_IS_QUOTA_ON(mp) && (mask & (ATTR_UID|ATTR_GID))) { in xfs_setattr_nonsize()
686 if ((mask & ATTR_GID) && XFS_IS_GQUOTA_ON(mp)) { in xfs_setattr_nonsize()
716 if (mask & (ATTR_UID|ATTR_GID)) { in xfs_setattr_nonsize()
725 gid = (mask & ATTR_GID) ? iattr->ia_gid : igid; in xfs_setattr_nonsize()
770 ASSERT(mask & ATTR_GID); in xfs_setattr_nonsize()
867 ASSERT((iattr->ia_valid & (ATTR_UID|ATTR_GID|ATTR_ATIME|ATTR_ATIME_SET| in xfs_setattr_size()
/kernel/linux/linux-5.10/security/integrity/evm/
Devm_main.c491 if (!(ia_valid & (ATTR_MODE | ATTR_UID | ATTR_GID))) in evm_inode_setattr()
519 if (ia_valid & (ATTR_MODE | ATTR_UID | ATTR_GID)) in evm_inode_post_setattr()
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c229 newattrs.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID; in handle_create()
336 ATTR_UID|ATTR_GID|ATTR_MODE; 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.c190 if ( valid & ATTR_GID ) { in coda_iattr_to_vattr()
/kernel/linux/linux-5.10/fs/configfs/
Dinode.c76 if (ia_valid & ATTR_GID) in configfs_setattr()
/kernel/linux/linux-5.10/include/linux/
Dfsnotify.h336 if (ia_valid & ATTR_GID) in fsnotify_change()
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/udf/
Dfile.c270 if ((attr->ia_valid & ATTR_GID) && in udf_setattr()
/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.c106 ri->gid = cpu_to_je16((ivalid & ATTR_GID)? in jffs2_do_setattr()
384 iattr.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID|ATTR_ATIME|ATTR_MTIME|ATTR_CTIME; in jffs2_dirty_inode()
/kernel/linux/linux-5.10/fs/kernfs/
Dinode.c85 if (ia_valid & ATTR_GID) in __kernfs_setattr()
/kernel/linux/linux-5.10/fs/sysfs/
Dgroup.c524 .ia_valid = ATTR_UID | ATTR_GID, in sysfs_group_change_owner()
Dfile.c568 .ia_valid = ATTR_UID | ATTR_GID, in internal_change_owner()
/kernel/linux/linux-5.10/fs/exfat/
Dfile.c315 ((attr->ia_valid & ATTR_GID) && in exfat_setattr()
/kernel/linux/linux-5.10/fs/9p/
Dvfs_inode_dotl.c518 { ATTR_GID, P9_ATTR_GID }, in v9fs_mapped_iattr_valid()
561 if (iattr->ia_valid & ATTR_GID) in v9fs_vfs_setattr_dotl()
/kernel/linux/linux-5.10/fs/hpfs/
Dinode.c271 if ((attr->ia_valid & ATTR_GID) && in hpfs_setattr()
/kernel/linux/linux-5.10/fs/affs/
Dinode.c232 ((attr->ia_valid & ATTR_GID) && in affs_notify_change()
/kernel/linux/linux-5.10/fs/fat/
Dfile.c510 ((attr->ia_valid & ATTR_GID) && in fat_setattr()
/kernel/linux/linux-5.10/fs/nfs/
Dinode.c610 #define NFS_VALID_ATTRS (ATTR_MODE|ATTR_UID|ATTR_GID|ATTR_SIZE|ATTR_ATIME|ATTR_ATIME_SET|ATTR_MTIME…
717 if ((attr->ia_valid & (ATTR_MODE|ATTR_UID|ATTR_GID)) != 0) { in nfs_setattr_update_inode()
726 if ((attr->ia_valid & ATTR_GID) != 0) in nfs_setattr_update_inode()
/kernel/linux/linux-5.10/fs/orangefs/
Dorangefs-utils.c149 if (orangefs_inode->attr_valid & ATTR_GID) { in copy_attributes_from_inode()
/kernel/linux/linux-5.10/fs/cifs/
Dinode.c2669 if (attrs->ia_valid & ATTR_GID)
2816 if (attrs->ia_valid & ATTR_GID)
2832 attrs->ia_valid &= ~(ATTR_UID | ATTR_GID);
2894 (ATTR_MODE | ATTR_GID | ATTR_UID | ATTR_SIZE)))
/kernel/linux/linux-5.10/fs/debugfs/
Dinode.c49 if (ia->ia_valid & (ATTR_MODE | ATTR_UID | ATTR_GID)) { in debugfs_setattr()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsxdr.c96 iap->ia_valid |= ATTR_GID; in decode_sattr()

123