Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.12.1/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.12.1/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.h26 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val()
36 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val()
103 static inline bool uid_valid(kuid_t uid) in uid_valid()
123 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
138 static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) in make_kuid()
160 uid_t uid = from_kuid(to, kuid); in from_kuid_munged() local
174 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
Dmnt_idmapping.h29 static inline uid_t __vfsuid_val(vfsuid_t uid) in __vfsuid_val()
39 static inline uid_t __vfsuid_val(vfsuid_t uid) in __vfsuid_val()
50 static inline bool vfsuid_valid(vfsuid_t uid) in vfsuid_valid()
/linux-6.12.1/kernel/
Duser.c94 #define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) argument
95 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) argument
131 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
180 struct user_struct *find_user(kuid_t uid) in find_user()
203 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
130 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts()
164 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) in alloc_ucounts()
229 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount()
/linux-6.12.1/drivers/platform/surface/aggregator/
Dbus.c82 struct ssam_device_uid uid) in ssam_device_alloc()
190 struct ssam_device_uid uid) in ssam_device_id_compatible()
237 const struct ssam_device_uid uid) in ssam_device_id_match()
395 static int ssam_device_uid_from_string(const char *str, struct ssam_device_uid *uid) in ssam_device_uid_from_string()
413 static int ssam_get_uid_for_node(struct fwnode_handle *node, struct ssam_device_uid *uid) in ssam_get_uid_for_node()
431 struct ssam_device_uid uid; in ssam_add_client_device() local
/linux-6.12.1/drivers/s390/block/
Ddasd_alias.c45 static struct alias_server *_find_server(struct dasd_uid *uid) in _find_server()
59 struct dasd_uid *uid) in _find_lcu()
70 struct dasd_uid *uid) in _find_group()
97 static struct alias_server *_allocate_server(struct dasd_uid *uid) in _allocate_server()
116 static struct alias_lcu *_allocate_lcu(struct dasd_uid *uid) in _allocate_lcu()
185 struct dasd_uid uid; in dasd_alias_make_device_known_to_lcu() local
243 struct dasd_uid uid; in dasd_alias_disconnect_device_from_lcu() local
311 struct dasd_uid uid; in _add_device_to_lcu() local
/linux-6.12.1/usr/
Dgen_init_cpio.c109 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink()
144 int uid; in cpio_mkslink_line() local
158 uid_t uid, gid_t gid) in cpio_mkgeneric()
215 int uid; in cpio_mkgeneric_line() local
246 uid_t uid, gid_t gid, char dev_type, in cpio_mknod()
283 int uid; in cpio_mknod_line() local
324 unsigned int mode, uid_t uid, gid_t gid, in cpio_mkfile()
463 int uid; in cpio_mkfile_line() local
/linux-6.12.1/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()
170 kuid_t uid, int any) in v9fs_fid_lookup_with_uid()
289 kuid_t uid; in v9fs_fid_lookup() local
/linux-6.12.1/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.12.1/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.12.1/drivers/acpi/x86/
Dutils.c43 const char *uid; member
48 #define ENTRY(status, hid, uid, path, cpu_vfm, dmi...) { \ argument
57 #define PRESENT_ENTRY_HID(hid, uid, cpu_vfm, dmi...) \ argument
60 #define NOT_PRESENT_ENTRY_HID(hid, uid, cpu_vfm, dmi...) \ argument
442 u64 uid; in acpi_dmi_skip_serdev_enumeration() local
/linux-6.12.1/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.12.1/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()
165 struct perf_thread_map *thread_map__new_by_uid(uid_t uid) in thread_map__new_by_uid()
170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new()
293 uid_t uid, bool all_threads) in thread_map__new_str()
/linux-6.12.1/tools/crypto/ccp/
Ddbc_cli.py68 uid = None variable
84 uid = f.read() variable
/linux-6.12.1/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.12.1/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.12.1/drivers/acpi/
Dutils.c865 const char *uid; in acpi_dev_uid_to_integer() local
910 const char *uid; member
957 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) in acpi_dev_present()
989 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()
1019 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) in acpi_dev_get_first_match_dev()
/linux-6.12.1/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.12.1/block/
Dioprio.c74 kuid_t uid; in SYSCALL_DEFINE3() local
189 kuid_t uid; in SYSCALL_DEFINE2() local
/linux-6.12.1/fs/sysfs/
Dfile.c268 const struct attribute *attr, umode_t mode, kuid_t uid, in sysfs_add_file_mode_ns()
319 kuid_t uid, kgid_t gid, const void *ns) in sysfs_add_bin_file_mode_ns()
361 kuid_t uid; in sysfs_create_file_ns() local
396 kuid_t uid; in sysfs_add_file_to_group() local
576 kuid_t uid; in sysfs_create_bin_file() local
/linux-6.12.1/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
/linux-6.12.1/fs/
Dmnt_idmapping.c83 uid_t uid; in make_vfsuid() local
152 uid_t uid; in from_vfsuid() local

12345678910>>...16