/fs/autofs/ |
D | inode.c | 70 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/ |
D | stack.c | 66 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
|
D | attr.c | 103 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/ |
D | inode.c | 305 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/ |
D | flexfilelayout.c | 53 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/ |
D | namei.c | 107 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()
|
D | inode.c | 19 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/ |
D | erofs_fs.h | 151 __le16 i_uid; member 185 __le32 i_uid; member
|
D | inode.c | 113 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/ |
D | recovery.c | 251 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/ |
D | inode.c | 47 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/ |
D | inode.c | 78 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/ |
D | inode.c | 500 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/ |
D | stree.c | 1376 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/ |
D | nfsacl.c | 104 .uid = inode->i_uid, in nfsacl_encode() 166 .uid = inode->i_uid, in nfs_stream_encode_acl()
|
/fs/proc/ |
D | self.c | 51 inode->i_uid = GLOBAL_ROOT_UID; in proc_setup_self()
|
D | thread_self.c | 51 inode->i_uid = GLOBAL_ROOT_UID; in proc_setup_thread_self()
|
/fs/gfs2/ |
D | inode.c | 379 !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()
|
D | quota.h | 55 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap); in gfs2_quota_lock_check()
|
/fs/sysv/ |
D | inode.c | 199 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/ |
D | jfs_inode.c | 72 jfs_inode->saved_uid = inode->i_uid; in ialloc()
|
D | file.c | 103 if ((iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)) || in jfs_setattr()
|
/fs/ext2/ |
D | inode.c | 1411 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/ |
D | ialloc.c | 110 inode->i_uid = sbi->s_uid; in udf_new_inode()
|
/fs/devpts/ |
D | inode.c | 363 inode->i_uid = ptmx_uid; in mknod_ptmx() 579 inode->i_uid = opts->setuid ? opts->uid : current_fsuid(); in devpts_pty_new()
|