Home
last modified time | relevance | path

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

12

/openbmc/linux/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,
/openbmc/qemu/tests/tcg/multiarch/
H A Dthreadcount.c28 static void *thread_fn(void* varg) in thread_fn() function
49 pthread_create(threads + i, NULL, thread_fn, arg); in main()
/openbmc/linux/drivers/pci/
H A Dirq.c34 irq_handler_t thread_fn, void *dev_id, const char *fmt, ...) in pci_request_irq() argument
50 ret = request_threaded_irq(pci_irq_vector(dev, nr), handler, thread_fn, in pci_request_irq()
/openbmc/linux/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()
H A Dmanage.c1196 ret = action->thread_fn(action->irq, action->dev_id); in irq_forced_thread_fn()
1217 ret = action->thread_fn(action->irq, action->dev_id); in irq_thread_fn()
1391 if (new->handler && new->thread_fn) { in irq_setup_forced_threading()
1397 new->secondary->thread_fn = new->thread_fn; in irq_setup_forced_threading()
1404 new->thread_fn = new->handler; in irq_setup_forced_threading()
1538 if (!new->thread_fn) { in __setup_irq()
1561 if (new->thread_fn && !nested) { in __setup_irq()
2146 irq_handler_t thread_fn, unsigned long irqflags, in request_threaded_irq() argument
2184 if (!thread_fn) in request_threaded_irq()
2194 action->thread_fn = thread_fn; in request_threaded_irq()
H A Dhandle.c171 if (unlikely(!action->thread_fn)) { in __handle_irq_event_percpu()
H A Dchip.c486 action_ret |= action->thread_fn(action->irq, action->dev_id); in handle_nested_irq()
/openbmc/linux/tools/perf/tests/
H 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()
/openbmc/linux/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
/openbmc/linux/drivers/ntb/
H A Dmsi.c281 irq_handler_t thread_fn, in ntbm_msi_request_threaded_irq() argument
298 thread_fn, 0, name, dev_id); in ntbm_msi_request_threaded_irq()
/openbmc/linux/kernel/
H A Dirq_work.c317 .thread_fn = run_irq_workd,
H A Dsmpboot.c164 ht->thread_fn(td->cpu); in smpboot_thread_fn()
H A Dpadata.c464 job->thread_fn(start, end, job->fn_arg); in padata_mt_helper()
500 job->thread_fn(job->start, job->start + job->size, job->fn_arg); in padata_do_multithreaded()
H A Dstop_machine.c561 .thread_fn = cpu_stopper_thread,
H A Dsoftirq.c966 .thread_fn = run_ksoftirqd,
/openbmc/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c1126 irq_handler_t thread_fn; in lis3lv02d_init_device() local
1238 thread_fn = lis302dl_interrupt_thread1_8b; in lis3lv02d_init_device()
1240 thread_fn = NULL; in lis3lv02d_init_device()
1243 thread_fn, in lis3lv02d_init_device()
/openbmc/linux/drivers/powercap/
H A Didle_inject.c413 .thread_fn = idle_inject_fn,
/openbmc/linux/drivers/remoteproc/
H A Dqcom_wcnss.c478 irq_handler_t thread_fn) in wcnss_request_irq() argument
495 NULL, thread_fn, in wcnss_request_irq()
/openbmc/linux/drivers/thermal/qcom/
H A Dtsens.c1159 irq_handler_t thread_fn) in tsens_register_irq() argument
1178 thread_fn, NULL, in tsens_register_irq()
1184 thread_fn, IRQF_ONESHOT, in tsens_register_irq()
/openbmc/linux/drivers/cxl/
H A Dpci.c93 irq_handler_t handler, irq_handler_t thread_fn) in cxl_request_irq() argument
104 return devm_request_threaded_irq(dev, irq, handler, thread_fn, in cxl_request_irq()
/openbmc/linux/virt/kvm/
H A Dkvm_main.c6171 kvm_vm_thread_fn_t thread_fn; member
6185 kvm_vm_thread_fn_t thread_fn = init_context->thread_fn; in kvm_vm_worker_thread() local
6216 err = thread_fn(kvm, data); in kvm_vm_worker_thread()
6240 int kvm_vm_create_worker_thread(struct kvm *kvm, kvm_vm_thread_fn_t thread_fn, in kvm_vm_create_worker_thread() argument
6250 init_context.thread_fn = thread_fn; in kvm_vm_create_worker_thread()

12