| /linux/drivers/net/ethernet/qualcomm/ |
| H A D | qca_7k_common.c | 64 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) in qcafrm_fsm_decode() argument 69 switch (handle->state) { in qcafrm_fsm_decode() 73 handle->state--; in qcafrm_fsm_decode() 77 handle->state = handle->init; in qcafrm_fsm_decode() 82 handle->state--; in qcafrm_fsm_decode() 91 handle->state = handle->init; in qcafrm_fsm_decode() 93 handle->state--; in qcafrm_fsm_decode() 99 handle->offset = recv_byte; in qcafrm_fsm_decode() 100 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode() 103 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | sch_offload.sh | 19 local handle=$1; shift 23 h=$(qdisc_stats_get $h1 "$handle" .handle) 24 [[ $h == '"'$handle'"' ]] 25 check_err $? "Qdisc with handle $handle does not exist" 27 offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded) 29 check_fail $? "Qdisc with handle $handle offloaded, but should not be" 34 local handle=$1; shift 36 if [[ ! -z $handle ]]; then 37 local offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded) 39 check_err $? "Qdisc with handle $handle not offloaded" [all …]
|
| H A D | tc_restrictions.sh | 47 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 59 tc filter del block 22 protocol ip pref 1 handle 101 flower 64 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 73 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 77 tc filter del block 22 protocol ip pref 1 handle 101 flower 95 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 108 tc filter del block 22 protocol ip pref 1 handle 101 flower 113 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 123 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 130 tc filter add block 22 protocol ip pref 1 handle 101 flower \ [all …]
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | file_handle_test.c | 25 struct file_handle *handle; in TEST() local 36 handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ); in TEST() 37 ASSERT_NE(handle, NULL); in TEST() 44 handle->handle_bytes = MAX_HANDLE_SZ; in TEST() 45 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 47 SKIP(free(handle); close(ns_fd); in TEST() 51 ASSERT_GT(handle->handle_bytes, 0); in TEST() 54 fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY); in TEST() 56 SKIP(free(handle); close(ns_fd); in TEST() 61 SKIP(free(handle); close(ns_fd); in TEST() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_ae_adapt.c | 16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() argument 18 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb() 28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() argument 32 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb() 137 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument 139 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle() 142 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle() 143 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle() 148 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() argument 156 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down() [all …]
|
| /linux/drivers/pci/hotplug/ |
| H A D | acpi_pcihp.c | 38 static acpi_status acpi_run_oshp(acpi_handle handle) in acpi_run_oshp() argument 43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp() 46 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp() 73 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local 105 handle = ACPI_HANDLE(&pdev->dev); in acpi_get_hp_hw_control_from_firmware() 106 if (!handle) { in acpi_get_hp_hw_control_from_firmware() 113 handle = acpi_pci_get_bridge_handle(pbus); in acpi_get_hp_hw_control_from_firmware() 114 if (handle) in acpi_get_hp_hw_control_from_firmware() 119 while (handle) { in acpi_get_hp_hw_control_from_firmware() 120 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | post_act.c | 81 struct mlx5e_post_act_handle *handle) in mlx5e_tc_post_act_offload() argument 94 mlx5e_tc_match_to_reg_match(spec, FTEID_TO_REG, handle->id, MLX5_POST_ACTION_MASK); in mlx5e_tc_post_act_offload() 96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr); in mlx5e_tc_post_act_offload() 97 if (IS_ERR(handle->rule)) { in mlx5e_tc_post_act_offload() 98 err = PTR_ERR(handle->rule); in mlx5e_tc_post_act_offload() 114 struct mlx5e_post_act_handle *handle; in mlx5e_tc_post_act_add() local 120 handle = kzalloc_obj(*handle); in mlx5e_tc_post_act_add() 121 if (!handle) in mlx5e_tc_post_act_add() 132 handle->ns_type = post_act->ns_type; in mlx5e_tc_post_act_add() 134 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add() [all …]
|
| H A D | act_stats.c | 36 struct mlx5e_tc_act_stats_handle *handle; in mlx5e_tc_act_stats_create() local 39 handle = kvzalloc_obj(*handle); in mlx5e_tc_act_stats_create() 40 if (!handle) in mlx5e_tc_act_stats_create() 43 err = rhashtable_init(&handle->ht, &act_counters_ht_params); in mlx5e_tc_act_stats_create() 47 spin_lock_init(&handle->ht_lock); in mlx5e_tc_act_stats_create() 48 return handle; in mlx5e_tc_act_stats_create() 50 kvfree(handle); in mlx5e_tc_act_stats_create() 54 void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle) in mlx5e_tc_act_stats_free() argument 56 rhashtable_destroy(&handle->ht); in mlx5e_tc_act_stats_free() 57 kvfree(handle); in mlx5e_tc_act_stats_free() [all …]
|
| /linux/drivers/misc/vmw_vmci/ |
| H A D | vmci_resource.c | 30 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash() argument 32 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash() 38 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup() argument 42 unsigned int idx = vmci_resource_hash(handle); in vmci_resource_lookup() 47 u32 cid = r->handle.context; in vmci_resource_lookup() 48 u32 rid = r->handle.resource; in vmci_resource_lookup() 51 rid == handle.resource && in vmci_resource_lookup() 52 (cid == handle.context || cid == VMCI_INVALID_ID || in vmci_resource_lookup() 53 handle.context == VMCI_INVALID_ID)) { in vmci_resource_lookup() 81 struct vmci_handle handle; in vmci_resource_find_id() local [all …]
|
| H A D | vmci_doorbell.c | 85 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags() argument 87 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags() 90 if (handle.context == VMCI_HOST_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 94 resource = vmci_resource_by_handle(handle, in vmci_dbell_get_priv_flags() 102 } else if (handle.context == VMCI_HYPERVISOR_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 109 *priv_flags = vmci_context_get_priv_flags(handle.context); in vmci_dbell_get_priv_flags() 229 static int dbell_link(struct vmci_handle handle, u32 notify_idx) in dbell_link() argument 237 link_msg.handle = handle; in dbell_link() 247 static int dbell_unlink(struct vmci_handle handle) in dbell_unlink() argument 255 unlink_msg.handle = handle; in dbell_unlink() [all …]
|
| /linux/kernel/events/ |
| H A D | ring_buffer.c | 20 static void perf_output_wakeup(struct perf_output_handle *handle) in perf_output_wakeup() argument 22 atomic_set(&handle->rb->poll, EPOLLIN | EPOLLRDNORM); in perf_output_wakeup() 24 handle->event->pending_wakeup = 1; in perf_output_wakeup() 26 if (*perf_event_fasync(handle->event) && !handle->event->pending_kill) in perf_output_wakeup() 27 handle->event->pending_kill = POLL_IN; in perf_output_wakeup() 29 irq_work_queue(&handle->event->pending_irq); in perf_output_wakeup() 40 static void perf_output_get_handle(struct perf_output_handle *handle) in perf_output_get_handle() argument 42 struct perf_buffer *rb = handle->rb; in perf_output_get_handle() 51 handle->wakeup = local_read(&rb->wakeup); in perf_output_get_handle() 54 static void perf_output_put_handle(struct perf_output_handle *handle) in perf_output_put_handle() argument [all …]
|
| /linux/drivers/input/ |
| H A D | apm-power.c | 31 static void apmpower_event(struct input_handle *handle, unsigned int type, in apmpower_event() argument 52 struct input_handle *handle; in apmpower_connect() local 55 handle = kzalloc_obj(struct input_handle); in apmpower_connect() 56 if (!handle) in apmpower_connect() 59 handle->dev = dev; in apmpower_connect() 60 handle->handler = handler; in apmpower_connect() 61 handle->name = "apm-power"; in apmpower_connect() 63 error = input_register_handle(handle); in apmpower_connect() 67 kfree(handle); in apmpower_connect() 71 error = input_open_device(handle); in apmpower_connect() [all …]
|
| H A D | input-leds.c | 46 struct input_handle *handle; member 51 struct input_handle handle; member 59 struct input_dev *input = led->handle->dev; in input_leds_brightness_get() 69 input_inject_event(led->handle, EV_LED, led->code, !!brightness); in input_leds_brightness_set() 72 static void input_leds_event(struct input_handle *handle, unsigned int type, in input_leds_event() argument 110 leds->handle.dev = dev; in input_leds_connect() 111 leds->handle.handler = handler; in input_leds_connect() 112 leds->handle.name = "leds"; in input_leds_connect() 113 leds->handle.private = leds; in input_leds_connect() 115 error = input_register_handle(&leds->handle); in input_leds_connect() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | icp_qat_hal.h | 125 #define SET_CAP_CSR(handle, csr, val) \ argument 126 ADF_CSR_WR((handle)->hal_cap_g_ctl_csr_addr_v, csr, val) 127 #define GET_CAP_CSR(handle, csr) \ argument 128 ADF_CSR_RD((handle)->hal_cap_g_ctl_csr_addr_v, csr) 129 #define AE_CSR(handle, ae) \ argument 130 ((char __iomem *)(handle)->hal_cap_ae_local_csr_addr_v + ((ae) << 12)) 131 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & (csr))) argument 132 #define SET_AE_CSR(handle, ae, csr, val) \ argument 133 ADF_CSR_WR(AE_CSR_ADDR(handle, ae, csr), 0, val) 134 #define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0) argument [all …]
|
| /linux/drivers/acpi/riscv/ |
| H A D | irq.c | 16 acpi_handle handle; member 29 acpi_handle handle; member 59 static acpi_status riscv_acpi_update_gsi_handle(u32 gsi_base, acpi_handle handle) in riscv_acpi_update_gsi_handle() argument 67 ext_intc_element->handle = handle; in riscv_acpi_update_gsi_handle() 99 if (ext_intc_element->handle == ACPI_HANDLE_FWNODE(fwnode)) { in riscv_acpi_get_gsi_info() 123 adev = acpi_fetch_acpi_dev(ext_intc_element->handle); in riscv_acpi_get_gsi_domain_id() 171 static acpi_status __init riscv_acpi_create_gsi_map_smsi(acpi_handle handle, u32 level, in riscv_acpi_create_gsi_map_smsi() argument 177 if (!acpi_has_method(handle, "_GSB")) { in riscv_acpi_create_gsi_map_smsi() 178 acpi_handle_err(handle, "_GSB method not found\n"); in riscv_acpi_create_gsi_map_smsi() 182 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gbase); in riscv_acpi_create_gsi_map_smsi() [all …]
|
| /linux/drivers/sh/intc/ |
| H A D | chip.c | 16 void _intc_enable(struct irq_data *data, unsigned long handle) in _intc_enable() argument 23 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_E(handle)); cpu++) { in _intc_enable() 28 addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu); in _intc_enable() 29 intc_enable_fns[_INTC_MODE(handle)](addr, handle, intc_reg_fns\ in _intc_enable() 30 [_INTC_FN(handle)], irq); in _intc_enable() 45 unsigned long handle = (unsigned long)irq_data_get_irq_chip_data(data); in intc_disable() local 51 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_D(handle)); cpu++) { in intc_disable() 56 addr = INTC_REG(d, _INTC_ADDR_D(handle), cpu); in intc_disable() 57 intc_disable_fns[_INTC_MODE(handle)](addr, handle,intc_reg_fns\ in intc_disable() 58 [_INTC_FN(handle)], irq); in intc_disable() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_aca.c | 31 typedef int bank_handler_t(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type… 212 static bool aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type t… in aca_bank_is_valid() argument 214 const struct aca_bank_ops *bank_ops = handle->bank_ops; in aca_bank_is_valid() 218 return handle->hwip == ACA_HWIP_TYPE_UMC; in aca_bank_is_valid() 220 if (!aca_bank_hwip_is_matched(bank, handle->hwip)) in aca_bank_is_valid() 226 return bank_ops->aca_bank_is_valid(handle, bank, type, handle->data); in aca_bank_is_valid() 295 int aca_error_cache_log_bank_error(struct aca_handle *handle, struct aca_bank_info *info, in aca_error_cache_log_bank_error() argument 298 struct aca_error_cache *error_cache = &handle->error_cache; in aca_error_cache_log_bank_error() 302 if (!handle || !info || type >= ACA_ERROR_TYPE_COUNT) in aca_error_cache_log_bank_error() 318 static int aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type) in aca_bank_parser() argument [all …]
|
| /linux/tools/testing/selftests/alsa/ |
| H A D | test-pcmtest-driver.c | 83 static int setup_handle(snd_pcm_t **handle, snd_pcm_sw_params_t *swparams, in setup_handle() argument 91 err = snd_pcm_open(handle, pcm_name, stream, 0); in setup_handle() 94 snd_pcm_hw_params_any(*handle, hwparams); in setup_handle() 95 snd_pcm_hw_params_set_rate_resample(*handle, hwparams, 0); in setup_handle() 96 snd_pcm_hw_params_set_access(*handle, hwparams, params->access); in setup_handle() 97 snd_pcm_hw_params_set_format(*handle, hwparams, params->format); in setup_handle() 98 snd_pcm_hw_params_set_channels(*handle, hwparams, params->channels); in setup_handle() 99 snd_pcm_hw_params_set_rate_near(*handle, hwparams, ¶ms->rate, 0); in setup_handle() 100 snd_pcm_hw_params_set_period_size_near(*handle, hwparams, ¶ms->period_size, 0); in setup_handle() 101 snd_pcm_hw_params_set_buffer_size_near(*handle, hwparams, ¶ms->buffer_size); in setup_handle() [all …]
|
| /linux/drivers/leds/trigger/ |
| H A D | ledtrig-input-events.c | 52 static void input_events_event(struct input_handle *handle, unsigned int type, in input_events_event() argument 75 struct input_handle *handle; in input_events_connect() local 78 handle = kzalloc_obj(*handle); in input_events_connect() 79 if (!handle) in input_events_connect() 82 handle->dev = dev; in input_events_connect() 83 handle->handler = handler; in input_events_connect() 84 handle->name = KBUILD_MODNAME; in input_events_connect() 86 ret = input_register_handle(handle); in input_events_connect() 90 ret = input_open_device(handle); in input_events_connect() 97 input_unregister_handle(handle); in input_events_connect() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | tc_flower.sh | 44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 94 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ [all …]
|
| /linux/include/trace/events/ |
| H A D | nbd.h | 12 TP_PROTO(struct request *req, u64 handle), 14 TP_ARGS(req, handle), 18 __field(u64, handle) 23 __entry->handle = handle; 27 "nbd transport event: request %p, handle 0x%016llx", 29 __entry->handle 35 TP_PROTO(struct request *req, u64 handle), 37 TP_ARGS(req, handle) 42 TP_PROTO(struct request *req, u64 handle), [all...] |
| /linux/drivers/acpi/ |
| H A D | ioapic.c | 31 acpi_handle handle; member 68 static bool acpi_is_ioapic(acpi_handle handle, char **type) in acpi_is_ioapic() argument 75 if (!acpi_has_method(handle, "_GSB")) in acpi_is_ioapic() 78 status = acpi_get_object_info(handle, &info); in acpi_is_ioapic() 97 static acpi_status handle_ioapic_add(acpi_handle handle, u32 lvl, in handle_ioapic_add() argument 107 if (!acpi_is_ioapic(handle, &type)) in handle_ioapic_add() 112 if (ioapic->handle == handle) { in handle_ioapic_add() 117 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gsi_base); in handle_ioapic_add() 119 acpi_handle_warn(handle, "failed to evaluate _GSB method\n"); in handle_ioapic_add() 129 ioapic->handle = handle; in handle_ioapic_add() [all …]
|
| /linux/fs/ |
| H A D | fhandle.c | 26 struct file_handle *handle = NULL; in do_sys_name_to_handle() local 49 handle = kzalloc_flex(*handle, f_handle, f_handle.handle_bytes); in do_sys_name_to_handle() 50 if (!handle) in do_sys_name_to_handle() 58 (struct fid *)handle->f_handle, in do_sys_name_to_handle() 60 handle->handle_type = retval; in do_sys_name_to_handle() 63 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle() 64 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle() 89 handle->handle_type |= FILEID_IS_CONNECTABLE; in do_sys_name_to_handle() 91 handle->handle_type |= FILEID_IS_DIR; in do_sys_name_to_handle() 107 copy_to_user(ufh, handle, in do_sys_name_to_handle() [all …]
|
| /linux/net/shaper/ |
| H A D | shaper.c | 116 const struct net_shaper_handle *handle, in net_shaper_fill_handle() argument 121 if (handle->scope == NET_SHAPER_SCOPE_UNSPEC) in net_shaper_fill_handle() 128 if (nla_put_u32(msg, NET_SHAPER_A_HANDLE_SCOPE, handle->scope) || in net_shaper_fill_handle() 129 (handle->scope >= NET_SHAPER_SCOPE_QUEUE && in net_shaper_fill_handle() 130 nla_put_u32(msg, NET_SHAPER_A_HANDLE_ID, handle->id))) in net_shaper_fill_handle() 146 WRITE_ONCE(dst->handle.scope, READ_ONCE(src->handle.scope)); in net_shaper_copy() 147 WRITE_ONCE(dst->handle.id, READ_ONCE(src->handle.id)); in net_shaper_copy() 179 net_shaper_fill_handle(msg, &cur.handle, in net_shaper_fill_one() 278 net_shaper_handle_to_index(const struct net_shaper_handle * handle) net_shaper_handle_to_index() argument 285 net_shaper_index_to_handle(u32 index,struct net_shaper_handle * handle) net_shaper_index_to_handle() argument 291 net_shaper_default_parent(const struct net_shaper_handle * handle,struct net_shaper_handle * parent) net_shaper_default_parent() argument 311 net_shaper_lookup(struct net_shaper_binding * binding,const struct net_shaper_handle * handle) net_shaper_lookup() argument 360 net_shaper_pre_insert(struct net_shaper_binding * binding,struct net_shaper_handle * handle,struct netlink_ext_ack * extack) net_shaper_pre_insert() argument 470 net_shaper_parse_handle(const struct nlattr * attr,const struct genl_info * info,struct net_shaper_handle * handle) net_shaper_parse_handle() argument 817 struct net_shaper_handle handle; net_shaper_nl_get_doit() local 897 struct net_shaper_handle handle; net_shaper_nl_set_doit() local 943 struct net_shaper_handle parent_handle, handle = shaper->handle; __net_shaper_delete() local 1210 struct net_shaper_handle handle; net_shaper_nl_delete_doit() local 1242 net_shaper_group_send_reply(struct net_shaper_binding * binding,const struct net_shaper_handle * handle,struct genl_info * info,struct sk_buff * msg) net_shaper_group_send_reply() argument 1515 struct net_shaper_handle handle, parent_handle; net_shaper_set_real_num_tx_queues() local [all...] |
| /linux/drivers/iommu/ |
| H A D | iommu-sva.c | 78 struct iommu_sva *handle; in iommu_sva_bind_device() local 96 handle = container_of(attach_handle, struct iommu_sva, handle); in iommu_sva_bind_device() 101 refcount_inc(&handle->users); in iommu_sva_bind_device() 103 return handle; in iommu_sva_bind_device() 111 handle = kzalloc_obj(*handle); in iommu_sva_bind_device() 112 if (!handle) { in iommu_sva_bind_device() 120 &handle->handle); in iommu_sva_bind_device() 135 &handle->handle); in iommu_sva_bind_device() 147 refcount_set(&handle->users, 1); in iommu_sva_bind_device() 149 handle->dev = dev; in iommu_sva_bind_device() [all …]
|