Home
last modified time | relevance | path

Searched refs:handle (Results 26 – 50 of 3737) sorted by relevance

12345678910>>...150

/openbmc/linux/fs/ext4/
H A Dmigrate.c411 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()
478 ext4_journal_stop(handle); in ext4_ext_migrate()
501 if (IS_ERR(handle)) { in ext4_ext_migrate()
502 retval = PTR_ERR(handle); in ext4_ext_migrate()
584 ext4_journal_stop(handle); in ext4_ext_migrate()
606 handle_t *handle; in ext4_ind_migrate() local
628 if (IS_ERR(handle)) { in ext4_ind_migrate()
629 ret = PTR_ERR(handle); in ext4_ind_migrate()
[all …]
/openbmc/linux/include/linux/soc/ti/
H A Dti_sci_protocol.h37 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 …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c427 trbe_pad_buf(handle, delta); in __trbe_normal_offset()
440 if (!handle->size) in __trbe_normal_offset()
444 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __trbe_normal_offset()
508 if (handle->wakeup < (handle->head + handle->size) && head <= wakeup) in __trbe_normal_offset()
542 trbe_pad_buf(handle, handle->size); in __trbe_normal_offset()
863 handle->head += size; in arm_trbe_update_buffer()
1001 *this_cpu_ptr(buf->cpudata->drvdata->handle) = handle; in __arm_trbe_enable()
1070 handle->head += size; in trbe_handle_overflow()
1141 if (WARN_ON_ONCE(!handle) || !perf_get_aux(handle)) in arm_trbe_irq_handler()
1144 if (!is_perf_trbe(handle)) in arm_trbe_irq_handler()
[all …]
/openbmc/u-boot/examples/api/
H A Dglue.c211 int ub_dev_open(int handle) in ub_dev_open() argument
216 if (handle < 0 || handle >= UB_MAX_DEV) in ub_dev_open()
219 di = &devices[handle]; in ub_dev_open()
231 if (handle < 0 || handle >= UB_MAX_DEV) in ub_dev_close()
234 di = &devices[handle]; in ub_dev_close()
252 if (handle < 0 || handle >= UB_MAX_DEV) in dev_valid()
263 if (!dev_valid(handle)) in dev_stor_valid()
282 di = &devices[handle]; in ub_dev_read()
294 if (!dev_valid(handle)) in dev_net_valid()
311 di = &devices[handle]; in ub_dev_recv()
[all …]
/openbmc/linux/drivers/acpi/
H A Dscan.c203 acpi_handle handle = device->handle; in acpi_scan_try_to_offline() local
249 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()
809 if (!handle) in acpi_find_parent_acpi_dev()
815 status = acpi_get_parent(handle, &handle); in acpi_find_parent_acpi_dev()
852 acpi_handle handle = dev->handle; in acpi_bus_extract_wakeup_device_power_package() local
1190 acpi_handle handle = adev->handle; in is_ejectable_bay() local
1320 tmp == handle) in acpi_object_is_system_bus()
1323 tmp == handle) in acpi_object_is_system_bus()
[all …]
H A Dpci_link.c88 acpi_handle handle = link->device->handle; in acpi_pci_link_check_possible() local
99 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
107 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
125 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
157 acpi_handle handle = link->device->handle; in acpi_pci_link_get_possible() local
230 acpi_handle handle = link->device->handle; in acpi_pci_link_get_current() local
284 acpi_handle handle = link->device->handle; in acpi_pci_link_set() local
530 acpi_handle handle = link->device->handle; in acpi_pci_link_allocate() local
578 acpi_handle_err(handle, in acpi_pci_link_allocate()
585 acpi_handle_err(handle, in acpi_pci_link_allocate()
[all …]
H A Dioapic.c31 acpi_handle handle; member
75 if (!acpi_has_method(handle, "_GSB")) in acpi_is_ioapic()
78 status = acpi_get_object_info(handle, &info); in acpi_is_ioapic()
107 if (!acpi_is_ioapic(handle, &type)) in handle_ioapic_add()
112 if (ioapic->handle == handle) { in handle_ioapic_add()
129 ioapic->handle = handle; in handle_ioapic_add()
134 if (acpi_ioapic_registered(handle, (u32)gsi_base)) in handle_ioapic_add()
137 dev = acpi_get_pci_dev(handle); in handle_ioapic_add()
180 acpi_handle_info(handle, "%s at %pR, GSI %u\n", in handle_ioapic_add()
219 if (root->device->handle != ioapic->root_handle) in pci_ioapic_remove()
[all …]
H A Dutils.c225 (void *)element->reference.handle; in acpi_extract_package()
247 acpi_evaluate_integer(acpi_handle handle, in acpi_evaluate_integer() argument
262 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_integer()
333 acpi_evaluate_reference(acpi_handle handle, in acpi_evaluate_reference() argument
391 if (!element->reference.handle) { in acpi_evaluate_reference()
398 list->handles[i] = element->reference.handle; in acpi_evaluate_reference()
525 path = acpi_handle_path(handle); in acpi_handle_printk()
557 path = acpi_handle_path(handle); in __acpi_handle_debug()
640 acpi_handle_warn(handle, in acpi_evaluate_lck()
643 acpi_handle_warn(handle, in acpi_evaluate_lck()
[all …]
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_doorbell.c237 link_msg.handle = handle; in dbell_link()
255 unlink_msg.handle = handle; in dbell_unlink()
272 notify_msg.handle = handle; in dbell_notify_as_guest()
299 handle.context, handle.resource); in vmci_dbell_host_context_notify()
307 handle.context, handle.resource); in vmci_dbell_host_context_notify()
457 handle->context, handle->resource); in vmci_doorbell_create()
462 new_handle = *handle; in vmci_doorbell_create()
493 *handle = new_handle; in vmci_doorbell_create()
525 handle.context, handle.resource); in vmci_doorbell_destroy()
536 result = dbell_unlink(handle); in vmci_doorbell_destroy()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dact_stats.c39 handle = kvzalloc(sizeof(*handle), GFP_KERNEL); in mlx5e_tc_act_stats_create()
40 if (!handle) 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()
56 rhashtable_destroy(&handle->ht); in mlx5e_tc_act_stats_free()
57 kvfree(handle); in mlx5e_tc_act_stats_free()
66 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_add()
117 spin_lock(&handle->ht_lock); in mlx5e_tc_act_stats_del_flow()
126 spin_unlock(&handle->ht_lock); in mlx5e_tc_act_stats_del_flow()
[all …]
/openbmc/linux/kernel/power/
H A Dswap.c441 handle->first_sector = handle->cur_swap; in get_swap_writer()
462 handle->cur->entries[handle->k++] = offset; in swap_write_page()
468 error = write_page(handle->cur, handle->cur_swap, hb); in swap_write_page()
492 if (handle->cur && handle->cur_swap) in flush_swap_writer()
493 return write_page(handle->cur, handle->cur_swap, NULL); in flush_swap_writer()
964 handle->maps = handle->maps->next; in release_swap_reader()
1012 handle->cur = handle->maps->map; in get_swap_reader()
1025 offset = handle->cur->entries[handle->k]; in swap_read_page()
1035 handle->maps = handle->maps->next; in swap_read_page()
1040 handle->cur = handle->maps->map; in swap_read_page()
[all …]
/openbmc/linux/drivers/firmware/
H A Dti_sci.c448 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision() local
517 if (!handle) in ti_sci_set_device_state()
575 if (!handle) in ti_sci_get_device_state()
880 if (!handle) in ti_sci_cmd_set_device_resets()
955 if (!handle) in ti_sci_set_clock_state()
1020 if (!handle) in ti_sci_cmd_get_clock_state()
1254 if (!handle) in ti_sci_cmd_clk_set_parent()
1547 if (!handle) in ti_sci_cmd_clk_set_freq()
2894 handle = &info->handle; in ti_sci_get_handle()
3017 handle = &info->handle; in ti_sci_get_by_phandle()
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh44 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
110 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
118 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
/openbmc/linux/fs/
H A Dfhandle.c24 struct file_handle *handle = NULL; in do_sys_name_to_handle() local
45 if (!handle) in do_sys_name_to_handle()
53 (struct fid *)handle->f_handle, in do_sys_name_to_handle()
55 handle->handle_type = retval; in do_sys_name_to_handle()
58 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle()
77 copy_to_user(ufh, handle, in do_sys_name_to_handle()
80 kfree(handle); in do_sys_name_to_handle()
179 struct file_handle *handle = NULL; in handle_to_path() local
201 if (!handle) { in handle_to_path()
206 *handle = f_handle; in handle_to_path()
[all …]
/openbmc/qemu/audio/
H A Dalsaaudio.c40 snd_pcm_t *handle; member
49 snd_pcm_t *handle; member
56 snd_pcm_t *handle; member
117 hlp->handle = NULL; in alsa_fini_poll()
248 hlp->handle = handle; in alsa_poll_helper()
459 &handle, in alsa_open()
476 handle, in alsa_open()
497 handle, in alsa_open()
577 handle, in alsa_open()
732 alsa->handle = handle; in alsa_init_out()
[all …]
/openbmc/linux/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c167 snd_pcm_t *handle; in TEST_F() local
195 snd_pcm_close(handle); in TEST_F()
207 snd_pcm_t *handle; in TEST_F() local
226 snd_pcm_close(handle); in TEST_F()
239 snd_pcm_t *handle; in TEST_F() local
262 snd_pcm_close(handle); in TEST_F()
273 snd_pcm_t *handle; in TEST_F() local
301 snd_pcm_close(handle); in TEST_F()
315 snd_pcm_t *handle; in TEST_F() local
324 snd_pcm_reset(handle); in TEST_F()
[all …]
/openbmc/linux/drivers/platform/x86/
H A Dideapad-laptop.h56 status = acpi_evaluate_integer(handle, (char *)name, &params, &result); in eval_int_with_arg()
68 return eval_int_with_arg(handle, "VPCR", cmd, res); in eval_vpcr()
84 status = acpi_evaluate_object(handle, "VPCW", &params, NULL); in eval_vpcw()
98 err = eval_vpcw(handle, 1, cmd); in read_ec_data()
107 err = eval_vpcr(handle, 1, &val); in read_ec_data()
112 return eval_vpcr(handle, 0, data); in read_ec_data()
115 acpi_handle_err(handle, "timeout in %s\n", __func__); in read_ec_data()
125 err = eval_vpcw(handle, 0, data); in write_ec_cmd()
129 err = eval_vpcw(handle, 1, cmd); in write_ec_cmd()
138 err = eval_vpcr(handle, 1, &val); in write_ec_cmd()
[all …]
/openbmc/linux/drivers/media/usb/uvc/
H A Duvc_v4l2.c614 struct uvc_fh *handle; in uvc_v4l2_open() local
625 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in uvc_v4l2_open()
626 if (handle == NULL) { in uvc_v4l2_open()
637 kfree(handle); in uvc_v4l2_open()
646 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
648 handle->stream = stream; in uvc_v4l2_open()
668 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
669 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
670 kfree(handle); in uvc_v4l2_release()
723 struct uvc_fh *handle = fh; in uvc_ioctl_enum_fmt_vid_cap() local
[all …]
/openbmc/linux/include/trace/events/
H A Dnbd.h12 TP_PROTO(struct request *req, u64 handle),
14 TP_ARGS(req, handle),
18 __field(u64, handle)
23 __entry->handle = handle;
29 __entry->handle
35 TP_PROTO(struct request *req, u64 handle),
37 TP_ARGS(req, handle)
42 TP_PROTO(struct request *req, u64 handle),
44 TP_ARGS(req, handle)
51 TP_ARGS(req, handle)
[all …]
/openbmc/linux/mm/
H A Dzbud.c157 unsigned long handle; in encode_handle() local
165 handle = (unsigned long)zhdr; in encode_handle()
168 handle += ZHDR_SIZE_ALIGNED; in encode_handle()
171 return handle; in encode_handle()
247 unsigned long *handle) in zbud_alloc() argument
300 *handle = encode_handle(zhdr, bud); in zbud_alloc()
355 return (void *)(handle); in zbud_map()
394 unsigned long *handle) in zbud_zpool_malloc() argument
400 zbud_free(pool, handle); in zbud_zpool_free()
406 return zbud_map(pool, handle); in zbud_zpool_map()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh47 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 …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h358 struct hnae_handle *handle; member
465 void (*put_handle)(struct hnae_handle *handle);
468 int (*start)(struct hnae_handle *handle);
469 void (*stop)(struct hnae_handle *handle);
470 void (*reset)(struct hnae_handle *handle);
473 int (*get_status)(struct hnae_handle *handle);
474 int (*get_info)(struct hnae_handle *handle,
480 int (*set_loopback)(struct hnae_handle *handle,
503 int (*add_uc_addr)(struct hnae_handle *handle,
505 int (*rm_uc_addr)(struct hnae_handle *handle,
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_hii.c82 NULL, &handle); in test_hii_database_new_package_list()
90 handle); in test_hii_database_new_package_list()
117 NULL, &handle); in test_hii_database_update_package_list()
125 handle, in test_hii_database_update_package_list()
136 if (handle) { in test_hii_database_update_package_list()
611 if (handle) { in test_hii_database_get_package_list_handle()
713 if (handle) { in test_hii_string_new_string()
794 if (handle) { in test_hii_string_get_string()
853 if (handle) { in test_hii_string_set_string()
920 if (handle) { in test_hii_string_get_languages()
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_common_drv.h137 void qat_hal_deinit(struct icp_qat_fw_loader_handle *handle);
138 int qat_hal_start(struct icp_qat_fw_loader_handle *handle);
141 void qat_hal_reset(struct icp_qat_fw_loader_handle *handle);
142 int qat_hal_clr_reset(struct icp_qat_fw_loader_handle *handle);
154 void qat_hal_set_pc(struct icp_qat_fw_loader_handle *handle,
156 void qat_hal_wr_uwords(struct icp_qat_fw_loader_handle *handle,
163 int qat_hal_batch_wr_lm(struct icp_qat_fw_loader_handle *handle,
166 int qat_hal_init_gpr(struct icp_qat_fw_loader_handle *handle,
178 int qat_hal_init_nn(struct icp_qat_fw_loader_handle *handle,
184 void qat_uclo_del_obj(struct icp_qat_fw_loader_handle *handle);
[all …]
/openbmc/linux/drivers/input/
H A Dinput-leds.c40 struct input_handle *handle; member
45 struct input_handle handle; member
104 leds->handle.dev = dev; in input_leds_connect()
105 leds->handle.handler = handler; in input_leds_connect()
106 leds->handle.name = "leds"; in input_leds_connect()
107 leds->handle.private = leds; in input_leds_connect()
123 led->handle = &leds->handle; in input_leds_connect()
160 input_close_device(&leds->handle); in input_leds_connect()
163 input_unregister_handle(&leds->handle); in input_leds_connect()
182 input_close_device(handle); in input_leds_disconnect()
[all …]

12345678910>>...150