Home
last modified time | relevance | path

Searched refs:stksize (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dproc.h67 do_thread_create(caddr_t stk, size_t stksize, void (*proc)(void *), void *arg, in do_thread_create() argument
86 stksize / PAGE_SIZE, "zfskern", "%s", name); in do_thread_create()
98 #define thread_create_named(name, stk, stksize, proc, arg, len, \ argument
100 do_thread_create(stk, stksize, proc, arg, len, pp, state, pri, name)
101 #define thread_create(stk, stksize, proc, arg, len, pp, state, pri) \ argument
102 do_thread_create(stk, stksize, proc, arg, len, pp, state, pri, #proc)
/freebsd-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dthread.h47 #define thread_create_named(name, stk, stksize, func, arg, len, \ argument
49 __thread_create(stk, stksize, (thread_func_t)func, \
52 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ argument
53 __thread_create(stk, stksize, (thread_func_t)func, #func, \
62 extern kthread_t *__thread_create(caddr_t stk, size_t stksize,
/freebsd-14.2/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c95 zk_thread_create(void (*func)(void *), void *arg, size_t stksize, int state) in zk_thread_create() argument
118 if (stksize == 0) { in zk_thread_create()
122 stksize = TS_STACK_MAX; in zk_thread_create()
124 stksize = MAX(atoi(stkstr), TS_STACK_MIN); in zk_thread_create()
127 VERIFY3S(stksize, >, 0); in zk_thread_create()
128 stksize = P2ROUNDUP(MAX(stksize, TS_STACK_MIN), PAGESIZE); in zk_thread_create()
134 VERIFY0(pthread_attr_setstacksize(&attr, stksize)); in zk_thread_create()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h229 #define thread_create_named(name, stk, stksize, func, arg, len, \
231 zk_thread_create(func, arg, stksize, state)
232 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \
233 zk_thread_create(func, arg, stksize, state)
250 size_t stksize, int state);
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-thread.c72 __thread_create(caddr_t stk, size_t stksize, thread_func_t func, in __thread_create() argument