/openbmc/linux/fs/ |
H A D | fhandle.c | 24 struct file_handle *handle = NULL; in do_sys_name_to_handle() local 43 handle = kzalloc(struct_size(handle, f_handle, f_handle.handle_bytes), in do_sys_name_to_handle() 45 if (!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() 199 handle = kmalloc(struct_size(handle, f_handle, f_handle.handle_bytes), in handle_to_path() 201 if (!handle) { in handle_to_path() 206 *handle = f_handle; in handle_to_path() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | migrate.c | 411 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 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 …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-trbe.c | 427 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 D | glue.c | 211 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 D | scan.c | 203 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 D | pci_link.c | 88 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 D | ioapic.c | 31 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 D | utils.c | 225 (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 D | vmci_doorbell.c | 237 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 D | act_stats.c | 39 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 D | swap.c | 441 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 D | ti_sci.c | 448 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 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 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/qemu/audio/ |
H A D | alsaaudio.c | 40 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 D | test-pcmtest-driver.c | 167 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 D | ideapad-laptop.h | 56 status = acpi_evaluate_integer(handle, (char *)name, ¶ms, &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", ¶ms, 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 D | uvc_v4l2.c | 614 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 D | nbd.h | 12 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 D | zbud.c | 157 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 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 …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hnae.h | 358 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 D | efi_selftest_hii.c | 82 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 D | adf_common_drv.h | 137 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 D | input-leds.c | 40 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 …]
|