| /linux/tools/testing/selftests/kvm/lib/loongarch/ |
| H A D | processor.c | 187 struct handlers *handlers; in route_exception() 189 handlers = (struct handlers *)exception_handlers; in route_exception() 191 if (handlers && handlers->exception_handlers[vector]) in route_exception() 192 return handlers->exception_handlers[vector](regs); in route_exception() 205 vm->handlers = __vm_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables() 209 addr = addr_gva2hva(vm, vm->handlers); in vm_init_descriptor_tables() 190 struct handlers *handlers; route_exception() local 220 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); vm_install_exception_handler() local [all...] |
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | kunit.py | 59 return "/* XXX: fill handlers argument. */" 64 """Find handlers by parsing when they are attached to tracepoints.""" 68 handlers = [] 71 if handler not in handlers: 72 handlers.append(handler) 73 return handlers 139 handlers = self.__parse_attach_handlers() 141 if not handlers: 142 raise KUnitError(f"No handlers found in {self.monitor_path}") 146 for handler in handlers:
|
| /linux/Documentation/driver-api/acpi/ |
| H A D | scan_handlers.rst | 5 ACPI Scan Handlers 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/tools/testing/selftests/kvm/lib/riscv/ |
| H A D | processor.c | 20 struct handlers { in __vcpu_has_ext() 373 struct handlers *h = addr_gva2hva(vm, vm->handlers); in vcpu_args_set() 469 struct handlers *handlers = (struct handlers *)exception_handlers; in vm_install_interrupt_handler() 491 handlers && handlers->v_available && !(regs->status & SR_VS)) { in sbi_ecall() 513 if (handlers && handlers in guest_sbi_probe_extension() 416 struct handlers { global() struct 417 exception_handlershandlers global() argument 422 struct handlers *handlers = (struct handlers *)exception_handlers; route_exception() local 459 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); vm_install_exception_handler() local 467 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); vm_install_interrupt_handler() local [all...] |
| /linux/include/net/ |
| H A D | rtnetlink.h | 36 * struct rtnl_msg_handler - rtnetlink message type and handlers 56 int __rtnl_register_many(const struct rtnl_msg_handler *handlers, int n); 57 void __rtnl_unregister_many(const struct rtnl_msg_handler *handlers, int n); 59 #define rtnl_register_many(handlers) \ argument 60 __rtnl_register_many(handlers, ARRAY_SIZE(handlers)) 61 #define rtnl_unregister_many(handlers) \ argument 62 __rtnl_unregister_many(handlers, ARRAY_SIZE(handlers))
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | pfunc_core.c | 124 #define PMF_PARSE_CALL(name, cmd, handlers, p...) \ argument 128 if (handlers == NULL) \ 130 if (handlers->name) \ 131 return handlers->name(cmd->func, cmd->instdata, \ 542 struct pmf_handlers *handlers; member 580 struct pmf_handlers *handlers, in pmf_parse_one() argument 596 handlers ? "executing" : "parsing"); in pmf_parse_one() 621 rc = pmf_parsers[ccode](&cmd, handlers); in pmf_parse_one() 630 if (handlers == NULL) in pmf_parse_one() 702 struct pmf_handlers *handlers, in pmf_register_driver() argument [all …]
|
| /linux/drivers/soc/fsl/qbman/ |
| H A D | qman_test_stash.c | 39 * Each cpu will have HP_PER_CPU "handlers" set up, each of which incorporates 41 * organisation of FQIDs is such that the HP_PER_CPU*NUM_CPUS handlers will 44 * is to allow enough handlers/FQs to truly test the significance of caching - 65 * handlers and link-list them (but do no other handler setup). 160 /* root node for the per-cpu list of handlers */ 161 struct list_head handlers; member 166 * handlers together, this is used as per-cpu iterator state 184 /* handlers are allocated out of this, so they're properly aligned. */ 326 INIT_LIST_HEAD(&hp_cpu->handlers); in create_per_cpu_handlers() 337 list_add_tail(&handler->node, &hp_cpu->handlers); in create_per_cpu_handlers() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | processor.c | 490 struct handlers { in assert_on_unhandled_exception() 503 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() 527 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception() 528 return handlers->exception_handlers[vector][ec](regs); in route_exception() 536 vm->handlers = __vm_alloc(vm, sizeof(struct handlers), vm->page_size, in vm_init_descriptor_tables() 539 *(gva_t *)addr_gva2hva(vm, (gva_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables() 492 struct handlers { global() struct 493 exception_handlershandlers global() argument 505 struct handlers *handlers = (struct handlers *)exception_handlers; route_exception() local 547 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); vm_install_sync_handler() local 558 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); vm_install_exception_handler() local [all...] |
| /linux/include/sound/ |
| H A D | soc-topology.h | 74 * Kcontrol operations - used to map handlers onto firmware based controls. 96 * DAPM widget event handlers - used to map handlers onto widgets. 160 /* vendor specific kcontrol handlers available for binding */ 164 /* vendor specific bytes ext handlers available for binding */ 184 /* Binds event handlers to dynamic widgets */
|
| /linux/fs/xfs/ |
| H A D | xfs_fsmap.c | 193 /* Compare two getfsmap device handlers. */ 1160 struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS]; in xfs_getfsmap() local 1180 /* Set up our device handlers. */ in xfs_getfsmap() 1181 memset(handlers, 0, sizeof(handlers)); in xfs_getfsmap() 1182 handlers[0].nr_sectors = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_getfsmap() 1183 handlers[0].dev = xfs_getfsmap_device(mp, XFS_DEV_DATA); in xfs_getfsmap() 1185 handlers[0].fn = xfs_getfsmap_datadev_rmapbt; in xfs_getfsmap() 1187 handlers[0].fn = xfs_getfsmap_datadev_bnobt; in xfs_getfsmap() 1189 handlers[1].nr_sectors = XFS_FSB_TO_BB(mp, in xfs_getfsmap() 1191 handlers[1].dev = xfs_getfsmap_device(mp, XFS_DEV_LOG); in xfs_getfsmap() [all …]
|
| /linux/fs/ext4/ |
| H A D | fsmap.c | 64 /* Compare two getfsmap device handlers. */ 707 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local 720 /* Set up our device handlers. */ in ext4_getfsmap() 721 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap() 722 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap() 723 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap() 725 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap() 727 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap() 730 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), in ext4_getfsmap() 762 if (!handlers[i].gfd_fn) in ext4_getfsmap() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | rx.c | 941 * Setup the RX handlers for each of the reply types sent from the uCode 946 void (**handlers)(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb); in iwl_setup_rx_handlers() 948 handlers = priv->rx_handlers; in iwl_setup_rx_handlers() 950 handlers[REPLY_ERROR] = iwlagn_rx_reply_error; in iwl_setup_rx_handlers() 951 handlers[CHANNEL_SWITCH_NOTIFICATION] = iwlagn_rx_csa; in iwl_setup_rx_handlers() 952 handlers[SPECTRUM_MEASURE_NOTIFICATION] = in iwl_setup_rx_handlers() 954 handlers[PM_SLEEP_NOTIFICATION] = iwlagn_rx_pm_sleep_notif; in iwl_setup_rx_handlers() 955 handlers[PM_DEBUG_STATISTIC_NOTIFIC] = in iwl_setup_rx_handlers() 957 handlers[BEACON_NOTIFICATION] = iwlagn_rx_beacon_notif; in iwl_setup_rx_handlers() 958 handlers[REPLY_ADD_ST in iwl_setup_rx_handlers() 947 void (**handlers)(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb); iwl_setup_rx_handlers() local [all...] |
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00lib.h | 58 * Radio control handlers. 64 * Initialization handlers. 70 * Configuration handlers. 87 * DOC: Queue handlers 273 * Firmware handlers. 289 * Debugfs handlers. 312 * Crypto handlers. 370 * RFkill handlers. 385 * LED handlers
|
| /linux/kernel/irq/ |
| H A D | spurious.c | 51 * All handlers must agree on IRQF_SHARED, so we test just the in try_one_irq() 162 pr_err("handlers:\n"); in __report_bad_irq() 236 * because we need to look at the compound of all handlers in note_interrupt() 245 * The threaded handlers store whether they successfully in note_interrupt() 257 * shared primary handlers returned IRQ_HANDLED. If in note_interrupt() 276 * Check whether one of the threaded handlers in note_interrupt() 302 * None of the threaded handlers felt in note_interrupt() 314 * One of the primary handlers returned in note_interrupt() 316 * threaded handlers on the same line. Clear in note_interrupt()
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_si_intf.c | 137 const struct si_sm_handlers *handlers; member 342 err = smi_info->handlers->start_transaction( in start_next_msg() 375 smi_info->handlers->start_transaction(smi_info->si_sm, msg, size); in start_new_msg() 583 = smi_info->handlers->get_result( in handle_transaction_done() 604 len = smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done() 627 smi_info->handlers->get_result(smi_info->si_sm, msg, 3); in handle_transaction_done() 640 = smi_info->handlers->get_result( in handle_transaction_done() 689 = smi_info->handlers->get_result( in handle_transaction_done() 736 smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done() 754 smi_info->handlers->start_transaction( in handle_transaction_done() [all …]
|
| /linux/Documentation/RCU/ |
| H A D | NMI-RCU.rst | 3 Using RCU to Protect Dynamic NMI Handlers 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/arch/powerpc/include/asm/ |
| H A D | pmac_pfunc.h | 33 * A driver capable of interpreting commands provides a handlers 34 * structure filled with whatever handlers are implemented by this 35 * driver. Non implemented handlers are left NULL. 38 * and that gets passed back to the various handlers. 176 * Register/Unregister a function-capable driver and its handlers 179 struct pmf_handlers *handlers, 195 * Called by the handlers when an irq happens
|
| /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() 177 const struct hlist_head *handlers; in iterate_object_props() local 197 handlers = find_prop_handlers_by_hash(key.offset); in iterate_object_props() 198 if (!handlers) in iterate_object_props() 233 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | io_event_irq.c | 25 * drivers can register their event handlers to receive events. 28 * their event handlers. Since multiple IO event types and scopes 29 * share an IO event interrupt, the event handlers are called one 30 * by one until the IO event is claimed by one of the handlers. 31 * The event handlers are expected to return NOTIFY_OK if the
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | cxgb3_offload.c | 708 t3c_tid->client->handlers && in do_act_open_rpl() 709 t3c_tid->client->handlers[CPL_ACT_OPEN_RPL]) { in do_act_open_rpl() 710 return t3c_tid->client->handlers[CPL_ACT_OPEN_RPL] (dev, skb, in do_act_open_rpl() 727 if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers && in do_stid_rpl() 728 t3c_tid->client->handlers[p->opcode]) { in do_stid_rpl() 729 return t3c_tid->client->handlers[p->opcode] (dev, skb, in do_stid_rpl() 745 if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers && in do_hwtid_rpl() 746 t3c_tid->client->handlers[p->opcode]) { in do_hwtid_rpl() 747 return t3c_tid->client->handlers[p->opcode] in do_hwtid_rpl() 772 if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers && in do_cr() [all …]
|
| /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/arch/xtensa/kernel/ |
| H A D | vectors.S | 151 * specify a particular fixup handler but wants to use the default handlers: 157 * register a valid fixup handler and cannot use the default handlers. 168 * The fixup handlers are special handlers: 187 * - Fixup handlers can jump to the default kernel and user exception 188 * handlers. Before it jumps, though, it has to setup a exception frame 370 * The tricky part here is that overflow8 and overflow12 handlers 375 * handlers save a0 in their very first instruction. If DEPC was past 684 /* Window overflow and underflow handlers. 685 * The handlers mus [all...] |
| /linux/drivers/acpi/acpica/ |
| H A D | evsci.c | 27 * DESCRIPTION: Dispatch the SCI to all host-installed SCI handlers. 39 /* Are there any host-installed SCI handlers? */ in acpi_ev_sci_dispatch() 47 /* Invoke all host-installed SCI handlers */ in acpi_ev_sci_dispatch() 100 /* Invoke all host-installed SCI handlers */ in acpi_ev_sci_xrupt_handler() 173 * taken. Remove all host-installed SCI handlers. 202 /* Free all host-installed SCI handlers */ in acpi_ev_remove_all_sci_handlers()
|
| /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
|
| /linux/arch/xtensa/include/asm/ |
| H A D | traps.h | 34 /* Fast user exception handlers */ 36 /* Fast kernel exception handlers */ 38 /* Default C-Handlers */
|