/src/sys/sys/ |
threadpool.h | 1 /* $NetBSD: threadpool.h,v 1.7 2020/04/25 07:23:21 mlelstv Exp $ */ 45 struct threadpool; 64 int threadpool_get(struct threadpool **, pri_t); 65 void threadpool_put(struct threadpool *, pri_t); 69 struct threadpool * 71 struct threadpool * 80 void threadpool_schedule_job(struct threadpool *, struct threadpool_job *); 81 void threadpool_cancel_job(struct threadpool *, struct threadpool_job *); 82 bool threadpool_cancel_job_async(struct threadpool *,
|
/src/sys/kern/ |
kern_threadpool.c | 103 #include <sys/threadpool.h> 107 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, get, 109 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, get__create, 111 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, get__race, 113 SDT_PROBE_DEFINE2(sdt, kernel, threadpool, put, 114 "struct threadpool *"/*pool*/, "pri_t"/*pri*/); 115 SDT_PROBE_DEFINE2(sdt, kernel, threadpool, put__destroy, 116 "struct threadpool *"/*pool*/, "pri_t"/*pri*/); 118 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, percpu__get, 120 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, percpu__get__create 190 struct threadpool { struct [all...] |
vfs_vnode.c | 177 #include <sys/threadpool.h> 210 static struct threadpool *threadpool; variable in typeref:struct:threadpool * 438 error = threadpool_get(&threadpool, PRI_NONE); 550 threadpool_schedule_job(threadpool, &vrele_job); 552 threadpool_schedule_job(threadpool, &vdrain_job); 702 * threadpool task to keep the number of vnodes below desiredvnodes. 721 * threadpool task to process asynchronous vrele.
|
init_main.c | 182 #include <sys/threadpool.h> 430 /* Initialize the threadpool system. */
|
/src/tests/rump/kernspace/ |
Makefile | 7 SRCS= thread.c threadpool.c busypage.c tsleep.c alloc.c lockme.c \
|
threadpool.c | 1 /* $NetBSD: threadpool.c,v 1.6 2024/02/02 21:52:23 andvar Exp $ */ 35 __RCSID("$NetBSD: threadpool.c,v 1.6 2024/02/02 21:52:23 andvar Exp $"); 43 #include <sys/threadpool.h> 50 struct threadpool *pool0, *pool1, *pool2; 158 struct threadpool *pool; 184 struct threadpool *pool; 211 struct threadpool *pool; 247 struct threadpool *pool;
|
/src/tests/kernel/threadpool_tester/ |
threadpool_tester.c | 39 #include <sys/threadpool.h> 52 struct threadpool *ctx_unbound[PRI_COUNT + 1]; 70 struct threadpool *pool, *opool = NULL; 119 struct threadpool *pool; 158 struct threadpool *pool; 284 struct threadpool *pool; 383 SYSCTL_DESCR("threadpool testing interface"), 450 struct threadpool *pool =
|
/src/tests/modules/threadpool_tester/ |
threadpool_tester.c | 39 #include <sys/threadpool.h> 52 struct threadpool *ctx_unbound[PRI_COUNT + 1]; 70 struct threadpool *pool, *opool = NULL; 119 struct threadpool *pool; 158 struct threadpool *pool; 284 struct threadpool *pool; 383 SYSCTL_DESCR("threadpool testing interface"), 450 struct threadpool *pool =
|
/src/share/man/man9/ |
Makefile | 69 tcp_congctl.9 thmap.9 threadpool.9 timecounter.9 time_second.9 todr.9 \ 980 MLINKS+=threadpool.9 threadpool_get.9 \ 981 threadpool.9 threadpool_put.9 \ 982 threadpool.9 threadpool_percpu_get.9 \ 983 threadpool.9 threadpool_percpu_put.9 \ 984 threadpool.9 threadpool_percpu_ref.9 \ 985 threadpool.9 threadpool_percpu_ref_remote.9 \ 986 threadpool.9 threadpool_job_init.9 \ 987 threadpool.9 threadpool_job_destroy.9 \ 988 threadpool.9 threadpool_job_done.9 [all...] |
/src/sys/rump/librump/rumpkern/ |
rump.c | 69 #include <sys/threadpool.h>
|
/src/sys/net/ |
if_wg.c | 83 #include <sys/threadpool.h> 136 * - It has a threadpool job that sends/receives handshake messages and 707 struct threadpool *wg_threadpool;
|