Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 1557) sorted by relevance

12345678910>>...63

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dmmu_rb.c22 static void do_remove(struct mmu_rb_handler *handler,
46 struct mmu_rb_handler **handler) in hfi1_mmu_rb_register() argument
72 *handler = h; in hfi1_mmu_rb_register()
76 void hfi1_mmu_rb_unregister(struct mmu_rb_handler *handler) in hfi1_mmu_rb_unregister() argument
84 mmgrab(handler->mn.mm); in hfi1_mmu_rb_unregister()
87 mmu_notifier_unregister(&handler->mn, handler->mn.mm); in hfi1_mmu_rb_unregister()
93 flush_work(&handler->del_work); in hfi1_mmu_rb_unregister()
97 spin_lock_irqsave(&handler->lock, flags); in hfi1_mmu_rb_unregister()
98 while ((node = rb_first_cached(&handler->root))) { in hfi1_mmu_rb_unregister()
100 rb_erase_cached(node, &handler->root); in hfi1_mmu_rb_unregister()
[all …]
Dmmu_rb.h17 struct mmu_rb_handler *handler; member
50 struct mmu_rb_handler **handler);
51 void hfi1_mmu_rb_unregister(struct mmu_rb_handler *handler);
52 int hfi1_mmu_rb_insert(struct mmu_rb_handler *handler,
54 void hfi1_mmu_rb_evict(struct mmu_rb_handler *handler, void *evict_arg);
55 void hfi1_mmu_rb_remove(struct mmu_rb_handler *handler,
57 bool hfi1_mmu_rb_remove_unless_exact(struct mmu_rb_handler *handler,
/linux-6.1.9/net/ipv4/
Dtunnel4.c31 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_register() argument
37 int priority = handler->priority; in xfrm4_tunnel_register()
51 handler->next = *pprev; in xfrm4_tunnel_register()
52 rcu_assign_pointer(*pprev, handler); in xfrm4_tunnel_register()
63 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_deregister() argument
75 if (t == handler) { in xfrm4_tunnel_deregister()
76 *pprev = handler->next; in xfrm4_tunnel_deregister()
90 #define for_each_tunnel_rcu(head, handler) \ argument
91 for (handler = rcu_dereference(head); \
92 handler != NULL; \
[all …]
Dxfrm4_protocol.c40 #define for_each_protocol_rcu(head, handler) \ argument
41 for (handler = rcu_dereference(head); \
42 handler != NULL; \
43 handler = rcu_dereference(handler->next)) \
48 struct xfrm4_protocol *handler; in xfrm4_rcv_cb() local
54 for_each_protocol_rcu(*head, handler) in xfrm4_rcv_cb()
55 if ((ret = handler->cb_handler(skb, err)) <= 0) in xfrm4_rcv_cb()
65 struct xfrm4_protocol *handler; in xfrm4_rcv_encap() local
83 for_each_protocol_rcu(*head, handler) in xfrm4_rcv_encap()
84 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) in xfrm4_rcv_encap()
[all …]
/linux-6.1.9/net/ipv6/
Dtunnel6.c32 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family) in xfrm6_tunnel_register() argument
37 int priority = handler->priority; in xfrm6_tunnel_register()
64 handler->next = *pprev; in xfrm6_tunnel_register()
65 rcu_assign_pointer(*pprev, handler); in xfrm6_tunnel_register()
76 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family) in xfrm6_tunnel_deregister() argument
101 if (t == handler) { in xfrm6_tunnel_deregister()
102 *pprev = handler->next; in xfrm6_tunnel_deregister()
117 #define for_each_tunnel_rcu(head, handler) \ argument
118 for (handler = rcu_dereference(head); \
119 handler != NULL; \
[all …]
Dxfrm6_protocol.c41 #define for_each_protocol_rcu(head, handler) \ argument
42 for (handler = rcu_dereference(head); \
43 handler != NULL; \
44 handler = rcu_dereference(handler->next)) \
49 struct xfrm6_protocol *handler; in xfrm6_rcv_cb() local
55 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb()
56 if ((ret = handler->cb_handler(skb, err)) <= 0) in xfrm6_rcv_cb()
66 struct xfrm6_protocol *handler; in xfrm6_rcv_encap() local
96 for_each_protocol_rcu(*head, handler) in xfrm6_rcv_encap()
97 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) in xfrm6_rcv_encap()
[all …]
/linux-6.1.9/drivers/soc/fsl/qbman/
Dqman_test_stash.c252 static inline int process_frame_data(struct hp_handler *handler, in process_frame_data() argument
255 u32 *p = handler->frame_ptr; in process_frame_data()
259 if (qm_fd_addr_get64(fd) != handler->addr) { in process_frame_data()
261 qm_fd_addr_get64(fd), handler->addr); in process_frame_data()
265 *p ^= handler->rx_mixer; in process_frame_data()
270 *p ^= handler->tx_mixer; in process_frame_data()
281 struct hp_handler *handler = (struct hp_handler *)fq; in normal_dqrr() local
283 if (process_frame_data(handler, &dqrr->fd)) { in normal_dqrr()
287 if (qman_enqueue(&handler->tx, &dqrr->fd)) { in normal_dqrr()
300 struct hp_handler *handler = (struct hp_handler *)fq; in special_dqrr() local
[all …]
/linux-6.1.9/kernel/
Dreboot.c319 struct sys_off_handler *handler; in sys_off_notify() local
322 handler = container_of(nb, struct sys_off_handler, nb); in sys_off_notify()
323 data.cb_data = handler->cb_data; in sys_off_notify()
327 return handler->sys_off_cb(&data); in sys_off_notify()
334 struct sys_off_handler *handler; in alloc_sys_off_handler() local
342 handler = &platform_sys_off_handler; in alloc_sys_off_handler()
343 if (handler->cb_data) in alloc_sys_off_handler()
351 handler = kzalloc(sizeof(*handler), flags); in alloc_sys_off_handler()
352 if (!handler) in alloc_sys_off_handler()
356 return handler; in alloc_sys_off_handler()
[all …]
/linux-6.1.9/drivers/acpi/acpica/
Devxface.c59 acpi_notify_handler handler, void *context) in acpi_install_notify_handler() argument
72 if ((!device) || (!handler) || (!handler_type) || in acpi_install_notify_handler()
92 if (acpi_gbl_global_notify[i].handler) { in acpi_install_notify_handler()
97 acpi_gbl_global_notify[i].handler = handler; in acpi_install_notify_handler()
147 if (handler_obj->notify.handler == handler) { in acpi_install_notify_handler()
167 handler_obj->notify.handler = handler; in acpi_install_notify_handler()
212 u32 handler_type, acpi_notify_handler handler) in ACPI_EXPORT_SYMBOL()
226 if ((!device) || (!handler) || (!handler_type) || in ACPI_EXPORT_SYMBOL()
242 if (!acpi_gbl_global_notify[i].handler || in ACPI_EXPORT_SYMBOL()
243 (acpi_gbl_global_notify[i].handler != in ACPI_EXPORT_SYMBOL()
[all …]
Devhandler.c128 handler_obj = obj_desc->common_notify.handler; in acpi_ev_has_default_handler()
220 handler); in acpi_ev_install_handler()
330 acpi_adr_space_handler handler, in acpi_ev_install_space_handler() argument
352 if (handler == ACPI_DEFAULT_HANDLER) { in acpi_ev_install_space_handler()
358 handler = acpi_ex_system_memory_space_handler; in acpi_ev_install_space_handler()
364 handler = acpi_ex_system_io_space_handler; in acpi_ev_install_space_handler()
370 handler = acpi_ex_pci_config_space_handler; in acpi_ev_install_space_handler()
376 handler = acpi_ex_cmos_space_handler; in acpi_ev_install_space_handler()
382 handler = acpi_ex_pci_bar_space_handler; in acpi_ev_install_space_handler()
388 handler = acpi_ex_data_table_space_handler; in acpi_ev_install_space_handler()
[all …]
/linux-6.1.9/arch/arm/probes/uprobes/
Dactions-arm.c195 [PROBES_PRELOAD_IMM] = {.handler = probes_simulate_nop},
196 [PROBES_PRELOAD_REG] = {.handler = probes_simulate_nop},
197 [PROBES_BRANCH_IMM] = {.handler = simulate_blx1},
198 [PROBES_MRS] = {.handler = simulate_mrs},
199 [PROBES_BRANCH_REG] = {.handler = simulate_blx2bx},
200 [PROBES_CLZ] = {.handler = probes_simulate_nop},
201 [PROBES_SATURATING_ARITHMETIC] = {.handler = probes_simulate_nop},
202 [PROBES_MUL1] = {.handler = probes_simulate_nop},
203 [PROBES_MUL2] = {.handler = probes_simulate_nop},
204 [PROBES_SWP] = {.handler = probes_simulate_nop},
[all …]
/linux-6.1.9/drivers/acpi/
Dwakeup.c114 struct acpi_wakeup_handler *handler; in acpi_register_wakeup_handler() local
123 handler = kmalloc(sizeof(*handler), GFP_KERNEL); in acpi_register_wakeup_handler()
124 if (!handler) in acpi_register_wakeup_handler()
127 handler->wakeup = wakeup; in acpi_register_wakeup_handler()
128 handler->context = context; in acpi_register_wakeup_handler()
131 list_add(&handler->list_node, &acpi_wakeup_handler_head); in acpi_register_wakeup_handler()
146 struct acpi_wakeup_handler *handler; in acpi_unregister_wakeup_handler() local
149 list_for_each_entry(handler, &acpi_wakeup_handler_head, list_node) { in acpi_unregister_wakeup_handler()
150 if (handler->wakeup == wakeup && handler->context == context) { in acpi_unregister_wakeup_handler()
151 list_del(&handler->list_node); in acpi_unregister_wakeup_handler()
[all …]
/linux-6.1.9/arch/arm/probes/kprobes/
Dactions-arm.c298 [PROBES_PRELOAD_IMM] = {.handler = probes_simulate_nop},
299 [PROBES_PRELOAD_REG] = {.handler = probes_simulate_nop},
300 [PROBES_BRANCH_IMM] = {.handler = simulate_blx1},
301 [PROBES_MRS] = {.handler = simulate_mrs},
302 [PROBES_BRANCH_REG] = {.handler = simulate_blx2bx},
303 [PROBES_CLZ] = {.handler = emulate_rd12rm0_noflags_nopc},
305 .handler = emulate_rd12rn16rm0_rwflags_nopc},
306 [PROBES_MUL1] = {.handler = emulate_rdlo12rdhi16rn0rm8_rwflags_nopc},
307 [PROBES_MUL2] = {.handler = emulate_rd16rn12rm0rs8_rwflags_nopc},
308 [PROBES_SWP] = {.handler = emulate_rd12rn16rm0_rwflags_nopc},
[all …]
Dactions-thumb.c621 [PROBES_T16_ADD_SP] = {.handler = t16_simulate_add_sp_imm},
622 [PROBES_T16_CBZ] = {.handler = t16_simulate_cbz},
623 [PROBES_T16_SIGN_EXTEND] = {.handler = t16_emulate_loregs_rwflags},
626 [PROBES_T16_SEV] = {.handler = probes_emulate_none},
627 [PROBES_T16_WFE] = {.handler = probes_simulate_nop},
629 [PROBES_T16_CMP] = {.handler = t16_emulate_loregs_rwflags},
630 [PROBES_T16_ADDSUB] = {.handler = t16_emulate_loregs_noitrwflags},
631 [PROBES_T16_LOGICAL] = {.handler = t16_emulate_loregs_noitrwflags},
632 [PROBES_T16_LDR_LIT] = {.handler = t16_simulate_ldr_literal},
633 [PROBES_T16_BLX] = {.handler = t16_simulate_bxblx},
[all …]
/linux-6.1.9/drivers/irqchip/
Dirq-sifive-plic.c100 static void plic_toggle(struct plic_handler *handler, int hwirq, int enable) in plic_toggle() argument
102 raw_spin_lock(&handler->enable_lock); in plic_toggle()
103 __plic_toggle(handler->enable_base, hwirq, enable); in plic_toggle()
104 raw_spin_unlock(&handler->enable_lock); in plic_toggle()
113 struct plic_handler *handler = per_cpu_ptr(&plic_handlers, cpu); in plic_irq_toggle() local
115 plic_toggle(handler, d->hwirq, enable); in plic_irq_toggle()
145 struct plic_handler *handler = this_cpu_ptr(&plic_handlers); in plic_irq_eoi() local
147 writel(d->hwirq, handler->hart_base + CONTEXT_CLAIM); in plic_irq_eoi()
290 struct plic_handler *handler = this_cpu_ptr(&plic_handlers); in plic_handle_irq() local
292 void __iomem *claim = handler->hart_base + CONTEXT_CLAIM; in plic_handle_irq()
[all …]
/linux-6.1.9/arch/powerpc/sysdev/
Dpmi.c29 struct list_head handler; member
102 struct pmi_handler *handler; in pmi_notify_handlers() local
105 list_for_each_entry(handler, &data->handler, node) { in pmi_notify_handlers()
106 pr_debug("pmi: notifying handler %p\n", handler); in pmi_notify_handlers()
107 if (handler->type == data->msg.type) in pmi_notify_handlers()
108 handler->handle_pmi_message(data->msg); in pmi_notify_handlers()
138 INIT_LIST_HEAD(&data->handler); in pmi_of_probe()
178 struct pmi_handler *handler, *tmp; in pmi_of_remove() local
185 list_for_each_entry_safe(handler, tmp, &data->handler, node) in pmi_of_remove()
186 list_del(&handler->node); in pmi_of_remove()
[all …]
/linux-6.1.9/drivers/media/rc/
Drc-ir-raw.c24 struct ir_raw_handler *handler; in ir_raw_event_thread() local
39 list_for_each_entry(handler, &ir_raw_handler_list, list) in ir_raw_event_thread()
41 handler->protocols || !handler->protocols) in ir_raw_event_thread()
42 handler->decode(dev, ev); in ir_raw_event_thread()
245 struct ir_raw_handler *handler; in change_protocol() local
249 list_for_each_entry(handler, &ir_raw_handler_list, list) { in change_protocol()
250 if (!(dev->enabled_protocols & handler->protocols) && in change_protocol()
251 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol()
252 handler->raw_register(dev); in change_protocol()
254 if ((dev->enabled_protocols & handler->protocols) && in change_protocol()
[all …]
/linux-6.1.9/fs/
Dxattr.c46 #define for_each_xattr_handler(handlers, handler) \ argument
48 for ((handler) = *(handlers)++; \
49 (handler) != NULL; \
50 (handler) = *(handlers)++)
59 const struct xattr_handler *handler; in xattr_resolve_name() local
66 for_each_xattr_handler(handlers, handler) { in xattr_resolve_name()
69 n = strcmp_prefix(*name, xattr_prefix(handler)); in xattr_resolve_name()
71 if (!handler->prefix ^ !*n) { in xattr_resolve_name()
77 return handler; in xattr_resolve_name()
148 const struct xattr_handler *handler; in xattr_supported_namespace() local
[all …]
/linux-6.1.9/fs/btrfs/
Dprops.c63 const struct prop_handler *handler; in btrfs_validate_prop() local
68 handler = find_prop_handler(name, NULL); in btrfs_validate_prop()
69 if (!handler) in btrfs_validate_prop()
75 return handler->validate(inode, value, value_len); in btrfs_validate_prop()
92 const struct prop_handler *handler; in btrfs_ignore_prop() local
94 handler = find_prop_handler(name, NULL); in btrfs_ignore_prop()
95 ASSERT(handler != NULL); in btrfs_ignore_prop()
97 return handler->ignore(inode); in btrfs_ignore_prop()
104 const struct prop_handler *handler; in btrfs_set_prop() local
107 handler = find_prop_handler(name, NULL); in btrfs_set_prop()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_irq.c80 interrupt_handler handler; member
104 hcd->handler = ih; in init_handler_common_data()
119 handler_data->handler(handler_data->handler_arg); in dm_irq_work_func()
136 struct amdgpu_dm_irq_handler_data *handler; in remove_irq_handler() local
157 handler = list_entry(entry, struct amdgpu_dm_irq_handler_data, in remove_irq_handler()
160 if (handler == NULL) in remove_irq_handler()
163 if (ih == handler->handler) { in remove_irq_handler()
165 list_del(&handler->list); in remove_irq_handler()
179 kfree(handler); in remove_irq_handler()
199 struct amdgpu_dm_irq_handler_data *handler; in unregister_all_irq_handlers() local
[all …]
/linux-6.1.9/drivers/scsi/
Dscsi_dh.c154 sdev->handler = scsi_dh; in scsi_dh_handler_attach()
165 sdev->handler->detach(sdev); in scsi_dh_handler_detach()
166 sdev_printk(KERN_NOTICE, sdev, "%s: Detached\n", sdev->handler->name); in scsi_dh_handler_detach()
167 module_put(sdev->handler->module); in scsi_dh_handler_detach()
188 if (sdev->handler) in scsi_dh_release_device()
263 if (!sdev->handler) in scsi_dh_activate()
274 if (sdev->handler->activate) in scsi_dh_activate()
275 err = sdev->handler->activate(sdev, fn, data); in scsi_dh_activate()
307 if (sdev->handler && sdev->handler->set_params) in scsi_dh_set_params()
308 err = sdev->handler->set_params(sdev, params); in scsi_dh_set_params()
[all …]
/linux-6.1.9/kernel/trace/
Drethook.c68 WRITE_ONCE(rh->handler, NULL); in rethook_free()
82 struct rethook *rethook_alloc(void *data, rethook_handler_t handler) in rethook_alloc() argument
86 if (!rh || !handler) { in rethook_alloc()
92 rh->handler = handler; in rethook_alloc()
134 if (likely(READ_ONCE(node->rethook->handler))) in rethook_recycle()
150 rethook_handler_t handler = READ_ONCE(rh->handler); in rethook_try_get() local
156 if (unlikely(!handler)) in rethook_try_get()
276 rethook_handler_t handler; in rethook_trampoline_handler() local
302 handler = READ_ONCE(rhn->rethook->handler); in rethook_trampoline_handler()
303 if (handler) in rethook_trampoline_handler()
[all …]
/linux-6.1.9/drivers/platform/surface/
Dsurface_platform_profile.c32 struct platform_profile_handler handler; member
115 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_get()
135 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_set()
154 tpd->handler.profile_get = ssam_platform_profile_get; in surface_platform_profile_probe()
155 tpd->handler.profile_set = ssam_platform_profile_set; in surface_platform_profile_probe()
157 set_bit(PLATFORM_PROFILE_LOW_POWER, tpd->handler.choices); in surface_platform_profile_probe()
158 set_bit(PLATFORM_PROFILE_BALANCED, tpd->handler.choices); in surface_platform_profile_probe()
159 set_bit(PLATFORM_PROFILE_BALANCED_PERFORMANCE, tpd->handler.choices); in surface_platform_profile_probe()
160 set_bit(PLATFORM_PROFILE_PERFORMANCE, tpd->handler.choices); in surface_platform_profile_probe()
162 platform_profile_register(&tpd->handler); in surface_platform_profile_probe()
/linux-6.1.9/include/trace/events/
Dnmi.h13 TP_PROTO(void *handler, s64 delta_ns, int handled),
15 TP_ARGS(handler, delta_ns, handled),
18 __field( void *, handler )
24 __entry->handler = handler;
30 __entry->handler,
/linux-6.1.9/arch/mips/lib/
Dmemcpy.S115 #define EXC(insn, type, reg, addr, handler) \ argument
119 PTR_WD 9b, handler; \
128 PTR_WD 9b, handler; \
149 #define LOAD(reg, addr, handler) EXC(ld, LD_INSN, reg, addr, handler) argument
150 #define LOADL(reg, addr, handler) EXC(ldl, LD_INSN, reg, addr, handler) argument
151 #define LOADR(reg, addr, handler) EXC(ldr, LD_INSN, reg, addr, handler) argument
152 #define STOREL(reg, addr, handler) EXC(sdl, ST_INSN, reg, addr, handler) argument
153 #define STORER(reg, addr, handler) EXC(sdr, ST_INSN, reg, addr, handler) argument
154 #define STORE(reg, addr, handler) EXC(sd, ST_INSN, reg, addr, handler) argument
186 #define LOAD(reg, addr, handler) EXC(lw, LD_INSN, reg, addr, handler) argument
[all …]

12345678910>>...63