Home
last modified time | relevance | path

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

12345678910>>...55

/linux/drivers/infiniband/hw/hfi1/
A Dmmu_rb.c72 *handler = h; in hfi1_mmu_rb_register()
84 mmu_notifier_unregister(&handler->mn, handler->mn.mm); in hfi1_mmu_rb_unregister()
105 kfree(handler); in hfi1_mmu_rb_unregister()
129 ret = handler->ops->insert(handler->ops_arg, mnode); in hfi1_mmu_rb_insert()
134 mnode->handler = handler; in hfi1_mmu_rb_insert()
205 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
219 handler->ops->remove(handler->ops_arg, rbnode); in hfi1_mmu_rb_evict()
243 handler->ops->remove(handler->ops_arg, node); in hfi1_mmu_rb_remove()
263 if (handler->ops->invalidate(handler->ops_arg, node)) { in mmu_notifier_range_start()
273 queue_work(handler->wq, &handler->del_work); in mmu_notifier_range_start()
[all …]
A 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/net/ipv4/
A Dxfrm4_protocol.c42 handler != NULL; \
43 handler = rcu_dereference(handler->next)) \
104 if ((ret = handler->handler(skb)) != -EINVAL) in xfrm4_esp_rcv()
132 if ((ret = handler->handler(skb)) != -EINVAL) in xfrm4_ah_rcv()
160 if ((ret = handler->handler(skb)) != -EINVAL) in xfrm4_ipcomp_rcv()
181 .handler = xfrm4_esp_rcv,
187 .handler = xfrm4_ah_rcv,
193 .handler = xfrm4_ipcomp_rcv,
245 handler->next = *pprev; in xfrm4_protocol_register()
280 if (t == handler) { in xfrm4_protocol_deregister()
[all …]
A Dtunnel4.c51 handler->next = *pprev; in xfrm4_tunnel_register()
75 if (t == handler) { in xfrm4_tunnel_deregister()
76 *pprev = handler->next; in xfrm4_tunnel_deregister()
92 handler != NULL; \
93 handler = rcu_dereference(handler->next)) \
103 if (!handler->handler(skb)) in tunnel4_rcv()
123 if (handler->cb_handler) { in tunnel4_rcv_cb()
149 if (!handler->handler(skb)) in tunnel64_rcv()
169 if (!handler->handler(skb)) in tunnelmpls4_rcv()
218 .handler = tunnel4_rcv,
[all …]
/linux/net/ipv6/
A Dtunnel6.c64 handler->next = *pprev; in xfrm6_tunnel_register()
101 if (t == handler) { in xfrm6_tunnel_deregister()
102 *pprev = handler->next; in xfrm6_tunnel_deregister()
119 handler != NULL; \
120 handler = rcu_dereference(handler->next)) \
130 if (!handler->handler(skb)) in tunnelmpls6_rcv()
148 if (!handler->handler(skb)) in tunnel6_rcv()
168 if (handler->cb_handler) { in tunnel6_rcv_cb()
193 if (!handler->handler(skb)) in tunnel46_rcv()
240 .handler = tunnel6_rcv,
[all …]
A Dxfrm6_protocol.c43 handler != NULL; \
44 handler = rcu_dereference(handler->next)) \
49 struct xfrm6_protocol *handler; in xfrm6_rcv_cb() local
117 if ((ret = handler->handler(skb)) != -EINVAL) in xfrm6_esp_rcv()
146 if ((ret = handler->handler(skb)) != -EINVAL) in xfrm6_ah_rcv()
175 if ((ret = handler->handler(skb)) != -EINVAL) in xfrm6_ipcomp_rcv()
197 .handler = xfrm6_esp_rcv,
203 .handler = xfrm6_ah_rcv,
261 handler->next = *pprev; in xfrm6_protocol_register()
296 if (t == handler) { in xfrm6_protocol_deregister()
[all …]
/linux/drivers/soc/fsl/qbman/
A Dqman_test_stash.c265 *p ^= handler->rx_mixer; in process_frame_data()
270 *p ^= handler->tx_mixer; in process_frame_data()
331 if (!handler) { in create_per_cpu_handlers()
370 list_del(&handler->node); in destroy_per_cpu_handlers()
400 memset(&handler->rx, 0, sizeof(handler->rx)); in init_handler()
405 err = qman_create_fq(handler->fqid_rx, 0, &handler->rx); in init_handler()
422 memset(&handler->tx, 0, sizeof(handler->tx)); in init_handler()
424 &handler->tx); in init_handler()
480 if (handler->fqid_rx != 0 || handler->rx_mixer != 0xdeadbeef) in init_phase2()
482 handler->fqid_rx = fqid; in init_phase2()
[all …]
/linux/drivers/acpi/acpica/
A Devxface.c97 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()
244 handler)) { in ACPI_EXPORT_SYMBOL()
294 (handler_obj->notify.handler != handler)) { in ACPI_EXPORT_SYMBOL()
542 if (!handler) { in ACPI_EXPORT_SYMBOL()
611 acpi_gbl_fixed_event_handlers[event].handler = handler; in ACPI_EXPORT_SYMBOL()
630 handler)); in ACPI_EXPORT_SYMBOL()
743 if (!handler) { in ACPI_EXPORT_SYMBOL()
798 gpe_event_info->dispatch.handler = handler; in ACPI_EXPORT_SYMBOL()
[all …]
A 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()
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()
416 handler); in acpi_ev_install_space_handler()
419 if (handler_obj->address_space.handler == handler) { in acpi_ev_install_space_handler()
[all …]
A Devxfregn.c45 acpi_adr_space_handler handler, in acpi_install_address_space_handler() argument
75 acpi_ev_install_space_handler(node, space_id, handler, setup, in acpi_install_address_space_handler()
108 acpi_adr_space_handler handler) in ACPI_EXPORT_SYMBOL()
152 handler_obj = obj_desc->common_notify.handler; in ACPI_EXPORT_SYMBOL()
153 last_obj_ptr = &obj_desc->common_notify.handler; in ACPI_EXPORT_SYMBOL()
162 if (handler_obj->address_space.handler != handler) { in ACPI_EXPORT_SYMBOL()
172 handler_obj, handler, in ACPI_EXPORT_SYMBOL()
220 handler, acpi_ut_get_region_name(space_id), space_id, in ACPI_EXPORT_SYMBOL()
/linux/arch/arm/probes/uprobes/
A Dactions-arm.c197 [PROBES_BRANCH_IMM] = {.handler = simulate_blx1},
198 [PROBES_MRS] = {.handler = simulate_mrs},
200 [PROBES_CLZ] = {.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},
216 [PROBES_SEV] = {.handler = probes_simulate_nop},
217 [PROBES_WFE] = {.handler = probes_simulate_nop},
219 [PROBES_REV] = {.handler = probes_simulate_nop},
220 [PROBES_MMI] = {.handler = probes_simulate_nop},
[all …]
/linux/drivers/irqchip/
A Dirq-sifive-plic.c90 raw_spin_lock(&handler->enable_lock); in plic_toggle()
95 raw_spin_unlock(&handler->enable_lock); in plic_toggle()
108 if (handler->present && in plic_irq_toggle()
237 WARN_ON_ONCE(!handler->present); in plic_handle_irq()
286 struct plic_handler *handler; in plic_init() local
356 if (handler->present) { in plic_init()
363 handler->present = true; in plic_init()
364 handler->hart_base = in plic_init()
367 handler->enable_base = in plic_init()
369 handler->priv = priv; in plic_init()
[all …]
/linux/arch/arm/probes/kprobes/
A Dactions-arm.c301 [PROBES_MRS] = {.handler = simulate_mrs},
305 .handler = emulate_rd12rn16rm0_rwflags_nopc},
310 [PROBES_LOAD_EXTRA] = {.handler = emulate_ldr},
311 [PROBES_LOAD] = {.handler = emulate_ldr},
312 [PROBES_STORE_EXTRA] = {.handler = emulate_str},
313 [PROBES_STORE] = {.handler = emulate_str},
316 .handler = emulate_rd12rn16rm0rs8_rwflags},
318 .handler = emulate_rd12rn16rm0rs8_rwflags},
320 [PROBES_SEV] = {.handler = probes_emulate_none},
321 [PROBES_WFE] = {.handler = probes_simulate_nop},
[all …]
A Dactions-thumb.c614 [PROBES_T16_CBZ] = {.handler = t16_simulate_cbz},
618 [PROBES_T16_SEV] = {.handler = probes_emulate_none},
619 [PROBES_T16_WFE] = {.handler = probes_simulate_nop},
625 [PROBES_T16_BLX] = {.handler = t16_simulate_bxblx},
629 [PROBES_T16_ADR] = {.handler = t16_simulate_reladr},
649 [PROBES_T32_SEV] = {.handler = probes_emulate_none},
650 [PROBES_T32_WFE] = {.handler = probes_simulate_nop},
651 [PROBES_T32_MRS] = {.handler = t32_simulate_mrs},
654 [PROBES_T32_PLDI] = {.handler = probes_simulate_nop},
656 [PROBES_T32_LDRSTR] = {.handler = t32_emulate_ldrstr},
[all …]
/linux/drivers/acpi/
A 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()
146 struct acpi_wakeup_handler *handler; in acpi_unregister_wakeup_handler() local
150 if (handler->wakeup == wakeup && handler->context == context) { in acpi_unregister_wakeup_handler()
151 list_del(&handler->list_node); in acpi_unregister_wakeup_handler()
152 kfree(handler); in acpi_unregister_wakeup_handler()
162 struct acpi_wakeup_handler *handler; in acpi_check_wakeup_handlers() local
[all …]
/linux/arch/s390/include/asm/
A Dextable.h28 long handler; member
47 if (likely(!x->handler)) in ex_fixup_handler()
49 return (ex_handler_t)((unsigned long)&x->handler + x->handler); in ex_fixup_handler()
55 ex_handler_t handler = ex_fixup_handler(x); in ex_handle() local
57 if (unlikely(handler)) in ex_handle()
58 return handler(x, regs); in ex_handle()
72 a->handler = b->handler + delta; in swap_ex_entry_fixup()
73 b->handler = tmp.handler - delta; in swap_ex_entry_fixup()
/linux/fs/
A Dxattr.c75 return handler; in xattr_resolve_name()
176 if (!handler->set) in __vfs_setxattr()
180 return handler->set(handler, mnt_userns, dentry, inode, name, value, in __vfs_setxattr()
370 if (!handler->get) in vfs_getxattr_alloc()
372 error = handler->get(handler, dentry, inode, name, NULL, 0); in vfs_getxattr_alloc()
383 error = handler->get(handler, dentry, inode, name, value, error); in vfs_getxattr_alloc()
397 if (!handler->get) in __vfs_getxattr()
399 return handler->get(handler, dentry, inode, name, value, size); in __vfs_getxattr()
466 if (!handler->set) in __vfs_removexattr()
889 (handler->list && !handler->list(dentry))) in generic_listxattr()
[all …]
/linux/drivers/media/rc/
A Drc-ir-raw.c24 struct ir_raw_handler *handler; in ir_raw_event_thread() local
43 handler->protocols || !handler->protocols) in ir_raw_event_thread()
44 handler->decode(dev, ev); in ir_raw_event_thread()
247 struct ir_raw_handler *handler; in change_protocol() local
253 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol()
254 handler->raw_register(dev); in change_protocol()
258 handler->raw_unregister) in change_protocol()
259 handler->raw_unregister(dev); in change_protocol()
532 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_scancode()
600 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_carrier()
[all …]
/linux/arch/powerpc/sysdev/
A Dpmi.c28 struct list_head handler; member
101 struct pmi_handler *handler; in pmi_notify_handlers() local
104 list_for_each_entry(handler, &data->handler, node) { in pmi_notify_handlers()
106 if (handler->type == data->msg.type) in pmi_notify_handlers()
107 handler->handle_pmi_message(data->msg); in pmi_notify_handlers()
137 INIT_LIST_HEAD(&data->handler); in pmi_of_probe()
177 struct pmi_handler *handler, *tmp; in pmi_of_remove() local
184 list_for_each_entry_safe(handler, tmp, &data->handler, node) in pmi_of_remove()
185 list_del(&handler->node); in pmi_of_remove()
246 list_add_tail(&handler->node, &data->handler); in pmi_register_handler()
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_irq.c80 interrupt_handler handler; member
104 hcd->handler = ih; in init_handler_common_data()
160 if (handler == NULL) in remove_irq_handler()
163 if (ih == handler->handler) { in remove_irq_handler()
179 kfree(handler); in remove_irq_handler()
214 if (handler == NULL || handler->handler == NULL) in unregister_all_irq_handlers()
218 kfree(handler); in unregister_all_irq_handlers()
226 if (handler == NULL || handler->handler == NULL) in unregister_all_irq_handlers()
230 kfree(handler); in unregister_all_irq_handlers()
459 handler = list_entry( in amdgpu_dm_irq_fini()
[all …]
/linux/drivers/scsi/
A Dscsi_dh.c154 sdev->handler = scsi_dh; in scsi_dh_handler_attach()
165 sdev->handler->detach(sdev); 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()
336 if (sdev->handler) { in scsi_dh_attach()
337 if (sdev->handler != scsi_dh) in scsi_dh_attach()
[all …]
/linux/arch/mips/lib/
A Dmemcpy.S149 #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
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
187 #define LOADL(reg, addr, handler) EXC(lwl, LD_INSN, reg, addr, handler) argument
188 #define LOADR(reg, addr, handler) EXC(lwr, LD_INSN, reg, addr, handler) argument
191 #define STORE(reg, addr, handler) EXC(sw, ST_INSN, reg, addr, handler) argument
204 #define LOADB(reg, addr, handler) EXC(lb, LD_INSN, reg, addr, handler) argument
[all …]
/linux/drivers/gpu/vga/
A Dvga_switcheroo.c192 if (vgasr_priv.handler->init) in vga_switcheroo_enable()
193 vgasr_priv.handler->init(); in vga_switcheroo_enable()
240 if (vgasr_priv.handler) { in vga_switcheroo_register_handler()
245 vgasr_priv.handler = handler; in vga_switcheroo_register_handler()
266 vgasr_priv.handler = NULL; in vga_switcheroo_unregister_handler()
564 if (!vgasr_priv.handler || !vgasr_priv.handler->switch_ddc) { in vga_switcheroo_lock_ddc()
602 ret = vgasr_priv.handler->switch_ddc( in vga_switcheroo_unlock_ddc()
676 if (vgasr_priv.handler->power_state) in vga_switchon()
690 if (vgasr_priv.handler->power_state) in vga_switchoff()
1000 if (!vgasr_priv.handler->power_state) in vga_switcheroo_power_switch()
[all …]
/linux/fs/btrfs/
A Dprops.c60 const struct prop_handler *handler; in btrfs_validate_prop() local
65 handler = find_prop_handler(name, NULL); in btrfs_validate_prop()
66 if (!handler) in btrfs_validate_prop()
79 const struct prop_handler *handler; in btrfs_set_prop() local
82 handler = find_prop_handler(name, NULL); in btrfs_set_prop()
83 if (!handler) in btrfs_set_prop()
92 ret = handler->apply(inode, NULL, 0); in btrfs_set_prop()
167 const struct prop_handler *handler; in iterate_object_props() local
192 if (!handler) in iterate_object_props()
226 const struct prop_handler *handler, in inode_prop_iterator() argument
[all …]
/linux/drivers/platform/surface/
A 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()

Completed in 38 milliseconds

12345678910>>...55