Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/include/net/
Drtnetlink.h48 int __rtnl_register_many(const struct rtnl_msg_handler *handlers, int n);
49 void __rtnl_unregister_many(const struct rtnl_msg_handler *handlers, int n);
51 #define rtnl_register_many(handlers) \ argument
52 __rtnl_register_many(handlers, ARRAY_SIZE(handlers))
53 #define rtnl_unregister_many(handlers) \ argument
54 __rtnl_unregister_many(handlers, ARRAY_SIZE(handlers))
/linux-6.12.1/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c401 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-6.12.1/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-6.12.1/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c452 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-6.12.1/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-6.12.1/fs/xfs/
Dxfs_fsmap.c900 struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS]; in xfs_getfsmap() local
919 memset(handlers, 0, sizeof(handlers)); in xfs_getfsmap()
920 handlers[0].nr_sectors = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_getfsmap()
921 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap()
923 handlers[0].fn = xfs_getfsmap_datadev_rmapbt; in xfs_getfsmap()
925 handlers[0].fn = xfs_getfsmap_datadev_bnobt; in xfs_getfsmap()
927 handlers[1].nr_sectors = XFS_FSB_TO_BB(mp, in xfs_getfsmap()
929 handlers[1].dev = new_encode_dev(mp->m_logdev_targp->bt_dev); in xfs_getfsmap()
930 handlers[1].fn = xfs_getfsmap_logdev; in xfs_getfsmap()
934 handlers[2].nr_sectors = XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_getfsmap()
[all …]
/linux-6.12.1/fs/ext4/
Dfsmap.c634 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local
648 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap()
649 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); 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()
657 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), 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()
[all …]
/linux-6.12.1/fs/btrfs/
Dprops.c48 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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/drivers/iio/
DTODO11 property handlers.
14 to state struct and using property handlers and readers.
/linux-6.12.1/drivers/acpi/
Dprmt.c72 struct prm_handler_info handlers[] __counted_by(handler_count);
110 module_info_size = struct_size(tm, handlers, module_info->handler_info_count); in acpi_parse_prmt()
152 th = &tm->handlers[cur_handler]; in acpi_parse_prmt()
189 cur_handler = &cur_module->handlers[i]; in find_guid_info()
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/fs/
Dxattr.c46 #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()
1006 const struct xattr_handler *handler, * const *handlers = dentry->d_sb->s_xattr; in generic_listxattr() local
1010 for_each_xattr_handler(handlers, handler) { in generic_listxattr()
/linux-6.12.1/net/wireless/
Dwext-core.c704 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-6.12.1/include/linux/soc/qcom/
Dqmi.h237 const struct qmi_msg_handler *handlers; member
247 const struct qmi_msg_handler *handlers);
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c557 handler *handlers = (handler *)exception_handlers; in route_exception() local
559 if (handlers && handlers[regs->vector]) { in route_exception()
560 handlers[regs->vector](regs); in route_exception()
579 vm->handlers = __vm_vaddr_alloc_page(vm, MEM_REGION_DATA); in vm_init_descriptor_tables()
586 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
601 vm_vaddr_t *handlers = (vm_vaddr_t *)addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
603 handlers[vector] = (vm_vaddr_t)handler; in vm_install_exception_handler()
/linux-6.12.1/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