Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/fs/hmdfs/authority/
Dauthentication.c127 cred->fsuid = dir->i_uid; in hmdfs_override_dir_fsids()
133 cred->fsuid = dir->i_uid; in hmdfs_override_dir_fsids()
191 cred->fsuid = dir->i_uid; in hmdfs_override_file_fsids()
376 dinode->i_uid = USER_DATA_RW_UID; in check_and_fixup_ownership_remote()
388 dinode->i_uid = DFS_SHARE_UID; in check_and_fixup_ownership_remote()
398 dinode->i_uid = USER_DATA_RW_UID; in check_and_fixup_ownership_remote()
403 dinode->i_uid = DFS_SHARE_UID; in check_and_fixup_ownership_remote()
420 dinode->i_uid = KUIDT_INIT(bid); in check_and_fixup_ownership_remote()
423 dinode->i_uid = ROOT_UID; in check_and_fixup_ownership_remote()
428 dinode->i_uid = dir->i_uid; in check_and_fixup_ownership_remote()
[all …]
Dauthentication.h200 kuid_t uid = inode->i_uid; in get_inode_uid()
206 inode->i_uid = uid; in set_inode_uid()
/kernel/linux/linux-5.10/fs/sharefs/
Dauthentication.c31 dinode->i_uid = dir->i_uid; in fixup_perm_from_level()
39 dinode->i_uid = KUIDT_INIT(bid); in fixup_perm_from_level()
42 dinode->i_uid = ROOT_UID; in fixup_perm_from_level()
Dinode.c67 stat->uid = d_inode(path->dentry)->i_uid; in sharefs_getattr()
106 if (uid_eq(cur_uid, inode->i_uid)) { in sharefs_permission()
Dfile.c51 kuid_t uid = inode->i_uid; in sharefs_open()
55 inode->i_uid = uid; in sharefs_open()
/kernel/linux/linux-5.10/fs/
Dattr.c23 if (uid_eq(current_fsuid(), inode->i_uid) && in chown_ok()
24 uid_eq(uid, inode->i_uid)) in chown_ok()
28 if (uid_eq(inode->i_uid, INVALID_UID) && in chown_ok()
36 if (uid_eq(current_fsuid(), inode->i_uid) && in chgrp_ok()
185 inode->i_uid = attr->ia_uid; in setattr_copy()
325 if (!(ia_valid & ATTR_UID) && !uid_valid(inode->i_uid)) in notify_change()
Dstack.c66 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
/kernel/linux/linux-5.10/fs/hmdfs/
Dinode_root.c47 inode->i_uid = KUIDT_INIT((uid_t)1000); in fill_device_local_inode()
87 inode->i_uid = KUIDT_INIT((uid_t)1000); in fill_device_inode_remote()
118 inode->i_uid = KUIDT_INIT((uid_t)1000); in fill_device_inode_cloud()
313 inode->i_uid = KUIDT_INIT((uid_t)1000); in fill_device_inode()
349 inode->i_uid = lower_inode->i_uid; in fill_root_inode()
352 inode->i_uid = KUIDT_INIT((uid_t)1000); in fill_root_inode()
Dinode_cloud.c205 inode->i_uid = dir->i_uid; in hmdfs_fill_inode_permission()
238 inode->i_uid = USER_DATA_RW_UID; in fill_inode_cloud()
440 stat->uid.val = inode->i_uid.val; in hmdfs_get_cached_attr_cloud()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dminix_fs.h33 __u16 i_uid; member
43 __u16 i_uid; member
Dbfs_fs.h37 __le32 i_uid; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dminix_fs.h37 __u16 i_uid; member
54 __u16 i_uid; member
Dbfs_fs.h32 __le32 i_uid; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dminix_fs.h20 __u16 i_uid; member
30 __u16 i_uid; member
Dbfs_fs.h24 __le32 i_uid; member
/kernel/linux/linux-5.10/fs/tracefs/
Dinode.c303 inode->i_uid = opts->uid; in tracefs_apply_options()
503 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in tracefs_create_file()
527 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in __create_dir()
/kernel/linux/linux-5.10/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()
/kernel/liteos_a/fs/jffs2/src/
Dvfs_jffs2.c143 pv->uid = rootNode->i_uid; in VfsJffs2Bind()
226 newVnode->uid = node->i_uid; in VfsJffs2Lookup()
262 newVnode->uid = newNode->i_uid; in VfsJffs2Create()
356 ri.uid = cpu_to_je16(node->i_uid); in VfsJffs2WritePage()
424 ri.uid = cpu_to_je16(node->i_uid); in VfsJffs2Write()
608 newVnode->uid = node->i_uid; in VfsJffs2Mkdir()
661 pVnode->uid = node->i_uid; in VfsJffs2Chattr()
753 pVnode->uid = inode->i_uid; in VfsJffs2Symlink()
876 buf->st_uid = node->i_uid; in VfsJffs2Stat()
/kernel/linux/linux-5.10/fs/erofs/
Derofs_fs.h100 __le16 i_uid; member
131 __le32 i_uid; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/f2fs/
Drecovery.c232 uid_t i_uid = le32_to_cpu(raw->i_uid); in recover_quota_data() local
238 attr.ia_uid = make_kuid(inode->i_sb->s_user_ns, i_uid); in recover_quota_data()
241 if (!uid_eq(attr.ia_uid, inode->i_uid)) in recover_quota_data()
279 i_uid_write(inode, le32_to_cpu(raw->i_uid)); in recover_inode()
/kernel/linux/linux-5.10/fs/gfs2/
Dquota.h55 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap); in gfs2_quota_lock_check()

1234567