Home
last modified time | relevance | path

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

1234

/linux-2.4.37.9/fs/
Dattr.c37 (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid)) && in inode_change_ok()
47 inode->i_gid) && !capable(CAP_FSETID)) in inode_change_ok()
76 inode->i_gid = attr->ia_gid; in inode_setattr()
85 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in inode_setattr()
138 (ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid)) in notify_change()
Dstat.c58 SET_OLDSTAT_GID(tmp, inode->i_gid); in cp_old_stat()
86 SET_STAT_GID(tmp, inode->i_gid); in cp_new_stat()
293 tmp.st_gid = inode->i_gid; in cp_new_stat64()
/linux-2.4.37.9/fs/affs/
Dinode.c93 inode->i_gid = AFFS_SB->s_gid; in affs_read_inode()
95 inode->i_gid = 0; in affs_read_inode()
97 inode->i_gid = id; in affs_read_inode()
102 inode->i_gid = AFFS_SB->s_gid; in affs_read_inode()
204 gid = inode->i_gid; in affs_write_inode()
208 if (inode->i_gid == 0 || inode->i_gid == 0xFFFF) in affs_write_inode()
209 gid = inode->i_gid ^ ~0; in affs_write_inode()
317 inode->i_gid = current->fsgid; in affs_new_inode()
/linux-2.4.37.9/fs/jfs/
Djfs_inode.c66 inode->i_gid = parent->i_gid; in ialloc()
70 inode->i_gid = current->fsgid; in ialloc()
/linux-2.4.37.9/fs/autofs/
Dinode.c150 …if ( parse_options(data,&pipefd,&root_inode->i_uid,&root_inode->i_gid,&sbi->oz_pgrp,&minproto,&max… in autofs_read_super()
222 inode->i_uid = inode->i_gid = 0; /* Changed in read_super */ in autofs_read_inode()
227 inode->i_gid = inode->i_sb->s_root->d_inode->i_gid; in autofs_read_inode()
/linux-2.4.37.9/fs/udf/
Dialloc.c119 inode->i_gid = dir->i_gid; in udf_new_inode()
124 inode->i_gid = current->fsgid; in udf_new_inode()
/linux-2.4.37.9/fs/minix/
Dinode.c362 inode->i_gid = (gid_t)raw_inode->i_gid; in V1_minix_read_inode()
389 inode->i_gid = (gid_t)raw_inode->i_gid; in V2_minix_read_inode()
427 raw_inode->i_gid = fs_high2lowgid(inode->i_gid); in V1_minix_update_inode()
453 raw_inode->i_gid = fs_high2lowgid(inode->i_gid); in V2_minix_update_inode()
/linux-2.4.37.9/fs/autofs4/
Dinode.c220 &root_inode->i_uid, &root_inode->i_gid, in autofs4_read_super()
304 inode->i_gid = sb->s_root->d_inode->i_gid; in autofs4_get_inode()
307 inode->i_gid = 0; in autofs4_get_inode()
/linux-2.4.37.9/fs/sysv/
Dinode.c166 inode->i_gid = (gid_t)fs16_to_cpu(sb, raw_inode->i_gid); in sysv_read_inode()
209 raw_inode->i_gid = cpu_to_fs16(sb, fs_high2lowgid(inode->i_gid)); in sysv_update_inode()
Dialloc.c158 inode->i_gid = dir->i_gid; in sysv_new_inode()
162 inode->i_gid = current->fsgid; in sysv_new_inode()
/linux-2.4.37.9/fs/hpfs/
Dinode.c66 i->i_gid = sb->s_hpfs_gid; in hpfs_read_inode()
121 i->i_gid = ea[0] + (ea[1] << 8); in hpfs_read_inode()
207 if ((i->i_gid != i->i_sb->s_hpfs_gid) || i->i_hpfs_ea_gid) { in hpfs_write_inode_ea()
208 ea[0] = i->i_gid & 0xff; in hpfs_write_inode_ea()
209 ea[1] = i->i_gid >> 8; in hpfs_write_inode_ea()
Dnamei.c77 result->i_gid != current->fsgid || in hpfs_mkdir()
80 result->i_gid = current->fsgid; in hpfs_mkdir()
147 result->i_gid != current->fsgid || in hpfs_create()
150 result->i_gid = current->fsgid; in hpfs_create()
208 result->i_gid = current->fsgid; in hpfs_mknod()
272 result->i_gid = current->fsgid; in hpfs_symlink()
/linux-2.4.37.9/include/linux/
Dminix_fs.h46 __u8 i_gid; member
61 __u16 i_gid; member
Dqnx4_fs_i.h31 qnx4_mgid_t i_gid; /* 2 */ member
Dbfs_fs.h30 __s32 i_gid; member
/linux-2.4.37.9/fs/ext2/
Dialloc.c375 inode->i_gid = dir->i_gid; in ext2_new_inode()
377 inode->i_gid = dir->i_gid; in ext2_new_inode()
381 inode->i_gid = current->fsgid; in ext2_new_inode()
/linux-2.4.37.9/drivers/usb/
Dinode.c110 inode->i_gid = sb->u.usbdevfs_sb.devgid; in new_dev_inode()
147 inode->i_gid = sb->u.usbdevfs_sb.busgid; in new_bus_inode()
161 inode->i_uid = inode->i_gid = 0; in free_inode()
515 inode->i_gid = inode->i_uid = 0; in usbdevfs_read_inode()
579 inode->i_gid = s->u.usbdevfs_sb.listgid; in usbdevfs_remount()
584 inode->i_gid = s->u.usbdevfs_sb.busgid; in usbdevfs_remount()
589 inode->i_gid = s->u.usbdevfs_sb.devgid; in usbdevfs_remount()
636 inode->i_gid = s->u.usbdevfs_sb.listgid; in usbdevfs_read_super()
/linux-2.4.37.9/fs/ufs/
Dialloc.c254 inode->i_gid = dir->i_gid; in ufs_new_inode()
258 inode->i_gid = current->fsgid; in ufs_new_inode()
/linux-2.4.37.9/fs/bfs/
Dinode.c73 inode->i_gid = di->i_gid; in bfs_read_inode()
121 di->i_gid = inode->i_gid; in bfs_write_inode()
/linux-2.4.37.9/fs/ramfs/
Dinode.c109 inode->i_gid = current->fsgid; in ramfs_get_inode()
144 inode->i_gid = dir->i_gid; in ramfs_mknod()
/linux-2.4.37.9/fs/hfsplus/
Dinode.c199 inode->i_gid = be32_to_cpu(perms->group); in hfsplus_get_perms()
200 if (!inode->i_gid && !mode) in hfsplus_get_perms()
201 inode->i_gid = HFSPLUS_SB(sb).gid; in hfsplus_get_perms()
217 perms->group = cpu_to_be32(inode->i_gid); in hfsplus_set_perms()
283 inode->i_gid = current->fsgid; in hfsplus_new_inode()
/linux-2.4.37.9/fs/proc/
Dinode.c155 inode->i_gid = de->gid; in proc_get_inode()
203 parse_options(data, &root_inode->i_uid, &root_inode->i_gid); in proc_read_super()
/linux-2.4.37.9/fs/ext3/
Dialloc.c472 inode->i_gid = dir->i_gid; in ext3_new_inode()
474 inode->i_gid = dir->i_gid; in ext3_new_inode()
478 inode->i_gid = current->fsgid; in ext3_new_inode()
/linux-2.4.37.9/fs/devpts/
Dinode.c150 inode->i_uid = inode->i_gid = 0; in devpts_read_super()
201 inode->i_gid = sbi->setgid ? sbi->gid : current->fsgid; in devpts_pty_new()
/linux-2.4.37.9/fs/jffs2/
Dfile.c152 ri->gid = (ivalid & ATTR_GID)?iattr->ia_gid:inode->i_gid; in jffs2_setattr()
195 inode->i_gid = ri->gid; in jffs2_setattr()
367 ri.gid = inode->i_gid; in jffs2_prepare_write()
485 ri->gid = inode->i_gid; in jffs2_commit_write()

1234