/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
H A D | It_posix_pthread_045.c | 50 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 D | It_posix_pthread_046.c | 48 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 D | It_posix_pthread_046.cpp | 48 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 D | It_posix_pthread_045.cpp | 50 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 D | pthread_attr.c | 53 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 D | pthread.c | 103 if (threadAttr->stacksize < PTHREAD_STACK_MIN) { in PthreadAttrCheck() 110 taskInitParam->uwStackSize = threadAttr->stacksize; in PthreadAttrCheck()
|
/kernel/liteos_a/kernel/base/misc/ |
H A D | los_stackinfo.c | 117 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 D | pthread_attr.c | 50 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 D | pthread.c | 157 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 D | los_stackinfo_pri.h | 55 extern VOID OsStackInit(VOID *stacktop, UINT32 stacksize);
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
H A D | _pthreadtypes.h | 76 size_t stacksize; member
|
/kernel/linux/linux-5.10/include/linux/netfilter/ |
H A D | x_tables.h | 262 * @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 D | x_tables.h | 262 * @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 D | ip_tables.c | 274 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 D | arp_tables.c | 256 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 D | ip6_tables.c | 297 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 D | ip_tables.c | 273 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 D | arp_tables.c | 257 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 D | ip6_tables.c | 295 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 D | x_tables.c | 1304 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 D | x_tables.c | 1339 if (i->stacksize == 0) in xt_jumpstack_alloc() 1352 size = sizeof(void *) * i->stacksize * 2u; in xt_jumpstack_alloc()
|