Home
last modified time | relevance | path

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

12345

/fs/autofs/
Dinode.c70 if (!uid_eq(root_inode->i_uid, GLOBAL_ROOT_UID)) in autofs_show_options()
72 from_kuid_munged(&init_user_ns, root_inode->i_uid)); in autofs_show_options()
142 root->i_uid = current_uid(); in parse_options()
172 root->i_uid = uid; in parse_options()
369 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs_get_inode()
/fs/
Dstack.c66 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
Dattr.c103 if (uid_eq(current_fsuid(), kuid) && uid_eq(uid, inode->i_uid)) in chown_ok()
312 inode->i_uid = attr->ia_uid; in setattr_copy()
/fs/tracefs/
Dinode.c305 inode->i_uid = opts->uid; in tracefs_apply_options()
505 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in tracefs_create_file()
528 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in __create_dir()
/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.c107 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_mkdir()
110 result->i_uid = current_fsuid(); in hpfs_mkdir()
197 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_create()
200 result->i_uid = current_fsuid(); in hpfs_create()
258 result->i_uid = current_fsuid(); in hpfs_mknod()
335 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/erofs/
Derofs_fs.h151 __le16 i_uid; member
185 __le32 i_uid; member
Dinode.c113 i_uid_write(inode, le32_to_cpu(die->i_uid)); in erofs_read_inode()
156 i_uid_write(inode, le16_to_cpu(dic->i_uid)); in erofs_read_inode()
/fs/f2fs/
Drecovery.c251 uid_t i_uid = le32_to_cpu(raw->i_uid); in recover_quota_data() local
257 attr.ia_uid = make_kuid(inode->i_sb->s_user_ns, i_uid); in recover_quota_data()
260 if (!uid_eq(attr.ia_uid, inode->i_uid)) in recover_quota_data()
298 i_uid_write(inode, le32_to_cpu(raw->i_uid)); in recover_inode()
/fs/squashfs/
Dinode.c47 uid_t i_uid; in squashfs_new_inode() local
51 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->uid), &i_uid); in squashfs_new_inode()
59 i_uid_write(inode, i_uid); in squashfs_new_inode()
/fs/affs/
Dinode.c78 inode->i_uid = sbi->s_uid; in affs_iget()
94 inode->i_uid = sbi->s_uid; in affs_iget()
313 inode->i_uid = current_fsuid(); in affs_new_inode()
/fs/minix/
Dinode.c500 i_uid_write(inode, raw_inode->i_uid); in V1_minix_iget()
540 i_uid_write(inode, raw_inode->i_uid); in V2_minix_iget()
592 raw_inode->i_uid = fs_high2lowuid(i_uid_read(inode)); in V1_minix_update_inode()
619 raw_inode->i_uid = fs_high2lowuid(i_uid_read(inode)); in V2_minix_update_inode()
/fs/reiserfs/
Dstree.c1376 quota_cut_bytes, inode->i_uid, head2type(&s_ih)); in reiserfs_delete_item()
1472 quota_cut_bytes, inode->i_uid, in reiserfs_delete_solid_item()
1852 quota_cut_bytes, inode->i_uid, '?'); in reiserfs_cut_from_item()
2107 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2169 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2212 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
2273 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
/fs/nfs_common/
Dnfsacl.c104 .uid = inode->i_uid, in nfsacl_encode()
166 .uid = inode->i_uid, in nfs_stream_encode_acl()
/fs/proc/
Dself.c51 inode->i_uid = GLOBAL_ROOT_UID; in proc_setup_self()
Dthread_self.c51 inode->i_uid = GLOBAL_ROOT_UID; in proc_setup_thread_self()
/fs/gfs2/
Dinode.c379 !uid_eq(dip->i_inode.i_uid, GLOBAL_ROOT_UID)) { in munge_mode_uid_gid()
382 else if (!uid_eq(dip->i_inode.i_uid, current_fsuid())) in munge_mode_uid_gid()
384 inode->i_uid = dip->i_inode.i_uid; in munge_mode_uid_gid()
386 inode->i_uid = current_fsuid(); in munge_mode_uid_gid()
1067 !uid_eq(dip->i_inode.i_uid, current_fsuid()) && in gfs2_unlink_ok()
1068 !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER)) in gfs2_unlink_ok()
1915 ouid = inode->i_uid; in setattr_chown()
Dquota.h55 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap); in gfs2_quota_lock_check()
/fs/sysv/
Dinode.c199 i_uid_write(inode, (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid)); in sysv_iget()
253 raw_inode->i_uid = cpu_to_fs16(sbi, fs_high2lowuid(i_uid_read(inode))); in __sysv_write_inode()
/fs/jfs/
Djfs_inode.c72 jfs_inode->saved_uid = inode->i_uid; in ialloc()
Dfile.c103 if ((iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)) || in jfs_setattr()
/fs/ext2/
Dinode.c1411 uid_t i_uid; in ext2_iget() local
1430 i_uid = (uid_t)le16_to_cpu(raw_inode->i_uid_low); in ext2_iget()
1433 i_uid |= le16_to_cpu(raw_inode->i_uid_high) << 16; in ext2_iget()
1436 i_uid_write(inode, i_uid); in ext2_iget()
1685 if ((iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)) || in ext2_setattr()
/fs/udf/
Dialloc.c110 inode->i_uid = sbi->s_uid; in udf_new_inode()
/fs/devpts/
Dinode.c363 inode->i_uid = ptmx_uid; in mknod_ptmx()
579 inode->i_uid = opts->setuid ? opts->uid : current_fsuid(); in devpts_pty_new()

12345