/kernel/linux/linux-5.10/include/linux/ |
H A D | highuid.h | 26 * This is the "overflow" UID and GID. They are used to signify uid/gid 27 * overflow to old programs when they request uid/gid information but are 30 * processes are owned by this uid/gid. 46 /* prevent uid mod 65536 effect by returning a default value for high UIDs */ 47 #define high2lowuid(uid) ((uid) & ~0xFFFF ? (old_uid_t)overflowuid : (old_uid_t)(uid)) 53 #define low2highuid(uid) ((uid) == (old_uid_t)-1 ? (uid_t)-1 : (uid_t)(uid)) [all...] |
H A D | uidgid.h | 9 * the kernel are values used by userspace and which uid and gid values are 34 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() argument 36 return uid.val; in __kuid_val() 44 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() argument 119 static inline bool uid_valid(kuid_t uid) in uid_valid() argument 121 return __kuid_val(uid) != (uid_t) -1; in uid_valid() 131 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid); 134 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); 136 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid); 139 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() argument 151 make_kuid(struct user_namespace *from, uid_t uid) make_kuid() argument 173 uid_t uid = from_kuid(to, kuid); from_kuid_munged() local 187 kuid_has_mapping(struct user_namespace *ns, kuid_t uid) kuid_has_mapping() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | highuid.h | 26 * This is the "overflow" UID and GID. They are used to signify uid/gid 27 * overflow to old programs when they request uid/gid information but are 30 * processes are owned by this uid/gid. 46 /* prevent uid mod 65536 effect by returning a default value for high UIDs */ 47 #define high2lowuid(uid) ((uid) & ~0xFFFF ? (old_uid_t)overflowuid : (old_uid_t)(uid)) 53 #define low2highuid(uid) ((uid) == (old_uid_t)-1 ? (uid_t)-1 : (uid_t)(uid)) [all...] |
H A D | uidgid.h | 9 * the kernel are values used by userspace and which uid and gid values are 34 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() argument 36 return uid.val; in __kuid_val() 44 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() argument 119 static inline bool uid_valid(kuid_t uid) in uid_valid() argument 121 return __kuid_val(uid) != (uid_t) -1; in uid_valid() 131 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid); 134 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); 136 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid); 139 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() argument 151 make_kuid(struct user_namespace *from, uid_t uid) make_kuid() argument 173 uid_t uid = from_kuid(to, kuid); from_kuid_munged() local 187 kuid_has_mapping(struct user_namespace *ns, kuid_t uid) kuid_has_mapping() argument [all...] |
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | bus.c | 27 sdev->uid.domain, sdev->uid.category, sdev->uid.target, in modalias_show() 28 sdev->uid.instance, sdev->uid.function); in modalias_show() 43 sdev->uid.domain, sdev->uid.category, in ssam_device_uevent() 44 sdev->uid.target, sdev->uid.instance, in ssam_device_uevent() 45 sdev->uid in ssam_device_uevent() 78 ssam_device_alloc(struct ssam_controller *ctrl, struct ssam_device_uid uid) ssam_device_alloc() argument 186 ssam_device_id_compatible(const struct ssam_device_id *id, struct ssam_device_uid uid) ssam_device_id_compatible() argument 233 ssam_device_id_match(const struct ssam_device_id *table, const struct ssam_device_uid uid) ssam_device_id_match() argument 393 ssam_device_uid_from_string(const char *str, struct ssam_device_uid *uid) ssam_device_uid_from_string() argument 411 ssam_get_uid_for_node(struct fwnode_handle *node, struct ssam_device_uid *uid) ssam_get_uid_for_node() argument 429 struct ssam_device_uid uid; ssam_add_client_device() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | cmd.c | 57 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid) in mlx5_cmd_destroy_tir() argument 63 MLX5_SET(destroy_tir_in, in, uid, 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() argument 73 MLX5_SET(destroy_tis_in, in, uid, 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() argument 83 MLX5_SET(destroy_rqt_in, in, uid, uid); in mlx5_cmd_destroy_rqt() 88 u16 uid) in mlx5_cmd_alloc_transport_domain() 87 mlx5_cmd_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn, u16 uid) mlx5_cmd_alloc_transport_domain() argument 106 mlx5_cmd_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn, u16 uid) mlx5_cmd_dealloc_transport_domain() argument 118 mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid) mlx5_cmd_dealloc_pd() argument 128 mlx5_cmd_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn, u16 uid) mlx5_cmd_attach_mcg() argument 142 mlx5_cmd_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn, u16 uid) mlx5_cmd_detach_mcg() argument 156 mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid) mlx5_cmd_xrcd_alloc() argument 170 mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid) mlx5_cmd_xrcd_dealloc() argument 217 mlx5_cmd_uar_alloc(struct mlx5_core_dev *dev, u32 *uarn, u16 uid) mlx5_cmd_uar_alloc() argument 233 mlx5_cmd_uar_dealloc(struct mlx5_core_dev *dev, u32 uarn, u16 uid) mlx5_cmd_uar_dealloc() argument [all...] |
H A D | cmd.h | 43 int mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid); 44 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid); 45 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid); 46 int mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid); 48 u16 uid); 50 u16 uid); 52 u32 qpn, u16 uid); 54 u32 qpn, u16 uid); 55 int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid); 56 int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid); [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | lowpower_protocol.c | 31 uid_t uid; member 47 uid_t uid = foreground_uid_atomic_read(); in foreground_uid_show() local 49 seq_printf(seq, "%u\n", uid); in foreground_uid_show() 57 uid_t uid = simple_strtoul(p, &p, TO_DECIMAL); in foreground_uid_write() local 62 foreground_uid_atomic_set(uid); in foreground_uid_write() 73 seq_printf(seq, "uid list num: %u\n", g_dpa_uid_list_cnt); in dpa_uid_show() 75 seq_printf(seq, "%u\n", node->uid); in dpa_uid_show() 82 static int dpa_uid_add(uid_t uid); 83 static int dpa_uid_del(uid_t uid); 94 pr_err("[dpa-uid in dpa_uid_write() 120 dpa_uid_add(uid_t uid) dpa_uid_add() argument 151 dpa_uid_del(uid_t uid) dpa_uid_del() argument 172 uid_t uid = 0; parse_single_uid() local 204 uid_t uid = 0; parse_uids() local [all...] |
/kernel/linux/linux-5.10/security/safesetid/ |
H A D | lsm.c | 39 hash_for_each_possible(policy->rules, rule, next, __kuid_val(src.uid)) { in _setid_policy_lookup() 40 if (!uid_eq(rule->src_id.uid, src.uid)) in _setid_policy_lookup() 42 if (uid_eq(rule->dst_id.uid, dst.uid)) in _setid_policy_lookup() 119 if (setid_policy_lookup((kid_t){.uid = cred->uid}, INVALID_ID, UID) == SIDPOL_DEFAULT) in safesetid_security_capable() 123 * set*uid() (e.g. setting up userns uid mappings). in safesetid_security_capable() 125 pr_warn("Operation requires CAP_SETUID, which is not available to UID %u for operations besides approved set*uid transition in safesetid_security_capable() [all...] |
/kernel/linux/linux-6.6/security/safesetid/ |
H A D | lsm.c | 39 hash_for_each_possible(policy->rules, rule, next, __kuid_val(src.uid)) { in _setid_policy_lookup() 40 if (!uid_eq(rule->src_id.uid, src.uid)) in _setid_policy_lookup() 42 if (uid_eq(rule->dst_id.uid, dst.uid)) in _setid_policy_lookup() 113 if (setid_policy_lookup((kid_t){.uid = cred->uid}, INVALID_ID, UID) == SIDPOL_DEFAULT) in safesetid_security_capable() 117 * set*uid() (e.g. setting up userns uid mappings). in safesetid_security_capable() 119 pr_warn("Operation requires CAP_SETUID, which is not available to UID %u for operations besides approved set*uid transition in safesetid_security_capable() [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | user.c | 81 #define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) 82 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) 104 .uid = GLOBAL_ROOT_UID, 121 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument 126 if (uid_eq(user->uid, uid)) { in uid_hash_find() 153 struct user_struct *find_user(kuid_t uid) in find_user() argument 175 alloc_uid(kuid_t uid) alloc_uid() argument [all...] |
H A D | ucount.c | 15 #define ucounts_hashfn(ns, uid) \ 16 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \ 18 #define ucounts_hashentry(ns, uid) \ 19 (ucounts_hashtable + ucounts_hashfn(ns, uid)) 117 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) in find_ucounts() argument 122 if (uid_eq(ucounts->uid, uid) && (ucounts->ns == ns)) in find_ucounts() 128 static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) in get_ucounts() argument 130 struct hlist_head *hashent = ucounts_hashentry(ns, uid); in get_ucounts() 134 ucounts = find_ucounts(ns, uid, hashen in get_ucounts() 192 inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type) inc_ucount() argument [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | user.c | 81 #define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) 82 #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) 101 .uid = GLOBAL_ROOT_UID, 118 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find() argument 123 if (uid_eq(user->uid, uid)) { in uid_hash_find() 167 struct user_struct *find_user(kuid_t uid) in find_user() argument 190 alloc_uid(kuid_t uid) alloc_uid() argument [all...] |
/kernel/linux/linux-6.6/drivers/vdpa/mlx5/core/ |
H A D | resources.c | 8 static int alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid) in alloc_pd() argument 17 MLX5_SET(alloc_pd_in, in, uid, uid); in alloc_pd() 26 static int dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid) in dealloc_pd() argument 33 MLX5_SET(dealloc_pd_in, in, uid, uid); in dealloc_pd() 51 static int create_uctx(struct mlx5_vdpa_dev *mvdev, u16 *uid) in create_uctx() argument 76 *uid = MLX5_GET(create_uctx_out, out, uid); in create_uctx() 81 static void destroy_uctx(struct mlx5_vdpa_dev *mvdev, u32 uid) in destroy_uctx() argument [all...] |
/kernel/linux/linux-6.6/fs/9p/ |
H A D | fid.c | 56 * @uid: return a fid belonging to the specified user 57 * @any: ignore uid as a selection criteria 61 kuid_t uid, bool any) in v9fs_fid_find_inode() 71 if (any || uid_eq(fid->uid, uid)) { in v9fs_fid_find_inode() 106 * v9fs_fid_find - retrieve a fid that belongs to the specified uid 108 * @uid: return fid that belongs to the specified user 113 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() argument 117 p9_debug(P9_DEBUG_VFS, " dentry: %pd (%p) uid %d any %d\n", in v9fs_fid_find() 118 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find() 60 v9fs_fid_find_inode(struct inode *inode, bool want_writeable, kuid_t uid, bool any) v9fs_fid_find_inode() argument 170 v9fs_fid_lookup_with_uid(struct dentry *dentry, kuid_t uid, int any) v9fs_fid_lookup_with_uid() argument 290 kuid_t uid; v9fs_fid_lookup() local [all...] |
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
H A D | resources.c | 7 static int alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid) in alloc_pd() argument 16 MLX5_SET(alloc_pd_in, in, uid, uid); in alloc_pd() 25 static int dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid) in dealloc_pd() argument 32 MLX5_SET(dealloc_pd_in, in, uid, uid); in dealloc_pd() 50 static int create_uctx(struct mlx5_vdpa_dev *mvdev, u16 *uid) in create_uctx() argument 72 *uid = MLX5_GET(create_uctx_out, out, uid); in create_uctx() 77 static void destroy_uctx(struct mlx5_vdpa_dev *mvdev, u32 uid) in destroy_uctx() argument [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_alias.c | 53 static struct alias_server *_find_server(struct dasd_uid *uid) in _find_server() argument 57 if (!strncmp(pos->uid.vendor, uid->vendor, in _find_server() 58 sizeof(uid->vendor)) in _find_server() 59 && !strncmp(pos->uid.serial, uid->serial, in _find_server() 60 sizeof(uid->serial))) in _find_server() 67 struct dasd_uid *uid) in _find_lcu() 71 if (pos->uid.ssid == uid in _find_lcu() 66 _find_lcu(struct alias_server *server, struct dasd_uid *uid) _find_lcu() argument 77 _find_group(struct alias_lcu *lcu, struct dasd_uid *uid) _find_group() argument 105 _allocate_server(struct dasd_uid *uid) _allocate_server() argument 124 _allocate_lcu(struct dasd_uid *uid) _allocate_lcu() argument 193 struct dasd_uid uid; dasd_alias_make_device_known_to_lcu() local 251 struct dasd_uid uid; dasd_alias_disconnect_device_from_lcu() local 319 struct dasd_uid uid; _add_device_to_lcu() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd_alias.c | 53 static struct alias_server *_find_server(struct dasd_uid *uid) in _find_server() argument 57 if (!strncmp(pos->uid.vendor, uid->vendor, in _find_server() 58 sizeof(uid->vendor)) in _find_server() 59 && !strncmp(pos->uid.serial, uid->serial, in _find_server() 60 sizeof(uid->serial))) in _find_server() 67 struct dasd_uid *uid) in _find_lcu() 71 if (pos->uid.ssid == uid in _find_lcu() 66 _find_lcu(struct alias_server *server, struct dasd_uid *uid) _find_lcu() argument 77 _find_group(struct alias_lcu *lcu, struct dasd_uid *uid) _find_group() argument 105 _allocate_server(struct dasd_uid *uid) _allocate_server() argument 124 _allocate_lcu(struct dasd_uid *uid) _allocate_lcu() argument 193 struct dasd_uid uid; dasd_alias_make_device_known_to_lcu() local 251 struct dasd_uid uid; dasd_alias_disconnect_device_from_lcu() local 319 struct dasd_uid uid; _add_device_to_lcu() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | cmd.h | 47 int mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid); 48 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid); 49 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid); 50 int mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid); 52 u16 uid); 54 u16 uid); 56 u32 qpn, u16 uid); 58 u32 qpn, u16 uid); 59 int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid); 60 int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid); [all...] |
H A D | cmd.c | 151 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid) in mlx5_cmd_destroy_tir() argument 157 MLX5_SET(destroy_tir_in, in, uid, uid); in mlx5_cmd_destroy_tir() 161 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid) in mlx5_cmd_destroy_tis() argument 167 MLX5_SET(destroy_tis_in, in, uid, uid); in mlx5_cmd_destroy_tis() 171 int mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid) in mlx5_cmd_destroy_rqt() argument 177 MLX5_SET(destroy_rqt_in, in, uid, uid); in mlx5_cmd_destroy_rqt() 182 u16 uid) in mlx5_cmd_alloc_transport_domain() 181 mlx5_cmd_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn, u16 uid) mlx5_cmd_alloc_transport_domain() argument 200 mlx5_cmd_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn, u16 uid) mlx5_cmd_dealloc_transport_domain() argument 212 mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid) mlx5_cmd_dealloc_pd() argument 222 mlx5_cmd_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn, u16 uid) mlx5_cmd_attach_mcg() argument 236 mlx5_cmd_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn, u16 uid) mlx5_cmd_detach_mcg() argument 250 mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid) mlx5_cmd_xrcd_alloc() argument 264 mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid) mlx5_cmd_xrcd_dealloc() argument [all...] |
H A D | qpc.c | 209 MLX5_SET(destroy_dct_in, in, uid, qp->uid); in _mlx5_core_destroy_dct() 228 qp->uid = MLX5_GET(create_dct_in, in, uid); in mlx5_core_create_dct() 252 qp->uid = MLX5_GET(create_qp_in, in, uid); in mlx5_qpc_create_qp() 266 MLX5_SET(destroy_qp_in, din, uid, qp->uid); in mlx5_qpc_create_qp() 279 MLX5_SET(drain_dct_in, in, uid, qp->uid); in mlx5_core_drain_dct() 370 modify_qp_mbox_alloc(struct mlx5_core_dev *dev, u16 opcode, int qpn, u32 opt_param_mask, void *qpc, struct mbox_info *mbox, u16 uid, u32 ece) modify_qp_mbox_alloc() argument 544 destroy_rq_tracked(struct mlx5_ib_dev *dev, u32 rqn, u16 uid) destroy_rq_tracked() argument 585 destroy_sq_tracked(struct mlx5_ib_dev *dev, u32 sqn, u16 uid) destroy_sq_tracked() argument [all...] |
/kernel/linux/linux-5.10/security/keys/ |
H A D | persistent.c | 40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() argument 58 uid, INVALID_GID, current_cred(), in key_create_persistent() 73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent() argument 86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent() 103 persistent_ref = key_create_persistent(ns, uid, &index_key); in key_get_persistent() 133 kuid_t uid; in keyctl_get_persistent() local 138 uid = current_uid(); in keyctl_get_persistent() 140 uid = make_kuid(ns, _uid); in keyctl_get_persistent() 141 if (!uid_valid(uid)) in keyctl_get_persistent() 147 if (!uid_eq(uid, current_ui in keyctl_get_persistent() [all...] |
/kernel/linux/linux-6.6/security/keys/ |
H A D | persistent.c | 40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() argument 58 uid, INVALID_GID, current_cred(), in key_create_persistent() 73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent() argument 86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent() 103 persistent_ref = key_create_persistent(ns, uid, &index_key); in key_get_persistent() 133 kuid_t uid; in keyctl_get_persistent() local 138 uid = current_uid(); in keyctl_get_persistent() 140 uid = make_kuid(ns, _uid); in keyctl_get_persistent() 141 if (!uid_valid(uid)) in keyctl_get_persistent() 147 if (!uid_eq(uid, current_ui in keyctl_get_persistent() [all...] |
/kernel/linux/linux-5.10/fs/9p/ |
H A D | fid.c | 42 * v9fs_fid_find - retrieve a fid that belongs to the specified uid 44 * @uid: return fid that belongs to the specified user 49 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() argument 53 p9_debug(P9_DEBUG_VFS, " dentry: %pd (%p) uid %d any %d\n", in v9fs_fid_find() 54 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find() 62 if (any || uid_eq(fid->uid, uid)) { in v9fs_fid_find() 102 kuid_t uid, int any) in v9fs_fid_lookup_with_uid() 112 fid = v9fs_fid_find(dentry, uid, any); in v9fs_fid_lookup_with_uid() 122 fid = v9fs_fid_find(ds, uid, an in v9fs_fid_lookup_with_uid() 101 v9fs_fid_lookup_with_uid(struct dentry *dentry, kuid_t uid, int any) v9fs_fid_lookup_with_uid() argument 218 kuid_t uid; v9fs_fid_lookup() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/surface-hid/ |
H A D | surface_kbd.c | 40 rqst.target_category = shid->uid.category; in ssam_kbd_get_descriptor() 41 rqst.target_id = shid->uid.target; in ssam_kbd_get_descriptor() 43 rqst.instance_id = shid->uid.instance; in ssam_kbd_get_descriptor() 70 rqst.target_category = shid->uid.category; in ssam_kbd_set_caps_led() 71 rqst.target_id = shid->uid.target; in ssam_kbd_set_caps_led() 73 rqst.instance_id = shid->uid.instance; in ssam_kbd_set_caps_led() 88 rqst.target_category = shid->uid.category; in ssam_kbd_get_feature_report() 89 rqst.target_id = shid->uid.target; in ssam_kbd_get_feature_report() 91 rqst.instance_id = shid->uid.instance; in ssam_kbd_get_feature_report() 133 if (shid->uid in ssam_kbd_event_fn() [all...] |