Home
last modified time | relevance | path

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

12345678910>>...17

/openbmc/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()
217 int mlx5_cmd_uar_alloc(struct mlx5_core_dev *dev, u32 *uarn, u16 uid) in mlx5_cmd_uar_alloc()
[all …]
/openbmc/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.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()
H A 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()
/openbmc/linux/kernel/
H A 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()
H A 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()
/openbmc/linux/drivers/platform/surface/aggregator/
H A 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
/openbmc/linux/drivers/s390/block/
H A 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
/openbmc/linux/usr/
H A 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
/openbmc/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
/openbmc/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()
171 kuid_t uid, int any) in v9fs_fid_lookup_with_uid()
290 kuid_t uid; in v9fs_fid_lookup() local
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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
H A 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
/openbmc/linux/drivers/acpi/x86/
H A 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
435 u64 uid; in acpi_dmi_skip_serdev_enumeration() local
/openbmc/linux/tools/crypto/ccp/
H A Ddbc_cli.py68 uid = None variable
84 uid = f.read() variable
/openbmc/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()
/openbmc/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()
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()
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c234 unsigned long uid, unsigned long gid, unsigned long mode) in add_new_directory()
251 static void add_new_device(char *name, char *path, unsigned long uid, in add_new_device()
295 static void add_new_file(char *name, char *path, unsigned long uid, in add_new_file()
314 static void add_new_fifo(char *name, char *path, unsigned long uid, in add_new_fifo()
364 unsigned long mode = 0755, uid = 0, gid = 0, major = 0, minor = 0; in interpret_table_entry() local
/openbmc/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()
/openbmc/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()
1216 __le32 *pdaccess, int uid) in smb_check_perm_dacl()
/openbmc/linux/drivers/acpi/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/openbmc/linux/block/
H A Dioprio.c74 kuid_t uid; in SYSCALL_DEFINE3() local
215 kuid_t uid; in SYSCALL_DEFINE2() local
/openbmc/qemu/fsdev/
H A Dvirtfs-proxy-helper.c288 static int setugid(int uid, int gid, int *suid, int *sgid) in setugid()
644 int mode, uid, gid, cur_uid, cur_gid; in do_create_others() local
701 int flags, mode, uid, gid, cur_uid, cur_gid; in do_create() local
748 static int proxy_socket(const char *path, uid_t uid, gid_t gid) in proxy_socket()
868 int mode, uid, gid; in process_requests() local
/openbmc/linux/fs/sysfs/
H A 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
563 kuid_t uid; in sysfs_create_bin_file() local

12345678910>>...17