/linux/drivers/crypto/qat/qat_common/ |
A D | qat_hal.c | 36 #define AE(handle, ae) ((handle)->hal_handle->aes[ae]) argument 845 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in qat_hal_init() 846 if (!handle) in qat_hal_init() 849 handle->hal_handle = kzalloc(sizeof(*handle->hal_handle), GFP_KERNEL); in qat_hal_init() 855 handle->chip_info = kzalloc(sizeof(*handle->chip_info), GFP_KERNEL); in qat_hal_init() 856 if (!handle->chip_info) { in qat_hal_init() 885 kfree(handle->chip_info); in qat_hal_init() 889 kfree(handle); in qat_hal_init() 895 if (!handle) in qat_hal_deinit() 897 kfree(handle->chip_info); in qat_hal_deinit() [all …]
|
A D | qat_uclo.c | 1012 if (qat_uclo_map_ae(handle, handle->hal_handle->ae_max_num)) { in qat_uclo_parse_uof_obj() 1132 kfree(handle->sobj_handle); in qat_uclo_del_suof() 1133 handle->sobj_handle = NULL; in qat_uclo_del_suof() 1534 qat_uclo_del_suof(handle); in qat_uclo_map_suof_obj() 1589 handle->obj_handle = NULL; in qat_uclo_map_uof_obj() 1631 kfree(handle->mobj_handle); in qat_uclo_del_mof() 1871 if (handle->mobj_handle) in qat_uclo_del_obj() 1872 qat_uclo_del_mof(handle); in qat_uclo_del_obj() 1873 if (handle->sobj_handle) in qat_uclo_del_obj() 1888 handle->obj_handle = NULL; in qat_uclo_del_obj() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/rmgr/src/ |
A D | rmgr_vbuf.c | 74 if ((!handle) || (!*handle)) { in ia_css_rmgr_refcount_retain_vbuf() 80 h = *handle; in ia_css_rmgr_refcount_retain_vbuf() 81 *handle = NULL; in ia_css_rmgr_refcount_retain_vbuf() 91 if (!*handle) { in ia_css_rmgr_refcount_retain_vbuf() 109 if ((!handle) || ((*handle) == NULL) || (((*handle)->count) == 0)) { in ia_css_rmgr_refcount_release_vbuf() 119 *handle = NULL; in ia_css_rmgr_refcount_release_vbuf() 206 assert(handle); in rmgr_push_handle() 233 assert(handle); in rmgr_pop_handle() 259 if ((!pool) || (!handle) || (!*handle)) { in ia_css_rmgr_acq_vbuf() 285 (*handle)->vptr = hmm_alloc((*handle)->size, in ia_css_rmgr_acq_vbuf() [all …]
|
/linux/fs/ext4/ |
A D | ext4_jbd2.c | 44 return handle; in ext4_get_nojournal() 120 err = handle->h_err; in __ext4_journal_stop() 157 return handle; in __ext4_journal_start_reserved() 186 if (!handle->h_err) in ext4_journal_abort_handle() 187 handle->h_err = err; in ext4_journal_abort_handle() 236 handle, err); in __ext4_journal_get_write_access() 291 bh, handle, err); in __ext4_forget() 304 bh, handle, err); in __ext4_forget() 352 handle, err); in __ext4_handle_dirty_metadata() 368 handle->h_type, in __ext4_handle_dirty_metadata() [all …]
|
A D | ext4_jbd2.h | 210 ext4_mark_iloc_dirty(handle_t *handle, 282 if (ext4_handle_valid(handle)) in ext4_handle_sync() 283 handle->h_sync = 1; in ext4_handle_sync() 288 if (ext4_handle_valid(handle)) in ext4_handle_is_aborted() 289 return is_handle_aborted(handle); in ext4_handle_is_aborted() 330 #define ext4_journal_stop(handle) \ argument 346 if (ext4_handle_valid(handle)) in ext4_journal_extend() 354 if (ext4_handle_valid(handle)) in ext4_journal_restart() 423 if (ext4_handle_valid(handle)) in ext4_jbd2_inode_add_write() 432 if (ext4_handle_valid(handle)) in ext4_jbd2_inode_add_wait() [all …]
|
A D | migrate.c | 413 handle_t *handle; in ext4_ext_migrate() local 447 if (IS_ERR(handle)) { in ext4_ext_migrate() 448 retval = PTR_ERR(handle); in ext4_ext_migrate() 471 ext4_journal_stop(handle); in ext4_ext_migrate() 494 if (IS_ERR(handle)) { in ext4_ext_migrate() 501 retval = PTR_ERR(handle); in ext4_ext_migrate() 583 ext4_journal_stop(handle); in ext4_ext_migrate() 605 handle_t *handle; in ext4_ind_migrate() local 626 if (IS_ERR(handle)) { in ext4_ind_migrate() 627 ret = PTR_ERR(handle); in ext4_ind_migrate() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
A D | hnae3.h | 171 struct hnae3_handle *handle; member 359 int (*reset_notify)(struct hnae3_handle *handle, 550 int (*start)(struct hnae3_handle *handle); 551 void (*stop)(struct hnae3_handle *handle); 554 int (*get_status)(struct hnae3_handle *handle); 602 int (*do_ioctl)(struct hnae3_handle *handle, 604 int (*add_uc_addr)(struct hnae3_handle *handle, 606 int (*rm_uc_addr)(struct hnae3_handle *handle, 611 int (*rm_mc_addr)(struct hnae3_handle *handle, 673 int (*set_led_id)(struct hnae3_handle *handle, [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_ae_adapt.c | 186 int q_num = handle->q_num; in hns_ae_ring_enable_all() 316 q = handle->qs[i]; in hns_ae_set_mtu() 363 hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_TX); in hns_ae_stop() 374 hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_RX); in hns_ae_stop() 595 assert(handle); in hns_ae_get_coalesce_range() 640 queue = handle->qs[idx]; in hns_ae_update_stats() 709 if (!handle || !data) { in hns_ae_get_stats() 744 assert(handle); in hns_ae_get_strings() 772 assert(handle); in hns_ae_get_sset_count() 816 assert(handle); in hns_ae_update_led_status() [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A D | sch_offload.sh | 19 local handle=$1; shift 23 h=$(qdisc_stats_get $h1 "$handle" .handle) 34 local handle=$1; shift 54 local handle=$1; shift 57 tc qdisc add dev $h1 $locus handle $handle \ 68 tc qdisc add dev $h1 $locus handle $handle \ 79 tc qdisc add dev $h1 $locus handle $handle \ 90 tc qdisc add dev $h1 $locus handle $handle \ 101 tc qdisc add dev $h1 $locus handle $handle pfifo limit 100K 111 tc qdisc add dev $h1 $locus handle $handle bfifo limit 100K [all …]
|
/linux/drivers/net/ethernet/qualcomm/ |
A D | qca_7k_common.c | 86 handle->state--; in qcafrm_fsm_decode() 90 handle->state = handle->init; in qcafrm_fsm_decode() 95 handle->state--; in qcafrm_fsm_decode() 104 handle->state = handle->init; in qcafrm_fsm_decode() 106 handle->state--; in qcafrm_fsm_decode() 116 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode() 126 handle->state = handle->init; in qcafrm_fsm_decode() 137 handle->state--; in qcafrm_fsm_decode() 142 handle->state = handle->init; in qcafrm_fsm_decode() 150 handle->state = handle->init; in qcafrm_fsm_decode() [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
A D | kgd_pp_interface.h | 296 int (*set_power_state)(void *handle); 300 bool (*vblank_too_short)(void *handle); 302 int (*check_state_equal)(void *handle, 314 int (*get_sclk_od)(void *handle); 316 int (*get_mclk_od)(void *handle); 332 int (*load_firmware)(void *handle); 349 u32 (*get_sclk)(void *handle, bool low); 350 u32 (*get_mclk)(void *handle, bool low); 355 int (*get_current_clocks)(void *handle, 357 int (*get_clock_by_type)(void *handle, [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/ |
A D | amd_powerplay.c | 94 static int pp_sw_init(void *handle) in pp_sw_init() argument 107 static int pp_sw_fini(void *handle) in pp_sw_fini() argument 120 static int pp_hw_init(void *handle) in pp_hw_init() argument 134 static int pp_hw_fini(void *handle) in pp_hw_fini() argument 231 static int pp_resume(void *handle) in pp_resume() argument 279 struct pp_hwmgr *hwmgr = handle; in pp_dpm_load_fw() 299 struct pp_hwmgr *hwmgr = handle; in pp_set_clockgating_by_smu() 351 struct pp_hwmgr *hwmgr = handle; in pp_dpm_force_performance_level() 369 void *handle) in pp_dpm_get_performance_level() argument 371 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_performance_level() [all …]
|
/linux/kernel/events/ |
A D | ring_buffer.c | 180 handle->rb = rb; in __perf_output_begin() 181 handle->event = event; in __perf_output_begin() 237 handle->addr = rb->data_pages[handle->page] + offset; in __perf_output_begin() 410 handle->rb = rb; in perf_aux_output_begin() 411 handle->event = event; in perf_aux_output_begin() 413 handle->size = 0; in perf_aux_output_begin() 414 handle->aux_flags = 0; in perf_aux_output_begin() 448 handle->event = NULL; in perf_aux_output_begin() 522 handle->event = NULL; in perf_aux_output_end() 551 handle->size -= size; in perf_aux_output_skip() [all …]
|
/linux/drivers/pci/hotplug/ |
A D | acpi_pcihp.c | 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() 114 if (handle) in acpi_get_hp_hw_control_from_firmware() 119 while (handle) { in acpi_get_hp_hw_control_from_firmware() 123 status = acpi_run_oshp(handle); in acpi_get_hp_hw_control_from_firmware() 126 if (acpi_is_root_bridge(handle)) in acpi_get_hp_hw_control_from_firmware() 128 chandle = handle; in acpi_get_hp_hw_control_from_firmware() 177 return pcihp_is_ejectable(handle); in acpi_pci_check_ejectable() 185 if (pcihp_is_ejectable(handle)) { in check_hotplug() [all …]
|
/linux/fs/jbd2/ |
A D | transaction.c | 482 if (!handle) in new_handle() 487 return handle; in new_handle() 500 if (handle) { in jbd2__journal_start() 503 return handle; in jbd2__journal_start() 509 if (!handle) in jbd2__journal_start() 538 return handle; in jbd2__journal_start() 706 handle->h_type, handle->h_line_no, in jbd2_journal_extend() 826 handle->h_type, handle->h_line_no, in jbd2__journal_restart() 1515 handle->h_type, handle->h_line_no, in jbd2_journal_dirty_metadata() 1834 tid, handle->h_type, handle->h_line_no, in jbd2_journal_stop() [all …]
|
/linux/drivers/misc/vmw_vmci/ |
A D | vmci_resource.c | 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() 81 struct vmci_handle handle; in vmci_resource_find_id() local 101 struct vmci_handle handle) in vmci_resource_add() argument 109 if (handle.resource == VMCI_INVALID_ID) { in vmci_resource_add() 110 handle.resource = vmci_resource_find_id(handle.context, in vmci_resource_add() 121 resource->handle = handle; in vmci_resource_add() 139 struct vmci_handle handle = resource->handle; in vmci_resource_remove() local 147 if (vmci_handle_is_equal(r->handle, resource->handle)) { in vmci_resource_remove() [all …]
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-trbe.c | 372 trbe_pad_buf(handle, delta); in __trbe_normal_offset() 385 if (!handle->size) in __trbe_normal_offset() 389 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __trbe_normal_offset() 453 if (handle->wakeup < (handle->head + handle->size) && head <= wakeup) in __trbe_normal_offset() 487 trbe_pad_buf(handle, handle->size); in __trbe_normal_offset() 812 handle->head += size; in arm_trbe_update_buffer() 950 *this_cpu_ptr(buf->cpudata->drvdata->handle) = handle; in __arm_trbe_enable() 1019 handle->head += size; in trbe_handle_overflow() 1089 if (WARN_ON_ONCE(!handle) || !perf_get_aux(handle)) in arm_trbe_irq_handler() 1092 if (!is_perf_trbe(handle)) in arm_trbe_irq_handler() [all …]
|
/linux/include/linux/soc/ti/ |
A D | ti_sci_protocol.h | 37 int (*reboot_device)(const struct ti_sci_handle *handle); 105 int (*is_valid)(const struct ti_sci_handle *handle, u32 id); 108 int (*is_idle)(const struct ti_sci_handle *handle, u32 id, 110 int (*is_stop)(const struct ti_sci_handle *handle, u32 id, 112 int (*is_on)(const struct ti_sci_handle *handle, u32 id, 316 int (*set_cfg)(const struct ti_sci_handle *handle, 334 int (*pair)(const struct ti_sci_handle *handle, u32 nav_id, 493 int (*tx_ch_cfg)(const struct ti_sci_handle *handle, 495 int (*rx_ch_cfg)(const struct ti_sci_handle *handle, 497 int (*rx_flow_cfg)(const struct ti_sci_handle *handle, [all …]
|
/linux/drivers/firmware/ |
A D | ti_sci.c | 445 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision() local 514 if (!handle) in ti_sci_set_device_state() 572 if (!handle) in ti_sci_get_device_state() 877 if (!handle) in ti_sci_cmd_set_device_resets() 952 if (!handle) in ti_sci_set_clock_state() 1017 if (!handle) in ti_sci_cmd_get_clock_state() 1251 if (!handle) in ti_sci_cmd_clk_set_parent() 1544 if (!handle) in ti_sci_cmd_clk_set_freq() 2890 handle = &info->handle; in ti_sci_get_handle() 3013 handle = &info->handle; in ti_sci_get_by_phandle() [all …]
|
/linux/drivers/acpi/ |
A D | scan.c | 204 acpi_handle handle = device->handle; in acpi_scan_try_to_offline() local 250 acpi_handle handle = device->handle; in acpi_scan_hot_remove() local 642 acpi_handle handle = adev->handle; in acpi_tie_acpi_dev() local 645 if (!handle) in acpi_tie_acpi_dev() 810 if (!handle) in acpi_bus_get_parent() 814 status = acpi_get_parent(handle, &handle); in acpi_bus_get_parent() 846 acpi_handle handle = dev->handle; in acpi_bus_extract_wakeup_device_power_package() local 1181 acpi_handle handle = adev->handle; in is_ejectable_bay() local 1311 tmp == handle) in acpi_object_is_system_bus() 1314 tmp == handle) in acpi_object_is_system_bus() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
A D | ibuf_ctrl_rmgr.c | 27 ibuf_handle_t *handle = NULL; in getHandle() local 31 return handle; in getHandle() 53 ibuf_handle_t *handle = NULL; in ia_css_isys_ibuf_rmgr_acquire() local 66 handle = getHandle(i); in ia_css_isys_ibuf_rmgr_acquire() 67 if (!handle->active) { in ia_css_isys_ibuf_rmgr_acquire() 69 handle->active = true; in ia_css_isys_ibuf_rmgr_acquire() 87 handle->active = true; in ia_css_isys_ibuf_rmgr_acquire() 110 ibuf_handle_t *handle = NULL; in ia_css_isys_ibuf_rmgr_release() local 115 handle = getHandle(i); in ia_css_isys_ibuf_rmgr_release() 116 if (handle->active && handle->start_addr == *start_addr) { in ia_css_isys_ibuf_rmgr_release() [all …]
|
/linux/drivers/media/usb/uvc/ |
A D | uvc_v4l2.c | 555 struct uvc_fh *handle; in uvc_v4l2_open() local 566 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in uvc_v4l2_open() 567 if (handle == NULL) { in uvc_v4l2_open() 578 kfree(handle); in uvc_v4l2_open() 587 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open() 589 handle->stream = stream; in uvc_v4l2_open() 609 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release() 610 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release() 611 kfree(handle); in uvc_v4l2_release() 666 struct uvc_fh *handle = fh; in uvc_ioctl_enum_fmt_vid_cap() local [all …]
|
/linux/kernel/power/ |
A D | swap.c | 439 handle->first_sector = handle->cur_swap; in get_swap_writer() 460 handle->cur->entries[handle->k++] = offset; in swap_write_page() 466 error = write_page(handle->cur, handle->cur_swap, hb); in swap_write_page() 490 if (handle->cur && handle->cur_swap) in flush_swap_writer() 491 return write_page(handle->cur, handle->cur_swap, NULL); in flush_swap_writer() 962 handle->maps = handle->maps->next; in release_swap_reader() 1010 handle->cur = handle->maps->map; in get_swap_reader() 1023 offset = handle->cur->entries[handle->k]; in swap_read_page() 1033 handle->maps = handle->maps->next; in swap_read_page() 1038 handle->cur = handle->maps->map; in swap_read_page() [all …]
|
/linux/drivers/sh/intc/ |
A D | chip.c | 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() 57 intc_disable_fns[_INTC_MODE(handle)](addr, handle,intc_reg_fns\ in intc_disable() 58 [_INTC_FN(handle)], irq); in intc_disable() 91 if (handle) { in intc_mask_ack() 97 switch (_INTC_FN(handle)) { in intc_mask_ack() 124 key.handle = 0; in intc_find_irq() 150 if (_INTC_FN(ihp->handle) != REG_FN_ERR) in intc_set_priority() 151 _intc_enable(data, ihp->handle); in intc_set_priority() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | post_act.c | 87 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in mlx5e_tc_post_act_add() 93 kfree(handle); in mlx5e_tc_post_act_add() 122 if (IS_ERR(handle->rule)) { in mlx5e_tc_post_act_add() 123 err = PTR_ERR(handle->rule); in mlx5e_tc_post_act_add() 127 handle->attr = post_attr; in mlx5e_tc_post_act_add() 130 return handle; in mlx5e_tc_post_act_add() 137 kfree(handle); in mlx5e_tc_post_act_add() 144 mlx5_tc_rule_delete(post_act->priv, handle->rule, handle->attr); in mlx5e_tc_post_act_del() 146 kfree(handle->attr); in mlx5e_tc_post_act_del() 147 kfree(handle); in mlx5e_tc_post_act_del() [all …]
|