/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 401 struct handlers { struct 407 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local 420 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception() 421 return handlers->exception_handlers[vector][ec](regs); in route_exception() 436 vm->handlers = __vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_vector_tables() 439 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_vector_tables() 444 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local 447 handlers->exception_handlers[0][vector] = handler; in vm_install_exception_handler() 452 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_interrupt_handler() local 454 handlers->exception_handlers[1][0] = handler; in vm_install_interrupt_handler()
|
/linux/drivers/char/ipmi/ |
H A D | ipmi_si_intf.c | 130 const struct si_sm_handlers *handlers; member 549 = smi_info->handlers->get_result( in handle_transaction_done() 605 = smi_info->handlers->get_result( in handle_transaction_done() 643 = smi_info->handlers->get_result( in handle_transaction_done() 703 smi_info->handlers->start_transaction( in handle_transaction_done() 1955 new_smi->handlers = &kcs_smi_handlers; in try_smi_init() 1959 new_smi->handlers = &smic_smi_handlers; in try_smi_init() 1963 new_smi->handlers = &bt_smi_handlers; in try_smi_init() 2061 rv = ipmi_register_smi(&handlers, in try_smi_init() 2212 if (smi_info->handlers) in shutdown_smi() [all …]
|
H A D | ipmi_ipmb.c | 44 struct ipmi_smi_handlers handlers; member 518 iidev->handlers.flags = IPMI_SMI_CAN_HANDLE_IPMB_DIRECT; in ipmi_ipmb_probe() 519 iidev->handlers.start_processing = ipmi_ipmb_start_processing; in ipmi_ipmb_probe() 520 iidev->handlers.shutdown = ipmi_ipmb_shutdown; in ipmi_ipmb_probe() 521 iidev->handlers.sender = ipmi_ipmb_sender; in ipmi_ipmb_probe() 522 iidev->handlers.request_events = ipmi_ipmb_request_events; in ipmi_ipmb_probe() 537 rv = ipmi_register_smi(&iidev->handlers, in ipmi_ipmb_probe()
|
H A D | ipmi_msghandler.c | 482 const struct ipmi_smi_handlers *handlers; member 985 if (!intf->handlers->set_need_watch) in smi_add_watch() 1010 if (!intf->handlers->set_need_watch) in smi_remove_watch() 1308 if (!intf->handlers->get_smi_info) in ipmi_get_smi_info() 1542 intf->handlers->set_maintenance_mode( in maintenance_mode_update() 3497 if (intf->handlers->poll) in ipmi_poll() 3598 intf->handlers = handlers; in ipmi_add_smi() 3691 if (intf->handlers->shutdown) in ipmi_add_smi() 3799 if (intf->handlers->shutdown) in ipmi_unregister_smi() 4992 if (intf->handlers) { in check_msg_timeout() [all …]
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | processor.c | 452 struct handlers { struct 465 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local 489 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception() 490 return handlers->exception_handlers[vector][ec](regs); in route_exception() 498 vm->handlers = __vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables() 501 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables() 507 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_sync_handler() local 512 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler() 518 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local 522 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
|
/linux/arch/powerpc/platforms/powermac/ |
H A D | pfunc_core.c | 128 if (handlers == NULL) \ 130 if (handlers->name) \ 542 struct pmf_handlers *handlers; member 580 struct pmf_handlers *handlers, in pmf_parse_one() argument 630 if (handlers == NULL) in pmf_parse_one() 702 struct pmf_handlers *handlers, in pmf_register_driver() argument 709 if (handlers == NULL) in pmf_register_driver() 730 dev->handlers = handlers; in pmf_register_driver() 946 if (dev->handlers->begin) in pmf_call_one() 949 if (dev->handlers->end) in pmf_call_one() [all …]
|
/linux/fs/ext4/ |
H A D | fsmap.c | 634 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local 648 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap() 650 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap() 652 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap() 654 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap() 689 if (!handlers[i].gfd_fn) in ext4_getfsmap() 691 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap() 693 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap() 705 if (handlers[i].gfd_dev > head->fmh_keys[0].fmr_device) in ext4_getfsmap() 708 info.gfi_dev = handlers[i].gfd_dev; in ext4_getfsmap() [all …]
|
/linux/fs/btrfs/ |
H A D | props.c | 48 const struct hlist_head *handlers) in find_prop_handler() argument 52 if (!handlers) { in find_prop_handler() 55 handlers = find_prop_handlers_by_hash(hash); in find_prop_handler() 56 if (!handlers) in find_prop_handler() 60 hlist_for_each_entry(h, handlers, node) in find_prop_handler() 167 const struct hlist_head *handlers; in iterate_object_props() local 187 handlers = find_prop_handlers_by_hash(key.offset); in iterate_object_props() 188 if (!handlers) in iterate_object_props() 223 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
|
/linux/fs/xfs/ |
H A D | xfs_fsmap.c | 906 memset(handlers, 0, sizeof(handlers)); in xfs_getfsmap() 909 handlers[0].fn = xfs_getfsmap_datadev_rmapbt; in xfs_getfsmap() 911 handlers[0].fn = xfs_getfsmap_datadev_bnobt; in xfs_getfsmap() 914 handlers[1].fn = xfs_getfsmap_logdev; in xfs_getfsmap() 919 handlers[2].fn = xfs_getfsmap_rtdev_rtbitmap; in xfs_getfsmap() 955 if (!handlers[i].fn) in xfs_getfsmap() 957 if (head->fmh_keys[0].fmr_device > handlers[i].dev) in xfs_getfsmap() 959 if (head->fmh_keys[1].fmr_device < handlers[i].dev) in xfs_getfsmap() 971 if (handlers[i].dev > head->fmh_keys[0].fmr_device) in xfs_getfsmap() 983 info.dev = handlers[i].dev; in xfs_getfsmap() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rx.c | 949 handlers = priv->rx_handlers; in iwl_setup_rx_handlers() 951 handlers[REPLY_ERROR] = iwlagn_rx_reply_error; in iwl_setup_rx_handlers() 952 handlers[CHANNEL_SWITCH_NOTIFICATION] = iwlagn_rx_csa; in iwl_setup_rx_handlers() 953 handlers[SPECTRUM_MEASURE_NOTIFICATION] = in iwl_setup_rx_handlers() 956 handlers[PM_DEBUG_STATISTIC_NOTIFIC] = in iwl_setup_rx_handlers() 958 handlers[BEACON_NOTIFICATION] = iwlagn_rx_beacon_notif; in iwl_setup_rx_handlers() 959 handlers[REPLY_ADD_STA] = iwl_add_sta_callback; in iwl_setup_rx_handlers() 974 handlers[MISSED_BEACONS_NOTIFICATION] = in iwl_setup_rx_handlers() 978 handlers[REPLY_RX_PHY_CMD] = iwlagn_rx_reply_rx_phy; in iwl_setup_rx_handlers() 979 handlers[REPLY_RX_MPDU_CMD] = iwlagn_rx_reply_rx; in iwl_setup_rx_handlers() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.c | 747 t3c_tid->client->handlers && in do_act_open_rpl() 748 t3c_tid->client->handlers[CPL_ACT_OPEN_RPL]) { in do_act_open_rpl() 767 t3c_tid->client->handlers[p->opcode]) { in do_stid_rpl() 785 t3c_tid->client->handlers[p->opcode]) { in do_hwtid_rpl() 786 return t3c_tid->client->handlers[p->opcode] in do_hwtid_rpl() 852 t3c_tid->client->handlers[p->opcode]) { in do_abort_req_rss() 853 return t3c_tid->client->handlers[p->opcode] in do_abort_req_rss() 906 t3c_tid->client->handlers[CPL_ACT_ESTABLISH]) { in do_act_establish() 907 return t3c_tid->client->handlers[CPL_ACT_ESTABLISH] in do_act_establish() 952 t3c_tid->client->handlers[opcode]) { in do_term() [all …]
|
/linux/Documentation/driver-api/acpi/ |
H A D | scan_handlers.rst | 39 called ACPI scan handlers represented by the following structure:: 49 take care of, list_node is the hook to the global list of ACPI scan handlers 57 available scan handlers. If a matching scan handler is found, its .attach() 72 callbacks from the scan handlers of all device nodes in the given namespace 73 scope (if they have scan handlers). Next, it unregisters all of the device 76 ACPI scan handlers can be added to the list maintained by the ACPI core with the 78 handler as an argument. The order in which scan handlers are added to the list
|
/linux/drivers/soc/fsl/qbman/ |
H A D | qman_test_stash.c | 163 struct list_head handlers; member 328 INIT_LIST_HEAD(&hp_cpu->handlers); in create_per_cpu_handlers() 339 list_add_tail(&handler->node, &hp_cpu->handlers); in create_per_cpu_handlers() 352 list_for_each_safe(loop, tmp, &hp_cpu->handlers) { in destroy_per_cpu_handlers() 455 &hp_cpu->handlers, in init_phase2() 479 handler = list_first_entry(&hp_cpu->handlers, struct hp_handler, node); in init_phase2() 498 &hp_cpu->handlers, in init_phase3()
|
/linux/include/linux/ |
H A D | ipmi_smi.h | 293 const struct ipmi_smi_handlers *handlers, 298 #define ipmi_register_smi(handlers, send_info, dev, slave_addr) \ argument 299 ipmi_add_smi(THIS_MODULE, handlers, send_info, dev, slave_addr)
|
/linux/drivers/iio/ |
H A D | TODO | 11 property handlers. 14 to state struct and using property handlers and readers.
|
/linux/drivers/acpi/ |
H A D | prmt.c | 72 struct prm_handler_info handlers[] __counted_by(handler_count); 106 module_info_size = struct_size(tm, handlers, module_info->handler_info_count); in acpi_parse_prmt() 148 th = &tm->handlers[cur_handler]; in acpi_parse_prmt() 179 cur_handler = &cur_module->handlers[i]; in find_guid_info()
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | restart-handler.yaml | 15 handlers, which usually are tried from most precise to last resort. 26 255:: Highest priority restart handler, will preempt all other restart handlers.
|
/linux/Documentation/RCU/ |
H A D | NMI-RCU.rst | 9 handlers, as well as dynamic irq handlers. This document describes 97 Since NMI handlers disable preemption, synchronize_rcu() is guaranteed 98 not to return until all ongoing NMI handlers exit. It is therefore safe
|
/linux/Documentation/power/ |
H A D | suspend-and-interrupts.rst | 21 interrupt handlers for shared IRQs that device drivers implementing them were 51 user of it. Thus, if the IRQ is shared, all of the interrupt handlers installed 90 already suspended. However, after suspend_device_irqs() interrupt handlers are 122 interrupts (interrupt handlers are invoked after suspend_device_irqs()) are 124 handlers are not invoked after suspend_device_irqs()). 127 to individual interrupt handlers, so sharing an IRQ between a system wakeup
|
/linux/Documentation/trace/ |
H A D | events-nmi.rst | 14 NMI handlers are hogging large amounts of CPU time. The kernel 15 will warn if it sees long-running handlers::
|
/linux/fs/ |
H A D | xattr.c | 46 #define for_each_xattr_handler(handlers, handler) \ argument 47 if (handlers) \ 48 for ((handler) = *(handlers)++; \ 50 (handler) = *(handlers)++) 58 const struct xattr_handler * const *handlers = inode->i_sb->s_xattr; in xattr_resolve_name() local 66 for_each_xattr_handler(handlers, handler) { in xattr_resolve_name() 164 const struct xattr_handler * const *handlers = inode->i_sb->s_xattr; in xattr_supports_user_prefix() local 173 for_each_xattr_handler(handlers, handler) { in xattr_supports_user_prefix() 1001 const struct xattr_handler *handler, * const *handlers = dentry->d_sb->s_xattr; in generic_listxattr() local 1005 for_each_xattr_handler(handlers, handler) { in generic_listxattr()
|
/linux/net/wireless/ |
H A D | wext-core.c | 704 const struct iw_handler_def *handlers = NULL; in get_handler() local 712 handlers = dev->ieee80211_ptr->wiphy->wext; in get_handler() 717 handlers = dev->wireless_handlers; in get_handler() 720 if (!handlers) in get_handler() 725 if (index < handlers->num_standard) in get_handler() 726 return handlers->standard[index]; in get_handler() 731 if (index < handlers->num_private) in get_handler() 732 return handlers->private[index]; in get_handler()
|
/linux/include/linux/soc/qcom/ |
H A D | qmi.h | 237 const struct qmi_msg_handler *handlers; member 247 const struct qmi_msg_handler *handlers);
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_msgs.c | 199 static struct vpu_msg_handler handlers[] = { variable 232 for (i = 0; i < ARRAY_SIZE(handlers); i++) { in vpu_session_handle_msg() 233 if (handlers[i].id == msg_id) { in vpu_session_handle_msg() 234 handler = &handlers[i]; in vpu_session_handle_msg()
|
/linux/Documentation/core-api/ |
H A D | genericirq.rst | 32 Originally, Russell King identified different types of handlers to build 51 This split implementation of high-level IRQ handlers allows us to 77 demultiplexing handlers which can be found in embedded platforms on 104 2. High-level IRQ flow handlers 154 High-level IRQ flow handlers 173 The interrupt flow handlers (either pre-defined or architecture 359 - ``irq_eoi`` - Optional, required for EOI flow handlers
|