Home
last modified time | relevance | path

Searched refs:thread_fn (Results 1 – 25 of 27) sorted by relevance

12

/linux-5.15/scripts/coccinelle/misc/
H A Dirqf_oneshot.cocci19 expression dev, irq, thread_fn;
23 request_threaded_irq@p(irq, NULL, thread_fn,
31 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn,
41 expression dev, irq, thread_fn, flags, e;
51 request_threaded_irq@p(irq, NULL, thread_fn, flags, ...);
53 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn, flags, ...);
57 expression dev, irq, thread_fn, flags;
61 request_threaded_irq@p(irq, NULL, thread_fn,
71 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn,
/linux-5.15/drivers/pci/
H A Dirq.c34 irq_handler_t thread_fn, void *dev_id, const char *fmt, ...) in pci_request_irq() argument
48 ret = request_threaded_irq(pci_irq_vector(dev, nr), handler, thread_fn, in pci_request_irq()
/linux-5.15/kernel/irq/
H A Dspurious.c217 if (action->thread_fn) in __report_bad_irq()
219 action->thread_fn, action->thread_fn); in __report_bad_irq()
H A Ddevres.c52 irq_handler_t handler, irq_handler_t thread_fn, in devm_request_threaded_irq() argument
67 rc = request_threaded_irq(irq, handler, thread_fn, irqflags, devname, in devm_request_threaded_irq()
A Dmanage.c1177 ret = action->thread_fn(action->irq, action->dev_id); in irq_forced_thread_fn()
1198 ret = action->thread_fn(action->irq, action->dev_id); in irq_thread_fn()
1343 if (new->handler && new->thread_fn) { in irq_setup_forced_threading()
1349 new->secondary->thread_fn = new->thread_fn; in irq_setup_forced_threading()
1356 new->thread_fn = new->handler; in irq_setup_forced_threading()
1493 if (!new->thread_fn) { in __setup_irq()
1518 if (new->thread_fn && !nested) { in __setup_irq()
2124 irq_handler_t thread_fn, unsigned long irqflags, in request_threaded_irq() argument
2162 if (!thread_fn) //如果中断处理函数为空,判断中断线程化处理函数是否为空 in request_threaded_irq()
2174 action->thread_fn = thread_fn; in request_threaded_irq()
H A Dhandle.c169 if (unlikely(!action->thread_fn)) { in __handle_irq_event_percpu()
A Dchip.c486 action_ret |= action->thread_fn(action->irq, action->dev_id); in handle_nested_irq()
/linux-5.15/tools/perf/tests/
A Dmmap-thread-lookup.c54 static void *thread_fn(void *arg) in thread_fn() function
87 err = pthread_create(&td->pt, NULL, thread_fn, td); in thread_create()
/linux-5.15/include/linux/
H A Dsmpboot.h35 void (*thread_fn)(unsigned int cpu); member
H A Dinterrupt.h123 irq_handler_t thread_fn; member
148 irq_handler_t thread_fn,
206 irq_handler_t handler, irq_handler_t thread_fn,
H A Dpadata.h142 void (*thread_fn)(unsigned long start, unsigned long end, void *arg); member
H A Dntb.h1647 irq_handler_t thread_fn,
1671 irq_handler_t thread_fn, in ntbm_msi_request_threaded_irq() argument
H A Dkvm_host.h1820 int kvm_vm_create_worker_thread(struct kvm *kvm, kvm_vm_thread_fn_t thread_fn,
H A Dpci.h1306 irq_handler_t handler, irq_handler_t thread_fn, void *dev_id,
/linux-5.15/drivers/ntb/
A Dmsi.c280 irq_handler_t thread_fn, in ntbm_msi_request_threaded_irq() argument
295 thread_fn, 0, name, dev_id); in ntbm_msi_request_threaded_irq()
/linux-5.15/drivers/powercap/
A Didle_inject.c361 .thread_fn = idle_inject_fn,
/linux-5.15/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c1127 irq_handler_t thread_fn; in lis3lv02d_init_device() local
1239 thread_fn = lis302dl_interrupt_thread1_8b; in lis3lv02d_init_device()
1241 thread_fn = NULL; in lis3lv02d_init_device()
1244 thread_fn, in lis3lv02d_init_device()
/linux-5.15/drivers/remoteproc/
A Dqcom_wcnss.c468 irq_handler_t thread_fn) in wcnss_request_irq() argument
482 NULL, thread_fn, in wcnss_request_irq()
/linux-5.15/kernel/
H A Dsmpboot.c164 ht->thread_fn(td->cpu); in smpboot_thread_fn()
H A Dstop_machine.c563 .thread_fn = cpu_stopper_thread,
H A Dpadata.c450 job->thread_fn(start, end, job->fn_arg); in padata_mt_helper()
486 job->thread_fn(job->start, job->start + job->size, job->fn_arg); in padata_do_multithreaded()
H A Dsoftirq.c961 .thread_fn = run_ksoftirqd,
H A Dcpu.c880 .thread_fn = cpuhp_thread_fun,
/linux-5.15/drivers/thermal/qcom/
A Dtsens.c1009 irq_handler_t thread_fn) in tsens_register_irq() argument
1028 thread_fn, NULL, in tsens_register_irq()
1034 thread_fn, IRQF_ONESHOT, in tsens_register_irq()
/linux-5.15/virt/kvm/
H A Dkvm_main.c5614 kvm_vm_thread_fn_t thread_fn; member
5627 kvm_vm_thread_fn_t thread_fn = init_context->thread_fn; in kvm_vm_worker_thread() local
5658 err = thread_fn(kvm, data); in kvm_vm_worker_thread()
5663 int kvm_vm_create_worker_thread(struct kvm *kvm, kvm_vm_thread_fn_t thread_fn, in kvm_vm_create_worker_thread() argument
5673 init_context.thread_fn = thread_fn; in kvm_vm_create_worker_thread()

12