Home
last modified time | relevance | path

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

12345

/fs/
Dattr.c56 (!uid_eq(current_fsuid(), inode->i_uid) || in setattr_prepare()
57 !uid_eq(attr->ia_uid, inode->i_uid)) && in setattr_prepare()
63 (!uid_eq(current_fsuid(), inode->i_uid) || in setattr_prepare()
162 inode->i_uid = attr->ia_uid; in setattr_copy()
300 if (!(ia_valid & ATTR_UID) && !uid_valid(inode->i_uid)) in notify_change2()
Dstack.c66 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
/fs/autofs4/
Dinode.c77 if (!uid_eq(root_inode->i_uid, GLOBAL_ROOT_UID)) in autofs4_show_options()
79 from_kuid_munged(&init_user_ns, root_inode->i_uid)); in autofs4_show_options()
271 if (parse_options(data, &pipefd, &root_inode->i_uid, &root_inode->i_gid, in autofs4_fill_super()
360 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs4_get_inode()
/fs/nfsd/
Dflexfilelayout.c53 u = from_kuid(&init_user_ns, inode->i_uid) + 1; in nfsd4_ff_proc_layoutget()
56 fl->uid = inode->i_uid; in nfsd4_ff_proc_layoutget()
/fs/hpfs/
Dnamei.c106 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_mkdir()
109 result->i_uid = current_fsuid(); in hpfs_mkdir()
195 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_create()
198 result->i_uid = current_fsuid(); in hpfs_create()
255 result->i_uid = current_fsuid(); in hpfs_mknod()
331 result->i_uid = current_fsuid(); in hpfs_symlink()
Dinode.c19 i->i_uid = hpfs_sb(sb)->sb_uid; in hpfs_init_inode()
155 if (!uid_eq(i->i_uid, hpfs_sb(i->i_sb)->sb_uid) || hpfs_inode->i_ea_uid) { in hpfs_write_inode_ea()
/fs/f2fs/
Drecovery.c202 uid_t i_uid = le32_to_cpu(raw->i_uid); in recover_quota_data() local
208 attr.ia_uid = make_kuid(inode->i_sb->s_user_ns, i_uid); in recover_quota_data()
211 if (!uid_eq(attr.ia_uid, inode->i_uid)) in recover_quota_data()
249 i_uid_write(inode, le32_to_cpu(raw->i_uid)); in recover_inode()
/fs/squashfs/
Dinode.c60 uid_t i_uid; in squashfs_new_inode() local
64 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->uid), &i_uid); in squashfs_new_inode()
72 i_uid_write(inode, i_uid); in squashfs_new_inode()
/fs/proc/
Duid.c116 inode->i_uid = kuid; in proc_uid_make_inode()
127 inode = proc_uid_make_inode(dir->i_sb, dir->i_uid); in proc_uident_instantiate()
Dself.c49 inode->i_uid = GLOBAL_ROOT_UID; in proc_setup_self()
Dthread_self.c50 inode->i_uid = GLOBAL_ROOT_UID; in proc_setup_thread_self()
/fs/affs/
Dinode.c78 inode->i_uid = sbi->s_uid; in affs_iget()
94 inode->i_uid = sbi->s_uid; in affs_iget()
312 inode->i_uid = current_fsuid(); in affs_new_inode()
/fs/sdcardfs/
Dinode.c540 dest->i_uid = src->i_uid; in copy_attrs()
580 tmp.i_uid = make_kuid(&init_user_ns, top->d_uid); in sdcardfs_permission()
633 tmp.i_uid = make_kuid(&init_user_ns, top->d_uid); in sdcardfs_setattr()
/fs/minix/
Dinode.c475 i_uid_write(inode, raw_inode->i_uid); in V1_minix_iget()
508 i_uid_write(inode, raw_inode->i_uid); in V2_minix_iget()
560 raw_inode->i_uid = fs_high2lowuid(i_uid_read(inode)); in V1_minix_update_inode()
587 raw_inode->i_uid = fs_high2lowuid(i_uid_read(inode)); in V2_minix_update_inode()
/fs/reiserfs/
Dstree.c1359 quota_cut_bytes, inode->i_uid, head2type(&s_ih)); in reiserfs_delete_item()
1455 quota_cut_bytes, inode->i_uid, in reiserfs_delete_solid_item()
1835 quota_cut_bytes, inode->i_uid, '?'); in reiserfs_cut_from_item()
2090 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2152 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2195 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
2256 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
/fs/gfs2/
Dinode.c357 !uid_eq(dip->i_inode.i_uid, GLOBAL_ROOT_UID)) { in munge_mode_uid_gid()
360 else if (!uid_eq(dip->i_inode.i_uid, current_fsuid())) in munge_mode_uid_gid()
362 inode->i_uid = dip->i_inode.i_uid; in munge_mode_uid_gid()
364 inode->i_uid = current_fsuid(); in munge_mode_uid_gid()
1039 !uid_eq(dip->i_inode.i_uid, current_fsuid()) && in gfs2_unlink_ok()
1040 !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER)) in gfs2_unlink_ok()
1863 ouid = inode->i_uid; in setattr_chown()
Dquota.h57 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap); in gfs2_quota_lock_check()
/fs/xfs/
Dxfs_iops.c510 stat->uid = inode->i_uid; in xfs_vn_getattr()
645 uid = inode->i_uid; in xfs_setattr_nonsize()
686 iuid = inode->i_uid; in xfs_setattr_nonsize()
733 inode->i_uid = uid; in xfs_setattr_nonsize()
1256 inode->i_uid = xfs_uid_to_kuid(ip->i_d.di_uid); in xfs_setup_inode()
/fs/exofs/
Dcommon.h173 __le32 i_uid; /* Owner Uid */ member
/fs/sysv/
Dinode.c200 i_uid_write(inode, (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid)); in sysv_iget()
254 raw_inode->i_uid = cpu_to_fs16(sbi, fs_high2lowuid(i_uid_read(inode))); in __sysv_write_inode()
/fs/jfs/
Djfs_inode.c88 jfs_inode->saved_uid = inode->i_uid; in ialloc()
Dfile.c115 if ((iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)) || in jfs_setattr()
/fs/overlayfs/
Doverlayfs.h298 to->i_uid = from->i_uid; in ovl_copyattr()
/fs/ext2/
Dinode.c1392 uid_t i_uid; in ext2_iget() local
1411 i_uid = (uid_t)le16_to_cpu(raw_inode->i_uid_low); in ext2_iget()
1414 i_uid |= le16_to_cpu(raw_inode->i_uid_high) << 16; in ext2_iget()
1417 i_uid_write(inode, i_uid); in ext2_iget()
1647 if ((iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)) || in ext2_setattr()
/fs/afs/
Dinode.c90 inode->i_uid = vnode->status.owner; in afs_inode_map_status()
185 inode->i_uid = GLOBAL_ROOT_UID; in afs_iget_autocell()

12345