Home
last modified time | relevance | path

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

12345678910>>...13

/linux/drivers/infiniband/hw/mlx5/
H A 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/include/linux/
H A 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
H A 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()
H A 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/kernel/
H A 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()
H A 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 *hashent) in find_ucounts() argument
164 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) in alloc_ucounts() argument
229 inc_ucount(struct user_namespace * ns,kuid_t uid,enum ucount_type type) inc_ucount() argument
[all...]
/linux/drivers/platform/surface/aggregator/
H A 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/drivers/s390/block/
H A 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/usr/
H A 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/fs/9p/
H A 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/security/keys/
H A 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/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c75 uid_t uid, __u32 seq_num) in dump_tcp_sock() argument
148 uid_t uid, __u32 seq_num) in dump_tw_sock() argument
173 uid_t uid, __u32 seq_num) in dump_req_sock() argument
203 uid_t uid = ctx->uid; in dump_tcp4() local
[all...]
H A Dbpf_iter_tcp6.c75 uid_t uid, __u32 seq_num) in dump_tcp6_sock() argument
153 uid_t uid, __u32 seq_num) in dump_tw_sock() argument
182 uid_t uid, __u32 seq_num) in dump_req_sock() argument
219 uid_t uid = ctx->uid; in dump_tcp6() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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/tools/perf/util/
H A 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/tools/crypto/ccp/
H A Ddbc_cli.py68 uid = None variable
84 uid = f.read() variable
/linux/fs/smb/server/
H A 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()
1217 __le32 *pdaccess, int uid) in smb_check_perm_dacl()
/linux/drivers/vdpa/mlx5/core/
H A 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/drivers/acpi/
H A 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/block/
H A Dioprio.c74 kuid_t uid; in SYSCALL_DEFINE3() local
189 kuid_t uid; in SYSCALL_DEFINE2() local
/linux/fs/squashfs/
H A 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/tools/testing/selftests/net/af_unix/
H A Ddiag_uid.c33 FIXTURE_VARIANT_ADD(diag_uid, uid) in FIXTURE_VARIANT_ADD() argument
121 uid_t uid; in render_response() local
/linux/fs/
H A Dmnt_idmapping.c83 uid_t uid; in make_vfsuid() local
152 uid_t uid; in from_vfsuid() local
/linux/drivers/base/
H A Ddevtmpfs.c52 kuid_t uid; member
204 static int handle_create(const char *nodename, umode_t mode, kuid_t uid, in handle_create()
380 static int handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, in handle()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c144 u64 length, u32 log_alignment, u16 uid, in mlx5_dm_sw_icm_alloc()
248 u64 length, u16 uid, phys_addr_t addr, u32 obj_id) in mlx5_dm_sw_icm_dealloc()

12345678910>>...13