/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | mmu_rb.c | 72 *handler = h; in hfi1_mmu_rb_register() 87 mmu_notifier_unregister(&handler->mn, handler->mn.mm); in hfi1_mmu_rb_unregister() 111 kfree(handler); in hfi1_mmu_rb_unregister() 135 ret = handler->ops->insert(handler->ops_arg, mnode); in hfi1_mmu_rb_insert() 140 mnode->handler = handler; in hfi1_mmu_rb_insert() 211 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict() 225 handler->ops->remove(handler->ops_arg, rbnode); in hfi1_mmu_rb_evict() 249 handler->ops->remove(handler->ops_arg, node); in hfi1_mmu_rb_remove() 269 if (handler->ops->invalidate(handler->ops_arg, node)) { in mmu_notifier_range_start() 279 queue_work(handler->wq, &handler->del_work); in mmu_notifier_range_start() [all …]
|
A D | mmu_rb.h | 17 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.3-rc2/net/ipv4/ |
A D | tunnel4.c | 51 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 …]
|
A D | xfrm4_protocol.c | 42 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 …]
|
/linux-6.3-rc2/net/ipv6/ |
A D | tunnel6.c | 64 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 D | xfrm6_protocol.c | 43 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-6.3-rc2/drivers/soc/fsl/qbman/ |
A D | qman_test_stash.c | 265 *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-6.3-rc2/kernel/ |
A D | reboot.c | 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() 362 memset(handler, 0, sizeof(*handler)); in free_sys_off_handler() 364 kfree(handler); in free_sys_off_handler() 398 if (IS_ERR(handler)) in register_sys_off_handler() 399 return handler; in register_sys_off_handler() 452 return handler; in register_sys_off_handler() 511 if (IS_ERR(handler)) in devm_register_sys_off_handler() 515 handler); in devm_register_sys_off_handler() [all …]
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | evxface.c | 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() 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 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() 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 D | evxfregn.c | 48 acpi_adr_space_handler handler, in acpi_install_address_space_handler_internal() argument 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() 202 handler_obj, handler, in ACPI_EXPORT_SYMBOL() [all …]
|
/linux-6.3-rc2/arch/arm/probes/uprobes/ |
A D | actions-arm.c | 197 [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-6.3-rc2/drivers/acpi/ |
A 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() 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-6.3-rc2/arch/arm/probes/kprobes/ |
A D | actions-arm.c | 301 [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 D | actions-thumb.c | 622 [PROBES_T16_CBZ] = {.handler = t16_simulate_cbz}, 626 [PROBES_T16_SEV] = {.handler = probes_emulate_none}, 627 [PROBES_T16_WFE] = {.handler = probes_simulate_nop}, 633 [PROBES_T16_BLX] = {.handler = t16_simulate_bxblx}, 637 [PROBES_T16_ADR] = {.handler = t16_simulate_reladr}, 657 [PROBES_T32_SEV] = {.handler = probes_emulate_none}, 658 [PROBES_T32_WFE] = {.handler = probes_simulate_nop}, 659 [PROBES_T32_MRS] = {.handler = t32_simulate_mrs}, 662 [PROBES_T32_PLDI] = {.handler = probes_simulate_nop}, 664 [PROBES_T32_LDRSTR] = {.handler = t32_emulate_ldrstr}, [all …]
|
/linux-6.3-rc2/drivers/irqchip/ |
A D | irq-sifive-plic.c | 102 raw_spin_lock(&handler->enable_lock); in plic_toggle() 104 raw_spin_unlock(&handler->enable_lock); in plic_toggle() 115 plic_toggle(handler, d->hwirq, enable); in plic_irq_toggle() 297 WARN_ON_ONCE(!handler->present); in plic_handle_irq() 347 struct plic_handler *handler; in __plic_init() local 430 if (handler->present) { in __plic_init() 437 handler->present = true; in __plic_init() 440 raw_spin_lock_init(&handler->enable_lock); in __plic_init() 443 handler->priv = priv; in __plic_init() 446 plic_toggle(handler, hwirq, 0); in __plic_init() [all …]
|
/linux-6.3-rc2/arch/powerpc/sysdev/ |
A D | pmi.c | 29 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() 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() 247 list_add_tail(&handler->node, &data->handler); in pmi_register_handler() [all …]
|
/linux-6.3-rc2/drivers/media/rc/ |
A D | rc-ir-raw.c | 24 struct ir_raw_handler *handler; in ir_raw_event_thread() local 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 251 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol() 252 handler->raw_register(dev); in change_protocol() 256 handler->raw_unregister) in change_protocol() 257 handler->raw_unregister(dev); in change_protocol() 530 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_scancode() 598 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_carrier() [all …]
|
/linux-6.3-rc2/fs/btrfs/ |
A D | props.c | 68 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() 97 const struct prop_handler *handler; in btrfs_ignore_prop() local 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 113 if (!handler) in btrfs_set_prop() 122 ret = handler->apply(inode, NULL, 0); in btrfs_set_prop() 197 const struct prop_handler *handler; in iterate_object_props() local [all …]
|
/linux-6.3-rc2/fs/ |
A D | xattr.c | 78 return handler; in xattr_resolve_name() 199 if (!handler->set) in __vfs_setxattr() 203 return handler->set(handler, idmap, dentry, inode, name, value, in __vfs_setxattr() 394 if (!handler->get) in vfs_getxattr_alloc() 396 error = handler->get(handler, dentry, inode, name, NULL, 0); in vfs_getxattr_alloc() 407 error = handler->get(handler, dentry, inode, name, value, error); in vfs_getxattr_alloc() 424 if (!handler->get) in __vfs_getxattr() 426 return handler->get(handler, dentry, inode, name, value, size); in __vfs_getxattr() 498 return handler->set(handler, idmap, dentry, inode, name, NULL, 0, in __vfs_removexattr() 965 (handler->list && !handler->list(dentry))) in generic_listxattr() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_irq.c | 80 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-6.3-rc2/drivers/scsi/ |
A D | scsi_dh.c | 154 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-6.3-rc2/kernel/trace/ |
A D | rethook.c | 68 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.3-rc2/drivers/platform/surface/ |
A D | surface_platform_profile.c | 32 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.3-rc2/include/trace/events/ |
A 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,
|