Home
last modified time | relevance | path

Searched refs:i_gid (Results 1 – 25 of 93) sorted by relevance

1234

/fs/autofs4/
Dinode.c85 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/
Dattr.c59 (!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()
Dstack.c67 dest->i_gid = src->i_gid; in fsstack_copy_attr_all()
Dposix_acl.c235 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/
Dnamei.c95 !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()
Dinode.c19 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/
Dinode.c109 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/
Dinode.c60 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/
Ddir.c347 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/
Dinode.c89 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/
Dinode.c477 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/
Dnamei.c47 inode->i_gid = dir->i_gid; in f2fs_new_inode()
51 inode->i_gid = current_fsgid(); in f2fs_new_inode()
Dinode.c64 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/
Dquota.h50 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid); in gfs2_quota_lock_check()
/fs/proc/
Dfd.c105 inode->i_gid = cred->egid; in tid_fd_revalidate()
109 inode->i_gid = GLOBAL_ROOT_GID; in tid_fd_revalidate()
Dself.c70 inode->i_gid = GLOBAL_ROOT_GID; in proc_setup_self()
/fs/sdcardfs/
Dinode.c619 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/
Dinode.c2901 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/
Dcommon.h174 __le32 i_gid; /* Group Id */ member
/fs/sysv/
Dinode.c207 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/
Dinode.c81 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/
Dinode.c338 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/
Dinode.c1315 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/
Djfs_inode.c107 jfs_inode->saved_gid = inode->i_gid; in ialloc()
/fs/afs/
Dinode.c72 inode->i_gid = GLOBAL_ROOT_GID; in afs_inode_map_status()
179 inode->i_gid = GLOBAL_ROOT_GID; in afs_iget_autocell()

1234