Home
last modified time | relevance | path

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

12345678910>>...64

/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dmmu_rb.c45 struct mmu_rb_handler **handler) in hfi1_mmu_rb_register() argument
74 *handler = h; in hfi1_mmu_rb_register()
78 void hfi1_mmu_rb_unregister(struct mmu_rb_handler *handler) in hfi1_mmu_rb_unregister() argument
86 mmgrab(handler->mn.mm); in hfi1_mmu_rb_unregister()
89 mmu_notifier_unregister(&handler->mn, handler->mn.mm); in hfi1_mmu_rb_unregister()
95 flush_work(&handler->del_work); in hfi1_mmu_rb_unregister()
99 spin_lock_irqsave(&handler->lock, flags); in hfi1_mmu_rb_unregister()
100 while ((node = rb_first_cached(&handler->root))) { in hfi1_mmu_rb_unregister()
102 rb_erase_cached(node, &handler->root); in hfi1_mmu_rb_unregister()
106 spin_unlock_irqrestore(&handler->lock, flags); in hfi1_mmu_rb_unregister()
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/kernel/
Dreboot.c320 struct sys_off_handler *handler; in sys_off_notify() local
323 handler = container_of(nb, struct sys_off_handler, nb); in sys_off_notify()
324 data.cb_data = handler->cb_data; in sys_off_notify()
328 return handler->sys_off_cb(&data); in sys_off_notify()
335 struct sys_off_handler *handler; in alloc_sys_off_handler() local
343 handler = &platform_sys_off_handler; in alloc_sys_off_handler()
344 if (handler->cb_data) in alloc_sys_off_handler()
352 handler = kzalloc(sizeof(*handler), flags); in alloc_sys_off_handler()
353 if (!handler) in alloc_sys_off_handler()
357 return handler; in alloc_sys_off_handler()
[all …]
/linux-6.6.21/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 …]
Devxfregn.c48 acpi_adr_space_handler handler, in acpi_install_address_space_handler_internal() argument
79 acpi_ev_install_space_handler(node, space_id, handler, setup, in acpi_install_address_space_handler_internal()
99 acpi_adr_space_handler handler, in acpi_install_address_space_handler() argument
103 handler, setup, in acpi_install_address_space_handler()
111 acpi_adr_space_handler handler, in ACPI_EXPORT_SYMBOL()
116 handler, setup, in ACPI_EXPORT_SYMBOL()
138 acpi_adr_space_handler handler) in ACPI_EXPORT_SYMBOL()
182 handler_obj = obj_desc->common_notify.handler; in ACPI_EXPORT_SYMBOL()
183 last_obj_ptr = &obj_desc->common_notify.handler; in ACPI_EXPORT_SYMBOL()
192 if (handler_obj->address_space.handler != handler) { in ACPI_EXPORT_SYMBOL()
[all …]
/linux-6.6.21/drivers/irqchip/
Dirq-sifive-plic.c104 static void plic_toggle(struct plic_handler *handler, int hwirq, int enable) in plic_toggle() argument
106 raw_spin_lock(&handler->enable_lock); in plic_toggle()
107 __plic_toggle(handler->enable_base, hwirq, enable); in plic_toggle()
108 raw_spin_unlock(&handler->enable_lock); in plic_toggle()
117 struct plic_handler *handler = per_cpu_ptr(&plic_handlers, cpu); in plic_irq_toggle() local
119 plic_toggle(handler, d->hwirq, enable); in plic_irq_toggle()
149 struct plic_handler *handler = this_cpu_ptr(&plic_handlers); in plic_irq_eoi() local
152 plic_toggle(handler, d->hwirq, 1); in plic_irq_eoi()
153 writel(d->hwirq, handler->hart_base + CONTEXT_CLAIM); in plic_irq_eoi()
154 plic_toggle(handler, d->hwirq, 0); in plic_irq_eoi()
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/fs/btrfs/
Dprops.c68 const struct prop_handler *handler; in btrfs_validate_prop() local
73 handler = find_prop_handler(name, NULL); in btrfs_validate_prop()
74 if (!handler) in btrfs_validate_prop()
80 return handler->validate(inode, value, value_len); in btrfs_validate_prop()
97 const struct prop_handler *handler; in btrfs_ignore_prop() local
99 handler = find_prop_handler(name, NULL); in btrfs_ignore_prop()
100 ASSERT(handler != NULL); in btrfs_ignore_prop()
102 return handler->ignore(inode); in btrfs_ignore_prop()
109 const struct prop_handler *handler; in btrfs_set_prop() local
112 handler = find_prop_handler(name, NULL); in btrfs_set_prop()
[all …]
/linux-6.6.21/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()
137 struct amdgpu_dm_irq_handler_data *handler; in remove_irq_handler() local
158 handler = list_entry(entry, struct amdgpu_dm_irq_handler_data, in remove_irq_handler()
161 if (handler == NULL) in remove_irq_handler()
164 if (ih == handler->handler) { in remove_irq_handler()
166 list_del(&handler->list); in remove_irq_handler()
181 kfree(handler); in remove_irq_handler()
201 struct amdgpu_dm_irq_handler_data *handler; in unregister_all_irq_handlers() local
[all …]
/linux-6.6.21/kernel/trace/
Drethook.c66 rcu_assign_pointer(rh->handler, NULL); in rethook_stop()
88 return (rethook_handler_t)rcu_dereference_check(rh->handler, in rethook_get_handler()
101 struct rethook *rethook_alloc(void *data, rethook_handler_t handler) in rethook_alloc() argument
105 if (!rh || !handler) { in rethook_alloc()
111 rcu_assign_pointer(rh->handler, handler); in rethook_alloc()
151 rethook_handler_t handler; in rethook_recycle() local
153 handler = rethook_get_handler(node->rethook); in rethook_recycle()
154 if (likely(handler)) in rethook_recycle()
170 rethook_handler_t handler = rethook_get_handler(rh); in rethook_try_get() local
174 if (unlikely(!handler)) in rethook_try_get()
[all …]
/linux-6.6.21/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.6.21/fs/
Dxattr.c47 #define for_each_xattr_handler(handlers, handler) \ argument
49 for ((handler) = *(handlers)++; \
50 (handler) != NULL; \
51 (handler) = *(handlers)++)
60 const struct xattr_handler *handler; in xattr_resolve_name() local
67 for_each_xattr_handler(handlers, handler) { in xattr_resolve_name()
70 n = strcmp_prefix(*name, xattr_prefix(handler)); in xattr_resolve_name()
72 if (!handler->prefix ^ !*n) { in xattr_resolve_name()
78 return handler; in xattr_resolve_name()
166 const struct xattr_handler *handler; in xattr_supports_user_prefix() local
[all …]
/linux-6.6.21/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 return platform_profile_register(&tpd->handler); in surface_platform_profile_probe()
/linux-6.6.21/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.6.21/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>>...64