Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 25 of 182) sorted by relevance

12345678

/Linux-v6.6/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c417 struct handlers { struct
430 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local
454 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
455 return handlers->exception_handlers[vector][ec](regs); in route_exception()
463 vm->handlers = __vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables()
466 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
472 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_sync_handler() local
477 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
483 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
487 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/Linux-v6.6/drivers/char/ipmi/
Dipmi_si_intf.c130 const struct si_sm_handlers *handlers; member
329 err = smi_info->handlers->start_transaction( in start_next_msg()
362 smi_info->handlers->start_transaction(smi_info->si_sm, msg, size); in start_new_msg()
549 = smi_info->handlers->get_result( in handle_transaction_done()
570 len = smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
592 smi_info->handlers->get_result(smi_info->si_sm, msg, 3); in handle_transaction_done()
605 = smi_info->handlers->get_result( in handle_transaction_done()
643 = smi_info->handlers->get_result( in handle_transaction_done()
685 smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
703 smi_info->handlers->start_transaction( in handle_transaction_done()
[all …]
Dipmi_ipmb.c44 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()
Dipmi_msghandler.c482 const struct ipmi_smi_handlers *handlers; member
985 if (!intf->handlers->set_need_watch) in smi_add_watch()
1000 intf->handlers->set_need_watch(intf->send_info, in smi_add_watch()
1010 if (!intf->handlers->set_need_watch) in smi_remove_watch()
1033 intf->handlers->set_need_watch(intf->send_info, in smi_remove_watch()
1308 if (!intf->handlers->get_smi_info) in ipmi_get_smi_info()
1311 rv = intf->handlers->get_smi_info(intf->send_info, data); in ipmi_get_smi_info()
1541 if (intf->handlers->set_maintenance_mode) in maintenance_mode_update()
1542 intf->handlers->set_maintenance_mode( in maintenance_mode_update()
1884 const struct ipmi_smi_handlers *handlers, in smi_send() argument
[all …]
/Linux-v6.6/arch/powerpc/platforms/powermac/
Dpfunc_core.c124 #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-v6.6/fs/ext4/
Dfsmap.c633 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local
647 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap()
648 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap()
649 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap()
651 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap()
653 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap()
656 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), in ext4_getfsmap()
688 if (!handlers[i].gfd_fn) in ext4_getfsmap()
690 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap()
692 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap()
[all …]
/Linux-v6.6/fs/btrfs/
Dprops.c46 const struct hlist_head *handlers) in find_prop_handler() argument
50 if (!handlers) { in find_prop_handler()
53 handlers = find_prop_handlers_by_hash(hash); in find_prop_handler()
54 if (!handlers) in find_prop_handler()
58 hlist_for_each_entry(h, handlers, node) in find_prop_handler()
165 const struct hlist_head *handlers; in iterate_object_props() local
185 handlers = find_prop_handlers_by_hash(key.offset); in iterate_object_props()
186 if (!handlers) in iterate_object_props()
221 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
/Linux-v6.6/fs/xfs/
Dxfs_fsmap.c890 struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS]; in xfs_getfsmap() local
909 memset(handlers, 0, sizeof(handlers)); in xfs_getfsmap()
910 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap()
912 handlers[0].fn = xfs_getfsmap_datadev_rmapbt; in xfs_getfsmap()
914 handlers[0].fn = xfs_getfsmap_datadev_bnobt; in xfs_getfsmap()
916 handlers[1].dev = new_encode_dev(mp->m_logdev_targp->bt_dev); in xfs_getfsmap()
917 handlers[1].fn = xfs_getfsmap_logdev; in xfs_getfsmap()
921 handlers[2].dev = new_encode_dev(mp->m_rtdev_targp->bt_dev); in xfs_getfsmap()
922 handlers[2].fn = xfs_getfsmap_rtdev_rtbitmap; in xfs_getfsmap()
926 xfs_sort(handlers, XFS_GETFSMAP_DEVS, sizeof(struct xfs_getfsmap_dev), in xfs_getfsmap()
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c947 void (**handlers)(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb); in iwl_setup_rx_handlers() local
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()
955 handlers[PM_SLEEP_NOTIFICATION] = iwlagn_rx_pm_sleep_notif; 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()
961 handlers[REPLY_WIPAN_NOA_NOTIFICATION] = iwlagn_rx_noa_notification; in iwl_setup_rx_handlers()
[all …]
/Linux-v6.6/Documentation/arch/ia64/
Dfsys.rst28 interruption-handlers start execution in. The user-level
81 The file arch/ia64/kernel/fsys.S contains a table of fsyscall-handlers
118 Fsyscall handlers can execute with very little overhead, but with that
121 * Fsyscall-handlers MUST check for any pending work in the flags
126 * Fsyscall-handlers MUST preserve incoming arguments (r32-r39, r11,
131 * Fsyscall-handlers MUST check argument registers for containing a
137 * Fsyscall-handlers MUST NOT use the "alloc" instruction or perform
141 * Fsyscall-handlers MUST NOT write to any stacked registers because
145 * Fsyscall-handlers need to be careful when accessing per-CPU variables:
150 * Fsyscall-handlers must be careful not to leak sensitive kernel'
[all …]
Dmca.rst38 handlers cannot rely on the thread pointer, PAL physical mode can
47 Because the MCA/INIT handlers cannot trust the kernel stack, they
49 preformatted with just enough task state to let the relevant handlers
84 requires set_curr_task() so the MCA/INIT handlers can register their
95 stacks meant separate "tasks" for the MCA/INIT handlers.
102 slaves. All the OS INIT handlers are entered at approximately the same
188 handlers have _TIF_MCA_INIT set in thread_info.flags.
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c747 t3c_tid->client->handlers && in do_act_open_rpl()
748 t3c_tid->client->handlers[CPL_ACT_OPEN_RPL]) { in do_act_open_rpl()
749 return t3c_tid->client->handlers[CPL_ACT_OPEN_RPL] (dev, skb, in do_act_open_rpl()
766 if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers && in do_stid_rpl()
767 t3c_tid->client->handlers[p->opcode]) { in do_stid_rpl()
768 return t3c_tid->client->handlers[p->opcode] (dev, skb, in do_stid_rpl()
784 if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers && in do_hwtid_rpl()
785 t3c_tid->client->handlers[p->opcode]) { in do_hwtid_rpl()
786 return t3c_tid->client->handlers[p->opcode] in do_hwtid_rpl()
811 if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers && in do_cr()
[all …]
/Linux-v6.6/Documentation/driver-api/acpi/
Dscan_handlers.rst39 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-v6.6/drivers/soc/fsl/qbman/
Dqman_test_stash.c163 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-v6.6/include/linux/
Dipmi_smi.h293 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-v6.6/drivers/iio/
DTODO11 property handlers.
14 to state struct and using property handlers and readers.
/Linux-v6.6/drivers/acpi/
Dprmt.c72 struct prm_handler_info handlers[]; member
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-v6.6/Documentation/RCU/
DNMI-RCU.rst9 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-v6.6/Documentation/power/
Dsuspend-and-interrupts.rst21 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-v6.6/Documentation/trace/
Devents-nmi.rst14 NMI handlers are hogging large amounts of CPU time. The kernel
15 will warn if it sees long-running handlers::
/Linux-v6.6/fs/
Dxattr.c47 #define for_each_xattr_handler(handlers, handler) \ argument
48 if (handlers) \
49 for ((handler) = *(handlers)++; \
51 (handler) = *(handlers)++)
59 const struct xattr_handler **handlers = inode->i_sb->s_xattr; in xattr_resolve_name() local
67 for_each_xattr_handler(handlers, handler) { in xattr_resolve_name()
165 const struct xattr_handler **handlers = inode->i_sb->s_xattr; in xattr_supports_user_prefix() local
174 for_each_xattr_handler(handlers, handler) { in xattr_supports_user_prefix()
1002 const struct xattr_handler *handler, **handlers = dentry->d_sb->s_xattr; in generic_listxattr() local
1006 for_each_xattr_handler(handlers, handler) { in generic_listxattr()
/Linux-v6.6/net/wireless/
Dwext-core.c702 const struct iw_handler_def *handlers = NULL; in get_handler() local
709 handlers = dev->ieee80211_ptr->wiphy->wext; in get_handler()
714 handlers = dev->wireless_handlers; in get_handler()
717 if (!handlers) in get_handler()
722 if (index < handlers->num_standard) in get_handler()
723 return handlers->standard[index]; in get_handler()
728 if (index < handlers->num_private) in get_handler()
729 return handlers->private[index]; in get_handler()
/Linux-v6.6/include/linux/soc/qcom/
Dqmi.h237 const struct qmi_msg_handler *handlers; member
247 const struct qmi_msg_handler *handlers);
/Linux-v6.6/drivers/media/platform/amphion/
Dvpu_msgs.c183 static struct vpu_msg_handler handlers[] = { variable
215 for (i = 0; i < ARRAY_SIZE(handlers); i++) { in vpu_session_handle_msg()
216 if (handlers[i].id == msg_id) { in vpu_session_handle_msg()
217 handler = &handlers[i]; in vpu_session_handle_msg()
/Linux-v6.6/Documentation/core-api/
Dgenericirq.rst32 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

12345678