Home
last modified time | relevance | path

Searched refs:stacksize (Results 1 - 21 of 21) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_045.c50 ICUNIT_GOTO_EQUAL(info->attr.stacksize, (TASK_STACK_SIZE_TEST + 3) & ~3, info->attr.stacksize, EXIT); // failed in PthreadF01()
66 size_t stacksize; in Testcase() local
74 stacksize = TASK_STACK_SIZE_TEST; in Testcase()
75 ret = pthread_attr_setstacksize(&attr, stacksize); in Testcase()
97 attr.stacksize = LOS_TASK_MIN_STACK_SIZE - 2 * sizeof(UINTPTR); // 2, Set reasonable stack size. in Testcase()
H A DIt_posix_pthread_046.c48 ICUNIT_GOTO_EQUAL(info->attr.stacksize, in PthreadF01()
50 ((PTHREAD_STACK_MIN_TEST + 1 + (sizeof(UINTPTR) * 2 - 1)) & ~(sizeof(UINTPTR) * 2 - 1)), info->attr.stacksize, in PthreadF01()
70 size_t stacksize; in Testcase() local
78 stacksize = PTHREAD_STACK_MIN_TEST + 1; in Testcase()
79 ret = pthread_attr_setstacksize(&attr, stacksize); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_046.cpp48 size_t stacksize; in Testcase() local
56 stacksize = PTHREAD_STACK_MIN_TEST + 1; in Testcase()
57 ret = pthread_attr_setstacksize(&attr, stacksize); in Testcase()
H A DIt_posix_pthread_045.cpp50 size_t stacksize; in Testcase() local
58 stacksize = TASK_STACK_SIZE_TEST; in Testcase()
59 ret = pthread_attr_setstacksize(&attr, stacksize); in Testcase()
/kernel/liteos_m/kal/posix/src/
H A Dpthread_attr.c53 attr->stacksize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE; in pthread_attr_init()
221 attr->stacksize = stackSize; in pthread_attr_setstacksize()
232 attr->stacksize = stackSize; in pthread_attr_setstack()
246 *stackSize = attr->stacksize; in pthread_attr_getstack()
257 *stackSize = attr->stacksize; in pthread_attr_getstacksize()
H A Dpthread.c103 if (threadAttr->stacksize < PTHREAD_STACK_MIN) { in PthreadAttrCheck()
110 taskInitParam->uwStackSize = threadAttr->stacksize; in PthreadAttrCheck()
/kernel/liteos_a/kernel/base/misc/
H A Dlos_stackinfo.c117 VOID OsStackInit(VOID *stacktop, UINT32 stacksize) in OsStackInit() argument
120 errno_t ret = memset_s(stacktop, stacksize, (INT32)OS_STACK_INIT, stacksize); in OsStackInit()
/kernel/liteos_a/compat/posix/src/
H A Dpthread_attr.c50 attr->stacksize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE; in pthread_attr_init()
220 attr->stacksize = stackSize; in pthread_attr_setstacksize()
232 *stackSize = attr->stacksize; in pthread_attr_getstacksize()
H A Dpthread.c157 outAttr->stacksize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE; in SetPthreadAttr()
201 userAttr->stacksize = taskCB->stackSize; in InitPthreadData()
241 taskInitParam.uwStackSize = userAttr.stacksize; in pthread_create()
/kernel/liteos_a/kernel/base/include/
H A Dlos_stackinfo_pri.h55 extern VOID OsStackInit(VOID *stacktop, UINT32 stacksize);
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
H A D_pthreadtypes.h76 size_t stacksize; member
/kernel/linux/linux-5.10/include/linux/netfilter/
H A Dx_tables.h262 * @stacksize jumps (number of user chains) can possibly be made.
264 unsigned int stacksize; member
/kernel/linux/linux-6.6/include/linux/netfilter/
H A Dx_tables.h262 * @stacksize jumps (number of user chains) can possibly be made.
264 unsigned int stacksize; member
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dip_tables.c274 jumpstack += private->stacksize * __this_cpu_read(nf_skb_duplicated); in ipt_do_table()
332 if (unlikely(stackidx >= private->stacksize)) { in ipt_do_table()
697 ++newinfo->stacksize; in translate_table()
H A Darp_tables.c256 if (unlikely(stackidx >= private->stacksize)) { in arpt_do_table()
557 ++newinfo->stacksize; in translate_table()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
H A Dip6_tables.c297 jumpstack += private->stacksize * __this_cpu_read(nf_skb_duplicated); in ip6t_do_table()
354 if (unlikely(stackidx >= private->stacksize)) { in ip6t_do_table()
715 ++newinfo->stacksize; in translate_table()
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dip_tables.c273 jumpstack += private->stacksize * __this_cpu_read(nf_skb_duplicated); in ipt_do_table()
331 if (unlikely(stackidx >= private->stacksize)) { in ipt_do_table()
696 ++newinfo->stacksize; in translate_table()
H A Darp_tables.c257 if (unlikely(stackidx >= private->stacksize)) { in arpt_do_table()
558 ++newinfo->stacksize; in translate_table()
/kernel/linux/linux-6.6/net/ipv6/netfilter/
H A Dip6_tables.c295 jumpstack += private->stacksize * __this_cpu_read(nf_skb_duplicated); in ip6t_do_table()
352 if (unlikely(stackidx >= private->stacksize)) { in ip6t_do_table()
713 ++newinfo->stacksize; in translate_table()
/kernel/linux/linux-5.10/net/netfilter/
H A Dx_tables.c1304 if (i->stacksize == 0) in xt_jumpstack_alloc()
1317 size = sizeof(void *) * i->stacksize * 2u; in xt_jumpstack_alloc()
/kernel/linux/linux-6.6/net/netfilter/
H A Dx_tables.c1339 if (i->stacksize == 0) in xt_jumpstack_alloc()
1352 size = sizeof(void *) * i->stacksize * 2u; in xt_jumpstack_alloc()

Completed in 25 milliseconds