Home
last modified time | relevance | path

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

1234567

/linux-5.15/tools/testing/selftests/kvm/lib/aarch64/
A Dprocessor.c357 struct handlers { struct
370 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local
394 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
395 return handlers->exception_handlers[vector][ec](regs); in route_exception()
403 vm->handlers = vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables()
406 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
412 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_sync_handler() local
417 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
423 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
427 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/linux-5.15/drivers/char/ipmi/
H A Dipmi_si_intf.c130 const struct si_sm_handlers *handlers; member
328 err = smi_info->handlers->start_transaction( in start_next_msg()
361 smi_info->handlers->start_transaction(smi_info->si_sm, msg, size); in start_new_msg()
548 = smi_info->handlers->get_result( in handle_transaction_done()
569 len = smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
591 smi_info->handlers->get_result(smi_info->si_sm, msg, 3); in handle_transaction_done()
604 = smi_info->handlers->get_result( in handle_transaction_done()
642 = smi_info->handlers->get_result( in handle_transaction_done()
684 smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
702 smi_info->handlers->start_transaction( in handle_transaction_done()
[all …]
H A Dipmi_msghandler.c462 const struct ipmi_smi_handlers *handlers; member
933 if (!intf->handlers->set_need_watch) in smi_add_watch()
948 intf->handlers->set_need_watch(intf->send_info, in smi_add_watch()
958 if (!intf->handlers->set_need_watch) in smi_remove_watch()
981 intf->handlers->set_need_watch(intf->send_info, in smi_remove_watch()
1249 if (!intf->handlers->get_smi_info) in ipmi_get_smi_info()
1252 rv = intf->handlers->get_smi_info(intf->send_info, data); in ipmi_get_smi_info()
1479 if (intf->handlers->set_maintenance_mode) in maintenance_mode_update()
1480 intf->handlers->set_maintenance_mode( in maintenance_mode_update()
1821 const struct ipmi_smi_handlers *handlers, in smi_send() argument
[all …]
/linux-5.15/arch/powerpc/platforms/powermac/
H A 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-5.15/fs/ext4/
A Dfsmap.c631 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local
645 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap()
646 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap()
647 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap()
649 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap()
651 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap()
654 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), in ext4_getfsmap()
686 if (!handlers[i].gfd_fn) in ext4_getfsmap()
688 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap()
690 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap()
[all …]
/linux-5.15/fs/btrfs/
A Dprops.c39 const struct hlist_head *handlers) in find_prop_handler() argument
43 if (!handlers) { in find_prop_handler()
46 handlers = find_prop_handlers_by_hash(hash); in find_prop_handler()
47 if (!handlers) in find_prop_handler()
51 hlist_for_each_entry(h, handlers, node) in find_prop_handler()
135 const struct hlist_head *handlers; in iterate_object_props() local
155 handlers = find_prop_handlers_by_hash(key.offset); in iterate_object_props()
156 if (!handlers) in iterate_object_props()
191 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
/linux-5.15/fs/xfs/
A Dxfs_fsmap.c855 struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS]; in xfs_getfsmap() local
872 memset(handlers, 0, sizeof(handlers)); in xfs_getfsmap()
873 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap()
875 handlers[0].fn = xfs_getfsmap_datadev_rmapbt; in xfs_getfsmap()
877 handlers[0].fn = xfs_getfsmap_datadev_bnobt; in xfs_getfsmap()
879 handlers[1].dev = new_encode_dev(mp->m_logdev_targp->bt_dev); in xfs_getfsmap()
880 handlers[1].fn = xfs_getfsmap_logdev; in xfs_getfsmap()
884 handlers[2].dev = new_encode_dev(mp->m_rtdev_targp->bt_dev); in xfs_getfsmap()
885 handlers[2].fn = xfs_getfsmap_rtdev_rtbitmap; in xfs_getfsmap()
889 xfs_sort(handlers, XFS_GETFSMAP_DEVS, sizeof(struct xfs_getfsmap_dev), in xfs_getfsmap()
[all …]
/linux-5.15/drivers/net/wireless/intel/iwlwifi/dvm/
A Drx.c952 void (**handlers)(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb); in iwl_setup_rx_handlers() local
954 handlers = priv->rx_handlers; in iwl_setup_rx_handlers()
956 handlers[REPLY_ERROR] = iwlagn_rx_reply_error; in iwl_setup_rx_handlers()
957 handlers[CHANNEL_SWITCH_NOTIFICATION] = iwlagn_rx_csa; in iwl_setup_rx_handlers()
958 handlers[SPECTRUM_MEASURE_NOTIFICATION] = in iwl_setup_rx_handlers()
960 handlers[PM_SLEEP_NOTIFICATION] = iwlagn_rx_pm_sleep_notif; in iwl_setup_rx_handlers()
961 handlers[PM_DEBUG_STATISTIC_NOTIFIC] = in iwl_setup_rx_handlers()
963 handlers[BEACON_NOTIFICATION] = iwlagn_rx_beacon_notif; in iwl_setup_rx_handlers()
964 handlers[REPLY_ADD_STA] = iwl_add_sta_callback; in iwl_setup_rx_handlers()
966 handlers[REPLY_WIPAN_NOA_NOTIFICATION] = iwlagn_rx_noa_notification; in iwl_setup_rx_handlers()
[all …]
/linux-5.15/Documentation/ia64/
A 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 …]
A 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-5.15/drivers/net/ethernet/chelsio/cxgb3/
H A 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-5.15/Documentation/driver-api/acpi/
A 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-5.15/include/linux/
H A Dipmi_smi.h228 const struct ipmi_smi_handlers *handlers,
233 #define ipmi_register_smi(handlers, send_info, dev, slave_addr) \ argument
234 ipmi_add_smi(THIS_MODULE, handlers, send_info, dev, slave_addr)
/linux-5.15/drivers/soc/fsl/qbman/
A 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-5.15/drivers/iio/
A DTODO14 property handlers.
17 to state struct and using property handlers and readers.
/linux-5.15/drivers/acpi/
A Dprmt.c73 struct prm_handler_info handlers[]; member
109 module_info_size = struct_size(tm, handlers, module_info->handler_info_count); in acpi_parse_prmt()
139 th = &tm->handlers[cur_handler]; in acpi_parse_prmt()
161 cur_handler = &cur_module->handlers[i]; in find_guid_info()
/linux-5.15/fs/
H A Dxattr.c44 #define for_each_xattr_handler(handlers, handler) \ argument
45 if (handlers) \
46 for ((handler) = *(handlers)++; \
48 (handler) = *(handlers)++)
56 const struct xattr_handler **handlers = inode->i_sb->s_xattr; in xattr_resolve_name() local
64 for_each_xattr_handler(handlers, handler) { in xattr_resolve_name()
145 const struct xattr_handler **handlers = inode->i_sb->s_xattr; in xattr_supported_namespace() local
157 for_each_xattr_handler(handlers, handler) { in xattr_supported_namespace()
883 const struct xattr_handler *handler, **handlers = dentry->d_sb->s_xattr; in generic_listxattr() local
887 for_each_xattr_handler(handlers, handler) { in generic_listxattr()
[all …]
/linux-5.15/Documentation/RCU/
A 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-5.15/Documentation/trace/
A Devents-nmi.rst14 NMI handlers are hogging large amounts of CPU time. The kernel
15 will warn if it sees long-running handlers::
/linux-5.15/Documentation/power/
A 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-5.15/net/wireless/
H A Dwext-core.c687 const struct iw_handler_def *handlers = NULL; in get_handler() local
691 handlers = dev->ieee80211_ptr->wiphy->wext; in get_handler()
695 handlers = dev->wireless_handlers; in get_handler()
698 if (!handlers) in get_handler()
703 if (index < handlers->num_standard) in get_handler()
704 return handlers->standard[index]; in get_handler()
709 if (index < handlers->num_private) in get_handler()
710 return handlers->private[index]; in get_handler()
/linux-5.15/include/linux/soc/qcom/
A Dqmi.h237 const struct qmi_msg_handler *handlers; member
247 const struct qmi_msg_handler *handlers);
/linux-5.15/Documentation/core-api/
A 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
/linux-5.15/Documentation/userspace-api/media/v4l/
A Dv4l2grab-example.rst10 libv4l handlers. The advantage is that this grabber can potentially work
/linux-5.15/fs/reiserfs/
H A Dxattr.c775 #define for_each_xattr_handler(handlers, handler) \ argument
776 for ((handler) = *(handlers)++; \
778 (handler) = *(handlers)++)
782 find_xattr_handler_prefix(const struct xattr_handler **handlers, in find_xattr_handler_prefix() argument
787 if (!handlers) in find_xattr_handler_prefix()
790 for_each_xattr_handler(handlers, xah) { in find_xattr_handler_prefix()

1234567