Home
last modified time | relevance | path

Searched refs:threadpool_job (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/sys/sys/
H A Dthreadpool.h46 struct threadpool_job;
50 typedef void threadpool_job_fn_t(struct threadpool_job *);
52 struct threadpool_job { struct
55 TAILQ_ENTRY(threadpool_job) job_entry; argument
75 void threadpool_job_init(struct threadpool_job *, threadpool_job_fn_t, argument
77 void threadpool_job_destroy(struct threadpool_job *);
78 void threadpool_job_done(struct threadpool_job *);
80 void threadpool_schedule_job(struct threadpool *, struct threadpool_job *);
81 void threadpool_cancel_job(struct threadpool *, struct threadpool_job *);
83 struct threadpool_job *);
/netbsd-src/sys/kern/
H A Dkern_threadpool.c178 TAILQ_HEAD(job_head, threadpool_job);
185 struct threadpool_job *tpt_job;
213 static void threadpool_job_hold(struct threadpool_job *);
214 static void threadpool_job_rele(struct threadpool_job *);
752 threadpool_job_init(struct threadpool_job *job, threadpool_job_fn_t fn, in threadpool_job_init()
769 threadpool_job_dead(struct threadpool_job *job) in threadpool_job_dead()
776 threadpool_job_destroy(struct threadpool_job *job) in threadpool_job_destroy()
798 threadpool_job_hold(struct threadpool_job *job) in threadpool_job_hold()
807 threadpool_job_rele(struct threadpool_job *job) in threadpool_job_rele()
820 threadpool_job_done(struct threadpool_job *job) in threadpool_job_done()
[all …]
H A Dvfs_vnode.c211 static struct threadpool_job vdrain_job;
212 static struct threadpool_job vrele_job;
237 static void vdrain_task(struct threadpool_job *);
238 static void vrele_task(struct threadpool_job *);
705 vdrain_task(struct threadpool_job *job) in vdrain_task()
724 vrele_task(struct threadpool_job *job) in vrele_task()
/netbsd-src/tests/rump/kernspace/
H A Dthreadpool.c99 struct threadpool_job job;
105 test_job_func_schedule(struct threadpool_job *job) in test_job_func_schedule()
119 test_job_func_cancel(struct threadpool_job *job) in test_job_func_cancel()
/netbsd-src/external/cddl/osnet/sys/kern/
H A Dtaskq.c44 struct threadpool_job te_job; /* Threadpool job serving the queue. */
73 task_executor(struct threadpool_job *job) in task_executor()
/netbsd-src/tests/kernel/threadpool_tester/
H A Dthreadpool_tester.c55 struct threadpool_job ctx_job;
346 threadpool_tester_job(struct threadpool_job *job) in threadpool_tester_job()
/netbsd-src/tests/modules/threadpool_tester/
H A Dthreadpool_tester.c55 struct threadpool_job ctx_job;
346 threadpool_tester_job(struct threadpool_job *job) in threadpool_tester_job()
/netbsd-src/sys/net/
H A Dif_wg.c709 struct threadpool_job wg_job;
802 static void wg_job(struct threadpool_job *); in wgattach()
3597 wg_job(struct threadpool_job *job) in wg_if_attach()