Home
last modified time | relevance | path

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

123456

/linux-6.6.21/fs/autofs/
Dinode.c71 if (!uid_eq(root_inode->i_uid, GLOBAL_ROOT_UID)) in autofs_show_options()
73 from_kuid_munged(&init_user_ns, root_inode->i_uid)); in autofs_show_options()
143 root->i_uid = current_uid(); in parse_options()
173 root->i_uid = uid; in parse_options()
370 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs_get_inode()
/linux-6.6.21/fs/
Dstack.c66 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
/linux-6.6.21/include/uapi/linux/
Dminix_fs.h37 __u16 i_uid; member
54 __u16 i_uid; member
Dbfs_fs.h32 __le32 i_uid; member
/linux-6.6.21/fs/tracefs/
Dinode.c162 inode->i_uid = root_inode->i_uid; in set_tracefs_inode_owner()
330 inode->i_uid = opts->uid; in tracefs_apply_options()
583 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in tracefs_create_file()
608 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in __create_dir()
Devent_inode.c209 ei->attr.uid = root->i_uid; in update_top_events_attr()
225 inode->i_uid = ei->attr.uid; in set_top_events_ownership()
304 inode->i_uid = events_ei->attr.uid; in update_inode_attr()
314 inode->i_uid = attr->uid; in update_inode_attr()
740 uid = d_inode(dentry->d_parent)->i_uid; in eventfs_create_events_dir()
763 inode->i_uid = uid; in eventfs_create_events_dir()
/linux-6.6.21/fs/nfsd/
Dflexfilelayout.c54 u = from_kuid(&init_user_ns, inode->i_uid) + 1; in nfsd4_ff_proc_layoutget()
57 fl->uid = inode->i_uid; in nfsd4_ff_proc_layoutget()
/linux-6.6.21/fs/hpfs/
Dnamei.c104 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_mkdir()
107 result->i_uid = current_fsuid(); in hpfs_mkdir()
192 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_create()
195 result->i_uid = current_fsuid(); in hpfs_create()
251 result->i_uid = current_fsuid(); in hpfs_mknod()
326 result->i_uid = current_fsuid(); in hpfs_symlink()
/linux-6.6.21/fs/erofs/
Derofs_fs.h168 __le16 i_uid; member
185 __le32 i_uid; member
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dinode.c87 inode->i_uid = current_fsuid(); in spufs_new_inode()
595 if (!uid_eq(inode->i_uid, GLOBAL_ROOT_UID)) in spufs_show_options()
597 from_kuid_munged(&init_user_ns, inode->i_uid)); in spufs_show_options()
689 inode->i_uid = ctx->uid; in spufs_create_root()
/linux-6.6.21/fs/gfs2/
Dquota.h56 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap); in gfs2_quota_lock_check()
Dinode.c385 !uid_eq(dip->i_inode.i_uid, GLOBAL_ROOT_UID)) { in munge_mode_uid_gid()
388 else if (!uid_eq(dip->i_inode.i_uid, current_fsuid())) in munge_mode_uid_gid()
390 inode->i_uid = dip->i_inode.i_uid; in munge_mode_uid_gid()
392 inode->i_uid = current_fsuid(); in munge_mode_uid_gid()
1085 !uid_eq(dip->i_inode.i_uid, current_fsuid()) && in gfs2_unlink_ok()
1086 !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER)) in gfs2_unlink_ok()
1933 ouid = inode->i_uid; in setattr_chown()
/linux-6.6.21/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()
/linux-6.6.21/fs/nfs_common/
Dnfsacl.c104 .uid = inode->i_uid, in nfsacl_encode()
166 .uid = inode->i_uid, in nfs_stream_encode_acl()
/linux-6.6.21/fs/minix/
Dinode.c500 i_uid_write(inode, raw_inode->i_uid); in V1_minix_iget()
537 i_uid_write(inode, raw_inode->i_uid); in V2_minix_iget()
588 raw_inode->i_uid = fs_high2lowuid(i_uid_read(inode)); in V1_minix_update_inode()
615 raw_inode->i_uid = fs_high2lowuid(i_uid_read(inode)); in V2_minix_update_inode()
/linux-6.6.21/fs/reiserfs/
Dstree.c1374 quota_cut_bytes, inode->i_uid, head2type(&s_ih)); in reiserfs_delete_item()
1470 quota_cut_bytes, inode->i_uid, in reiserfs_delete_solid_item()
1850 quota_cut_bytes, inode->i_uid, '?'); in reiserfs_cut_from_item()
2105 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2167 pasted_size, inode->i_uid, in reiserfs_paste_into_item()
2210 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
2271 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
/linux-6.6.21/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()
/linux-6.6.21/fs/sysv/
Dinode.c199 i_uid_write(inode, (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid)); in sysv_iget()
252 raw_inode->i_uid = cpu_to_fs16(sbi, fs_high2lowuid(i_uid_read(inode))); in __sysv_write_inode()
/linux-6.6.21/fs/udf/
Dialloc.c81 inode->i_uid = sbi->s_uid; in udf_new_inode()
/linux-6.6.21/fs/f2fs/
Drecovery.c252 uid_t i_uid = le32_to_cpu(raw->i_uid); in recover_quota_data() local
258 attr.ia_vfsuid = VFSUIDT_INIT(make_kuid(inode->i_sb->s_user_ns, i_uid)); in recover_quota_data()
299 i_uid_write(inode, le32_to_cpu(raw->i_uid)); in recover_inode()
/linux-6.6.21/include/linux/
Dsysv_fs.h195 __fs16 i_uid; member

123456