/fs/autofs4/ |
D | inode.c | 85 if (!gid_eq(root_inode->i_gid, GLOBAL_ROOT_GID)) in autofs4_show_options() 87 from_kgid_munged(&init_user_ns, root_inode->i_gid)); in autofs4_show_options() 262 if (parse_options(data, &pipefd, &root_inode->i_uid, &root_inode->i_gid, in autofs4_fill_super() 340 inode->i_gid = sb->s_root->d_inode->i_gid; in autofs4_get_inode()
|
/fs/ |
D | attr.c | 59 (!in_group_p(attr->ia_gid) && !gid_eq(attr->ia_gid, inode->i_gid))) && in inode_change_ok() 69 inode->i_gid) && in inode_change_ok() 149 inode->i_gid = attr->ia_gid; in setattr_copy() 162 if (!in_group_p(inode->i_gid) && in setattr_copy()
|
D | stack.c | 67 dest->i_gid = src->i_gid; in fsstack_copy_attr_all()
|
D | posix_acl.c | 235 if (in_group_p(inode->i_gid)) { in posix_acl_permission() 361 if (!in_group_p(inode->i_gid) && in posix_acl_update_mode()
|
/fs/hpfs/ |
D | namei.c | 95 !gid_eq(result->i_gid, current_fsgid()) || in hpfs_mkdir() 98 result->i_gid = current_fsgid(); in hpfs_mkdir() 183 !gid_eq(result->i_gid, current_fsgid()) || in hpfs_create() 186 result->i_gid = current_fsgid(); in hpfs_create() 244 result->i_gid = current_fsgid(); in hpfs_mknod() 319 result->i_gid = current_fsgid(); in hpfs_symlink()
|
D | inode.c | 19 i->i_gid = hpfs_sb(sb)->sb_gid; in hpfs_init_inode() 158 if (!gid_eq(i->i_gid, hpfs_sb(i->i_sb)->sb_gid) || hpfs_inode->i_ea_gid) { in hpfs_write_inode_ea()
|
/fs/configfs/ |
D | inode.c | 109 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in configfs_setattr() 127 inode->i_gid = iattr->ia_gid; in set_inode_attr()
|
/fs/squashfs/ |
D | inode.c | 60 gid_t i_gid; in squashfs_new_inode() local 67 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->guid), &i_gid); in squashfs_new_inode() 72 i_gid_write(inode, i_gid); in squashfs_new_inode()
|
/fs/cifs/ |
D | dir.c | 347 args.gid = inode->i_gid; in cifs_do_create() 383 newinode->i_gid = inode->i_gid; in cifs_do_create() 385 newinode->i_gid = current_fsgid(); in cifs_do_create()
|
/fs/affs/ |
D | inode.c | 89 inode->i_gid = sbi->s_gid; in affs_iget() 98 inode->i_gid = sbi->s_gid; in affs_iget() 308 inode->i_gid = current_fsgid(); in affs_new_inode()
|
/fs/minix/ |
D | inode.c | 477 i_gid_write(inode, raw_inode->i_gid); in V1_minix_iget() 510 i_gid_write(inode, raw_inode->i_gid); in V2_minix_iget() 562 raw_inode->i_gid = fs_high2lowgid(i_gid_read(inode)); in V1_minix_update_inode() 589 raw_inode->i_gid = fs_high2lowgid(i_gid_read(inode)); in V2_minix_update_inode()
|
/fs/f2fs/ |
D | namei.c | 47 inode->i_gid = dir->i_gid; in f2fs_new_inode() 51 inode->i_gid = current_fsgid(); in f2fs_new_inode()
|
D | inode.c | 64 i_gid_write(inode, le32_to_cpu(ri->i_gid)); in do_read_inode() 169 ri->i_gid = cpu_to_le32(i_gid_read(inode)); in update_inode()
|
/fs/gfs2/ |
D | quota.h | 50 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid); in gfs2_quota_lock_check()
|
/fs/proc/ |
D | fd.c | 105 inode->i_gid = cred->egid; in tid_fd_revalidate() 109 inode->i_gid = GLOBAL_ROOT_GID; in tid_fd_revalidate()
|
D | self.c | 70 inode->i_gid = GLOBAL_ROOT_GID; in proc_setup_self()
|
/fs/sdcardfs/ |
D | inode.c | 619 dest->i_gid = src->i_gid; in copy_attrs() 656 tmp.i_gid = make_kgid(&init_user_ns, get_gid(mnt, top)); in sdcardfs_permission() 733 tmp.i_gid = make_kgid(&init_user_ns, get_gid(mnt, top)); in sdcardfs_setattr()
|
/fs/ext3/ |
D | inode.c | 2901 gid_t i_gid; in ext3_iget() local 2919 i_gid = (gid_t)le16_to_cpu(raw_inode->i_gid_low); in ext3_iget() 2922 i_gid |= le16_to_cpu(raw_inode->i_gid_high) << 16; in ext3_iget() 2925 i_gid_write(inode, i_gid); in ext3_iget() 3084 gid_t i_gid; in ext3_do_update_inode() local 3098 i_gid = i_gid_read(inode); in ext3_do_update_inode() 3101 raw_inode->i_gid_low = cpu_to_le16(low_16_bits(i_gid)); in ext3_do_update_inode() 3110 cpu_to_le16(high_16_bits(i_gid)); in ext3_do_update_inode() 3119 cpu_to_le16(fs_high2lowgid(i_gid)); in ext3_do_update_inode() 3291 (ia_valid & ATTR_GID && !gid_eq(attr->ia_gid, inode->i_gid))) { in ext3_setattr() [all …]
|
/fs/exofs/ |
D | common.h | 174 __le32 i_gid; /* Group Id */ member
|
/fs/sysv/ |
D | inode.c | 207 i_gid_write(inode, (gid_t)fs16_to_cpu(sbi, raw_inode->i_gid)); in sysv_iget() 261 raw_inode->i_gid = cpu_to_fs16(sbi, fs_high2lowgid(i_gid_read(inode))); in __sysv_write_inode()
|
/fs/ceph/ |
D | inode.c | 81 inode->i_gid = parent->i_gid; in ceph_get_snapdir() 615 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(info->gid)); in fill_inode() 618 from_kgid(&init_user_ns, inode->i_gid)); in fill_inode() 1623 from_kgid(&init_user_ns, inode->i_gid), in ceph_setattr() 1626 inode->i_gid = attr->ia_gid; in ceph_setattr() 1629 !gid_eq(attr->ia_gid, inode->i_gid)) { in ceph_setattr()
|
/fs/nfs/ |
D | inode.c | 338 inode->i_gid = make_kgid(&init_user_ns, -2); in nfs_fhget() 376 inode->i_gid = fattr->gid; in nfs_fhget() 507 inode->i_gid = attr->ia_gid; in nfs_setattr_update_inode() 1015 if ((fattr->valid & NFS_ATTR_FATTR_GROUP) && !gid_eq(inode->i_gid, fattr->gid)) in nfs_check_inode_attributes() 1455 if (!gid_eq(inode->i_gid, fattr->gid)) { in nfs_update_inode() 1457 inode->i_gid = fattr->gid; in nfs_update_inode()
|
/fs/ext2/ |
D | inode.c | 1315 gid_t i_gid; in ext2_iget() local 1334 i_gid = (gid_t)le16_to_cpu(raw_inode->i_gid_low); in ext2_iget() 1337 i_gid |= le16_to_cpu(raw_inode->i_gid_high) << 16; in ext2_iget() 1340 i_gid_write(inode, i_gid); in ext2_iget() 1555 (iattr->ia_valid & ATTR_GID && !gid_eq(iattr->ia_gid, inode->i_gid))) { in ext2_setattr()
|
/fs/jfs/ |
D | jfs_inode.c | 107 jfs_inode->saved_gid = inode->i_gid; in ialloc()
|
/fs/afs/ |
D | inode.c | 72 inode->i_gid = GLOBAL_ROOT_GID; in afs_inode_map_status() 179 inode->i_gid = GLOBAL_ROOT_GID; in afs_iget_autocell()
|