Home
last modified time | relevance | path

Searched refs:i_uid (Results 1 – 25 of 145) sorted by relevance

123456

/linux-2.6.39/fs/affs/
Dinode.c81 inode->i_uid = sbi->s_uid; in affs_iget()
83 inode->i_uid = 0; in affs_iget()
85 inode->i_uid = id; in affs_iget()
97 inode->i_uid = sbi->s_uid; in affs_iget()
196 uid = inode->i_uid; in affs_write_inode()
199 if (inode->i_uid == 0 || inode->i_uid == 0xFFFF) in affs_write_inode()
200 uid = inode->i_uid ^ ~0; in affs_write_inode()
304 inode->i_uid = current_fsuid(); in affs_new_inode()
/linux-2.6.39/fs/
Dattr.c49 (current_fsuid() != inode->i_uid || in inode_change_ok()
50 attr->ia_uid != inode->i_uid) && !capable(CAP_CHOWN)) in inode_change_ok()
55 (current_fsuid() != inode->i_uid || in inode_change_ok()
143 inode->i_uid = attr->ia_uid; in setattr_copy()
Dstack.c69 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
/linux-2.6.39/fs/autofs4/
Dinode.c82 if (root_inode->i_uid != 0) in autofs4_show_options()
83 seq_printf(m, ",uid=%u", root_inode->i_uid); in autofs4_show_options()
258 if (parse_options(data, &pipefd, &root_inode->i_uid, &root_inode->i_gid, in autofs4_fill_super()
338 inode->i_uid = sb->s_root->d_inode->i_uid; in autofs4_get_inode()
/linux-2.6.39/include/linux/
Dminix_fs.h36 __u16 i_uid; member
53 __u16 i_uid; member
Dbfs_fs.h31 __le32 i_uid; member
/linux-2.6.39/fs/minix/
Dinode.c447 inode->i_uid = (uid_t)raw_inode->i_uid; in V1_minix_iget()
480 inode->i_uid = (uid_t)raw_inode->i_uid; in V2_minix_iget()
532 raw_inode->i_uid = fs_high2lowuid(inode->i_uid); in V1_minix_update_inode()
559 raw_inode->i_uid = fs_high2lowuid(inode->i_uid); in V2_minix_update_inode()
/linux-2.6.39/fs/sysv/
Dinode.c220 inode->i_uid = (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid); in sysv_iget()
274 raw_inode->i_uid = cpu_to_fs16(sbi, fs_high2lowuid(inode->i_uid)); in __sysv_write_inode()
/linux-2.6.39/fs/hpfs/
Dinode.c17 i->i_uid = hpfs_sb(sb)->sb_uid; in hpfs_init_inode()
63 i->i_uid = le16_to_cpu(*(__le16*)ea); in hpfs_read_inode()
152 if ((i->i_uid != hpfs_sb(i->i_sb)->sb_uid) || hpfs_inode->i_ea_uid) { in hpfs_write_inode_ea()
153 ea = cpu_to_le32(i->i_uid); in hpfs_write_inode_ea()
Dnamei.c94 if (result->i_uid != current_fsuid() || in hpfs_mkdir()
97 result->i_uid = current_fsuid(); in hpfs_mkdir()
182 if (result->i_uid != current_fsuid() || in hpfs_create()
185 result->i_uid = current_fsuid(); in hpfs_create()
243 result->i_uid = current_fsuid(); in hpfs_mknod()
318 result->i_uid = current_fsuid(); in hpfs_symlink()
/linux-2.6.39/drivers/usb/core/
Dinode.c193 special->d_inode->i_uid = listuid; in update_special()
200 dev->d_inode->i_uid = devuid; in update_dev()
209 bus->d_inode->i_uid = busuid; in update_bus()
280 inode->i_uid = current_fsuid(); in usbfs_get_inode()
548 dentry->d_inode->i_uid = uid; in fs_create_file()
/linux-2.6.39/security/apparmor/
Dlsm.c207 struct path_cond cond = { dentry->d_inode->i_uid, in common_perm_mnt_dentry()
232 cond.uid = inode->i_uid; in common_perm_rm()
284 struct path_cond cond = { path->dentry->d_inode->i_uid, in apparmor_path_truncate()
330 struct path_cond cond = { old_dentry->d_inode->i_uid, in apparmor_path_rename()
358 struct path_cond cond = { path->dentry->d_inode->i_uid, in apparmor_path_chown()
399 struct path_cond cond = { inode->i_uid, inode->i_mode }; in apparmor_dentry_open()
/linux-2.6.39/fs/bfs/
Dinode.c79 inode->i_uid = le32_to_cpu(di->i_uid); in bfs_iget()
142 di->i_uid = cpu_to_le32(inode->i_uid); in bfs_write_inode()
/linux-2.6.39/fs/jffs2/
Dfs.c98 ri->uid = cpu_to_je16((ivalid & ATTR_UID)?iattr->ia_uid:inode->i_uid); in jffs2_do_setattr()
146 inode->i_uid = je16_to_cpu(ri->uid); in jffs2_do_setattr()
274 inode->i_uid = je16_to_cpu(latest_node.uid); in jffs2_iget()
373 iattr.ia_uid = inode->i_uid; in jffs2_dirty_inode()
460 inode->i_uid = je16_to_cpu(ri->uid); in jffs2_new_inode()
Dfile.c168 ri.uid = cpu_to_je16(inode->i_uid); in jffs2_write_begin()
273 ri->uid = cpu_to_je16(inode->i_uid); in jffs2_write_end()
/linux-2.6.39/fs/gfs2/
Dquota.h48 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid); in gfs2_quota_lock_check()
Dinode.c270 ip->i_inode.i_uid = be32_to_cpu(str->di_uid); in gfs2_dinode_in()
571 (dip->i_inode.i_mode & S_ISUID) && dip->i_inode.i_uid) { in munge_mode_uid_gid()
574 else if (dip->i_inode.i_uid != current_fsuid()) in munge_mode_uid_gid()
576 *uid = dip->i_inode.i_uid; in munge_mode_uid_gid()
742 error = gfs2_quota_check(dip, dip->i_inode.i_uid, dip->i_inode.i_gid); in link_dinode()
962 str->di_uid = cpu_to_be32(ip->i_inode.i_uid); in gfs2_dinode_out()
/linux-2.6.39/fs/hfsplus/
Dinode.c233 inode->i_uid = be32_to_cpu(perms->owner); in hfsplus_get_perms()
234 if (!inode->i_uid && !mode) in hfsplus_get_perms()
235 inode->i_uid = sbi->uid; in hfsplus_get_perms()
380 inode->i_uid = current_fsuid(); in hfsplus_new_inode()
/linux-2.6.39/fs/exofs/
Dcommon.h173 __le32 i_uid; /* Owner Uid */ member
/linux-2.6.39/drivers/xen/xenfs/
Dsuper.c31 ret->i_uid = ret->i_gid = 0; in xenfs_make_inode()
/linux-2.6.39/fs/ocfs2/
Dinode.c272 inode->i_uid = le32_to_cpu(fe->i_uid); in ocfs2_populate_inode()
1263 fe->i_uid = cpu_to_le32(inode->i_uid); in ocfs2_mark_inode_dirty()
1294 inode->i_uid = le32_to_cpu(fe->i_uid); in ocfs2_refresh_inode()
/linux-2.6.39/fs/reiserfs/
Dstree.c1300 quota_cut_bytes, inode->i_uid, head2type(&s_ih)); in reiserfs_delete_item()
1383 quota_cut_bytes, inode->i_uid, in reiserfs_delete_solid_item()
1734 quota_cut_bytes, inode->i_uid, '?'); in reiserfs_cut_from_item()
1967 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2025 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2062 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
2115 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
/linux-2.6.39/fs/jfs/
Dfile.c104 if ((iattr->ia_valid & ATTR_UID && iattr->ia_uid != inode->i_uid) || in jfs_setattr()
Djfs_inode.c106 jfs_inode->saved_uid = inode->i_uid; in ialloc()
/linux-2.6.39/fs/isofs/
Drock.c367 inode->i_uid = isonum_733(rr->u.PX.uid); in parse_rock_ridge_inode_internal()
500 inode->i_uid = reloc->i_uid; in parse_rock_ridge_inode_internal()

123456