Home
last modified time | relevance | path

Searched refs:kuid (Results 1 – 5 of 5) sorted by relevance

/include/linux/
Dmnt_idmapping.h72 kuid_t kuid) in mapped_kuid_fs() argument
77 return kuid; in mapped_kuid_fs()
79 uid = __kuid_val(kuid); in mapped_kuid_fs()
81 uid = from_kuid(fs_userns, kuid); in mapped_kuid_fs()
146 kuid_t kuid) in mapped_kuid_user() argument
151 return kuid; in mapped_kuid_user()
152 uid = from_kuid(mnt_userns, kuid); in mapped_kuid_user()
Duidgid.h153 static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) in from_kuid() argument
155 return __kuid_val(kuid); in from_kuid()
163 static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) in from_kuid_munged() argument
165 uid_t uid = from_kuid(to, kuid); in from_kuid_munged()
Dsysfs.h329 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid,
331 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid);
333 const char *name, kuid_t kuid, kgid_t kgid);
336 kuid_t kuid, kgid_t kgid);
338 const struct attribute_group *groups, kuid_t kuid,
558 const char *name, kuid_t kuid, in sysfs_file_change_owner() argument
566 const char *name, kuid_t kuid, in sysfs_link_change_owner() argument
572 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner() argument
579 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner() argument
586 kuid_t kuid, kgid_t kgid) in sysfs_group_change_owner() argument
Dfs.h1753 kuid_t kuid; in fsuidgid_has_mapping() local
1756 kuid = mapped_fsuid(mnt_userns, fs_userns); in fsuidgid_has_mapping()
1757 if (!uid_valid(kuid)) in fsuidgid_has_mapping()
1762 return kuid_has_mapping(fs_userns, kuid) && in fsuidgid_has_mapping()
Ddevice.h847 int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid);