Home
last modified time | relevance | path

Searched defs:uid (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dcmd.c57 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid) in mlx5_cmd_destroy_tir()
67 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid) in mlx5_cmd_destroy_tis()
77 int mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid) in mlx5_cmd_destroy_rqt()
88 u16 uid) in mlx5_cmd_alloc_transport_domain()
107 u16 uid) in mlx5_cmd_dealloc_transport_domain()
118 int mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid) in mlx5_cmd_dealloc_pd()
129 u32 qpn, u16 uid) in mlx5_cmd_attach_mcg()
143 u32 qpn, u16 uid) in mlx5_cmd_detach_mcg()
156 int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid) in mlx5_cmd_xrcd_alloc()
170 int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid) in mlx5_cmd_xrcd_dealloc()
[all …]
/linux-6.6.21/include/linux/
Dhighuid.h47 #define high2lowuid(uid) ((uid) & ~0xFFFF ? (old_uid_t)overflowuid : (old_uid_t)(uid)) argument
53 #define low2highuid(uid) ((uid) == (old_uid_t)-1 ? (uid_t)-1 : (uid_t)(uid)) argument
56 #define __convert_uid(size, uid) \ argument
64 #define __convert_uid(size, uid) (uid) argument
70 #define SET_UID(var, uid) do { (var) = __convert_uid(sizeof(var), (uid)); } while (0) argument
92 #define fs_high2lowuid(uid) ((uid) & ~0xFFFF ? (uid16_t)fs_overflowuid : (uid16_t)(uid)) argument
Duidgid.h34 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val()
44 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val()
111 static inline bool uid_valid(kuid_t uid) in uid_valid()
131 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
143 static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) in make_kuid()
165 uid_t uid = from_kuid(to, kuid); in from_kuid_munged() local
179 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
Dmnt_idmapping.h28 static inline uid_t __vfsuid_val(vfsuid_t uid) in __vfsuid_val()
38 static inline uid_t __vfsuid_val(vfsuid_t uid) in __vfsuid_val()
49 static inline bool vfsuid_valid(vfsuid_t uid) in vfsuid_valid()
/linux-6.6.21/kernel/
Duser.c81 #define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) argument
82 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) argument
118 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
167 struct user_struct *find_user(kuid_t uid) in find_user()
190 struct user_struct *alloc_uid(kuid_t uid) in alloc_uid()
Ducount.c21 #define ucounts_hashfn(ns, uid) \ argument
24 #define ucounts_hashentry(ns, uid) \ argument
131 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts()
165 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) in alloc_ucounts()
230 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount()
/linux-6.6.21/drivers/platform/surface/aggregator/
Dbus.c79 struct ssam_device_uid uid) in ssam_device_alloc()
187 struct ssam_device_uid uid) in ssam_device_id_compatible()
234 const struct ssam_device_uid uid) in ssam_device_id_match()
393 static int ssam_device_uid_from_string(const char *str, struct ssam_device_uid *uid) in ssam_device_uid_from_string()
411 static int ssam_get_uid_for_node(struct fwnode_handle *node, struct ssam_device_uid *uid) in ssam_get_uid_for_node()
429 struct ssam_device_uid uid; in ssam_add_client_device() local
/linux-6.6.21/drivers/s390/block/
Ddasd_alias.c53 static struct alias_server *_find_server(struct dasd_uid *uid) in _find_server()
67 struct dasd_uid *uid) in _find_lcu()
78 struct dasd_uid *uid) in _find_group()
105 static struct alias_server *_allocate_server(struct dasd_uid *uid) in _allocate_server()
124 static struct alias_lcu *_allocate_lcu(struct dasd_uid *uid) in _allocate_lcu()
193 struct dasd_uid uid; in dasd_alias_make_device_known_to_lcu() local
251 struct dasd_uid uid; in dasd_alias_disconnect_device_from_lcu() local
319 struct dasd_uid uid; in _add_device_to_lcu() local
/linux-6.6.21/usr/
Dgen_init_cpio.c108 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink()
143 int uid; in cpio_mkslink_line() local
157 uid_t uid, gid_t gid) in cpio_mkgeneric()
214 int uid; in cpio_mkgeneric_line() local
245 uid_t uid, gid_t gid, char dev_type, in cpio_mknod()
282 int uid; in cpio_mknod_line() local
323 unsigned int mode, uid_t uid, gid_t gid, in cpio_mkfile()
456 int uid; in cpio_mkfile_line() local
/linux-6.6.21/fs/9p/
Dfid.c61 kuid_t uid, bool any) in v9fs_fid_find_inode()
113 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find()
171 kuid_t uid, int any) in v9fs_fid_lookup_with_uid()
290 kuid_t uid; in v9fs_fid_lookup() local
/linux-6.6.21/security/keys/
Dpersistent.c40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent()
73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent()
133 kuid_t uid; in keyctl_get_persistent() local
/linux-6.6.21/drivers/acpi/x86/
Dutils.c43 const char *uid; member
48 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \ argument
57 #define PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument
60 #define NOT_PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument
437 u64 uid; in acpi_quirk_skip_serdev_enumeration() local
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c75 uid_t uid, __u32 seq_num) in dump_tcp_sock()
148 uid_t uid, __u32 seq_num) in dump_tw_sock()
173 uid_t uid, __u32 seq_num) in dump_req_sock()
203 uid_t uid = ctx->uid; in dump_tcp4() local
Dbpf_iter_tcp6.c75 uid_t uid, __u32 seq_num) in dump_tcp6_sock()
153 uid_t uid, __u32 seq_num) in dump_tw_sock()
182 uid_t uid, __u32 seq_num) in dump_req_sock()
219 uid_t uid = ctx->uid; in dump_tcp6() local
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c215 u32 uid; member
339 u32 uid = 0; in __mlx4_alloc_from_zone() local
426 struct mlx4_zone_allocator *zones, u32 uid) in __mlx4_find_zone_by_uid()
438 struct mlx4_bitmap *mlx4_zone_get_bitmap(struct mlx4_zone_allocator *zones, u32 uid) in mlx4_zone_get_bitmap()
454 int mlx4_zone_remove_one(struct mlx4_zone_allocator *zones, u32 uid) in mlx4_zone_remove_one()
508 u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count, in mlx4_zone_alloc_entries()
529 u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones, u32 uid, u32 obj, u32 count) in mlx4_zone_free_entries()
/linux-6.6.21/tools/perf/util/
Dthread_map.c75 static struct perf_thread_map *__thread_map__new_all_cpus(uid_t uid) in __thread_map__new_all_cpus()
166 struct perf_thread_map *thread_map__new_by_uid(uid_t uid) in thread_map__new_by_uid()
171 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new()
294 uid_t uid, bool all_threads) in thread_map__new_str()
/linux-6.6.21/tools/crypto/ccp/
Ddbc_cli.py68 uid = None variable
84 uid = f.read() variable
/linux-6.6.21/drivers/vdpa/mlx5/core/
Dresources.c8 static int alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid) in alloc_pd()
26 static int dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid) in dealloc_pd()
51 static int create_uctx(struct mlx5_vdpa_dev *mvdev, u16 *uid) in create_uctx()
81 static void destroy_uctx(struct mlx5_vdpa_dev *mvdev, u32 uid) in destroy_uctx()
/linux-6.6.21/fs/smb/server/
Dsmbacl.c274 kuid_t uid; in sid_to_id() local
603 uid_t uid; in set_posix_acl_entries_dacl() local
670 uid_t uid; in set_posix_acl_entries_dacl() local
741 uid_t uid; in set_mode_dacl() local
905 uid_t uid; in build_sec_desc() local
1000 unsigned int uid, unsigned int gid) in smb_inherit_dacl()
1216 __le32 *pdaccess, int uid) in smb_check_perm_dacl()
/linux-6.6.21/drivers/acpi/
Dutils.c807 const char *uid; in acpi_dev_uid_to_integer() local
852 const char *uid; member
900 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) in acpi_dev_present()
932 acpi_dev_get_next_match_dev(struct acpi_device *adev, const char *hid, const char *uid, s64 hrv) in acpi_dev_get_next_match_dev()
962 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) in acpi_dev_get_first_match_dev()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c101 u16 uid) in mlx5_rl_are_equal_raw()
113 void *rl_in, u16 uid, bool dedicated) in find_rl_entry()
240 int mlx5_rl_add_rate_raw(struct mlx5_core_dev *dev, void *rl_in, u16 uid, in mlx5_rl_add_rate_raw()
/linux-6.6.21/fs/sysfs/
Dfile.c255 const struct attribute *attr, umode_t mode, kuid_t uid, in sysfs_add_file_mode_ns()
306 kuid_t uid, kgid_t gid, const void *ns) in sysfs_add_bin_file_mode_ns()
348 kuid_t uid; in sysfs_create_file_ns() local
383 kuid_t uid; in sysfs_add_file_to_group() local
561 kuid_t uid; in sysfs_create_bin_file() local
/linux-6.6.21/block/
Dioprio.c74 kuid_t uid; in SYSCALL_DEFINE3() local
215 kuid_t uid; in SYSCALL_DEFINE2() local
/linux-6.6.21/fs/
Dmnt_idmapping.c100 uid_t uid; in make_vfsuid() local
167 uid_t uid; in from_vfsuid() local
/linux-6.6.21/fs/squashfs/
Dsquashfs_fs.h272 __le16 uid; member
281 __le16 uid; member
291 __le16 uid; member
302 __le16 uid; member
313 __le16 uid; member
325 __le16 uid; member
337 __le16 uid; member
351 __le16 uid; member
368 __le16 uid; member
382 __le16 uid; member

12345678910>>...15