/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | mmu_rb.c | 63 static void do_remove(struct mmu_rb_handler *handler, 87 struct mmu_rb_handler **handler) in hfi1_mmu_rb_register() argument 113 *handler = h; in hfi1_mmu_rb_register() 117 void hfi1_mmu_rb_unregister(struct mmu_rb_handler *handler) in hfi1_mmu_rb_unregister() argument 125 mmu_notifier_unregister(&handler->mn, handler->mn.mm); in hfi1_mmu_rb_unregister() 131 flush_work(&handler->del_work); in hfi1_mmu_rb_unregister() 135 spin_lock_irqsave(&handler->lock, flags); in hfi1_mmu_rb_unregister() 136 while ((node = rb_first_cached(&handler->root))) { in hfi1_mmu_rb_unregister() 138 rb_erase_cached(node, &handler->root); in hfi1_mmu_rb_unregister() 142 spin_unlock_irqrestore(&handler->lock, flags); in hfi1_mmu_rb_unregister() [all …]
|
D | mmu_rb.h | 58 struct mmu_rb_handler *handler; member 91 struct mmu_rb_handler **handler); 92 void hfi1_mmu_rb_unregister(struct mmu_rb_handler *handler); 93 int hfi1_mmu_rb_insert(struct mmu_rb_handler *handler, 95 void hfi1_mmu_rb_evict(struct mmu_rb_handler *handler, void *evict_arg); 96 void hfi1_mmu_rb_remove(struct mmu_rb_handler *handler, 98 bool hfi1_mmu_rb_remove_unless_exact(struct mmu_rb_handler *handler,
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tunnel4.c | 31 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 …]
|
D | xfrm4_protocol.c | 40 #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 …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | tunnel6.c | 32 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 …]
|
D | xfrm6_protocol.c | 41 #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 …]
|
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
D | qman_test_stash.c | 252 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() 280 struct hp_handler *handler = (struct hp_handler *)fq; in normal_dqrr() local 282 if (process_frame_data(handler, &dqrr->fd)) { in normal_dqrr() 286 if (qman_enqueue(&handler->tx, &dqrr->fd)) { in normal_dqrr() 298 struct hp_handler *handler = (struct hp_handler *)fq; in special_dqrr() local [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | evxface.c | 59 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 …]
|
D | evhandler.c | 128 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 …]
|
D | evxfregn.c | 45 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()
|
/kernel/linux/linux-5.10/arch/arm/probes/uprobes/ |
D | actions-arm.c | 195 [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 …]
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | wakeup.c | 114 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 …]
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-sifive-plic.c | 84 static inline void plic_toggle(struct plic_handler *handler, in plic_toggle() argument 87 u32 __iomem *reg = handler->enable_base + (hwirq / 32) * sizeof(u32); in plic_toggle() 90 raw_spin_lock(&handler->enable_lock); in plic_toggle() 95 raw_spin_unlock(&handler->enable_lock); in plic_toggle() 106 struct plic_handler *handler = per_cpu_ptr(&plic_handlers, cpu); in plic_irq_toggle() local 108 if (handler->present && in plic_irq_toggle() 109 cpumask_test_cpu(cpu, &handler->priv->lmask)) in plic_irq_toggle() 110 plic_toggle(handler, d->hwirq, enable); in plic_irq_toggle() 164 struct plic_handler *handler = this_cpu_ptr(&plic_handlers); in plic_irq_eoi() local 168 writel(d->hwirq, handler->hart_base + CONTEXT_CLAIM); in plic_irq_eoi() [all …]
|
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/ |
D | actions-arm.c | 298 [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 …]
|
D | actions-thumb.c | 613 [PROBES_T16_ADD_SP] = {.handler = t16_simulate_add_sp_imm}, 614 [PROBES_T16_CBZ] = {.handler = t16_simulate_cbz}, 615 [PROBES_T16_SIGN_EXTEND] = {.handler = t16_emulate_loregs_rwflags}, 618 [PROBES_T16_SEV] = {.handler = probes_emulate_none}, 619 [PROBES_T16_WFE] = {.handler = probes_simulate_nop}, 621 [PROBES_T16_CMP] = {.handler = t16_emulate_loregs_rwflags}, 622 [PROBES_T16_ADDSUB] = {.handler = t16_emulate_loregs_noitrwflags}, 623 [PROBES_T16_LOGICAL] = {.handler = t16_emulate_loregs_noitrwflags}, 624 [PROBES_T16_LDR_LIT] = {.handler = t16_simulate_ldr_literal}, 625 [PROBES_T16_BLX] = {.handler = t16_simulate_bxblx}, [all …]
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | extable.h | 28 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()
|
/kernel/linux/linux-5.10/fs/ |
D | xattr.c | 44 #define for_each_xattr_handler(handlers, handler) \ argument 46 for ((handler) = *(handlers)++; \ 47 (handler) != NULL; \ 48 (handler) = *(handlers)++) 57 const struct xattr_handler *handler; in xattr_resolve_name() local 64 for_each_xattr_handler(handlers, handler) { in xattr_resolve_name() 67 n = strcmp_prefix(*name, xattr_prefix(handler)); in xattr_resolve_name() 69 if (!handler->prefix ^ !*n) { in xattr_resolve_name() 75 return handler; in xattr_resolve_name() 144 const struct xattr_handler *handler; in xattr_supported_namespace() local [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | pmi.c | 28 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() 105 pr_debug("pmi: notifying handler %p\n", handler); 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() [all …]
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | rc-ir-raw.c | 24 struct ir_raw_handler *handler; in ir_raw_event_thread() local 41 list_for_each_entry(handler, &ir_raw_handler_list, list) in ir_raw_event_thread() 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 251 list_for_each_entry(handler, &ir_raw_handler_list, list) { in change_protocol() 252 if (!(dev->enabled_protocols & handler->protocols) && in change_protocol() 253 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol() 254 handler->raw_register(dev); in change_protocol() 256 if ((dev->enabled_protocols & handler->protocols) && in change_protocol() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | sfi_acpi.h | 68 int (*handler)(struct acpi_table_header *)); 71 int (*handler)(struct acpi_table_header *)) in acpi_sfi_table_parse() 73 if (!acpi_table_parse(signature, handler)) in acpi_sfi_table_parse() 76 return sfi_acpi_table_parse(signature, NULL, NULL, handler); in acpi_sfi_table_parse() 81 int (*handler)(struct acpi_table_header *)) in sfi_acpi_table_parse() 87 int (*handler)(struct acpi_table_header *)) in acpi_sfi_table_parse() 89 return acpi_table_parse(signature, handler); in acpi_sfi_table_parse()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_dh.c | 154 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 …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | nmi.h | 13 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,
|
/kernel/linux/linux-5.10/arch/mips/lib/ |
D | memcpy.S | 115 #define EXC(insn, type, reg, addr, handler) \ argument 119 PTR 9b, handler; \ 128 PTR 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/vga/ |
D | vga_switcheroo.c | 159 const struct vga_switcheroo_handler *handler; member 183 vgasr_priv.registered_clients == 2 && vgasr_priv.handler; in vga_switcheroo_ready() 192 if (vgasr_priv.handler->init) in vga_switcheroo_enable() 193 vgasr_priv.handler->init(); in vga_switcheroo_enable() 200 ret = vgasr_priv.handler->get_client_id(client->pdev); in vga_switcheroo_enable() 212 ret = vgasr_priv.handler->get_client_id(client->vga_dev); in vga_switcheroo_enable() 236 const struct vga_switcheroo_handler *handler, in vga_switcheroo_register_handler() argument 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() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/kernel/probes/ |
D | decode-insn.c | 86 api->handler = simulate_b_cond; in arm_probe_decode_insn() 89 api->handler = simulate_cbz_cbnz; in arm_probe_decode_insn() 92 api->handler = simulate_tbz_tbnz; in arm_probe_decode_insn() 94 api->handler = simulate_adr_adrp; in arm_probe_decode_insn() 97 api->handler = simulate_b_bl; in arm_probe_decode_insn() 101 api->handler = simulate_br_blr_ret; in arm_probe_decode_insn() 103 api->handler = simulate_ldr_literal; in arm_probe_decode_insn() 105 api->handler = simulate_ldrsw_literal; in arm_probe_decode_insn()
|