Home
last modified time | relevance | path

Searched refs:STACK_SIZE (Results 1 - 16 of 16) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dclone.c22 const int STACK_SIZE = 1024 * 8192; variable
36 void *stack = malloc(STACK_SIZE); in clone_0100()
38 cpid = clone((int (*)(void *))test, (char *)stack + STACK_SIZE, CLONE_VM | CLONE_FS | CLONE_FILES | SIGCHLD, NULL); in clone_0100()
50 void *stack = malloc(STACK_SIZE); in clone_0200()
52 cpid = clone((int (*)(void *))test, (char *)stack + STACK_SIZE, 0, NULL); in clone_0200()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_attr_getstack.c21 const int32_t STACK_SIZE = 4 * 1024; variable
49 void *stack = malloc(STACK_SIZE); in pthread_attr_getstack_0200()
53 pthread_attr_setstack(&attr, stack, STACK_SIZE); in pthread_attr_getstack_0200()
57 EXPECT_EQ("pthread_attr_getstack_0200", stacksize, STACK_SIZE); in pthread_attr_getstack_0200()
H A Dpthread_attr_setstacksize.c21 const int32_t STACK_SIZE = 4 * 1024; variable
32 int32_t ret = pthread_attr_setstacksize(&attr, STACK_SIZE); in pthread_attr_setstacksize_0100()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl_ns01.c27 #define STACK_SIZE (1024 * 1024) macro
38 child_stack = ltp_alloc_stack(STACK_SIZE); in setup()
79 STACK_SIZE, child_stack) == -1) in run()
H A Dioctl_ns06.c27 #define STACK_SIZE (1024 * 1024) macro
38 child_stack = ltp_alloc_stack(STACK_SIZE); in setup()
59 STACK_SIZE, child_stack); in run()
H A Dioctl_ns05.c26 #define STACK_SIZE (1024 * 1024) macro
37 child_stack = ltp_alloc_stack(STACK_SIZE); in setup()
60 STACK_SIZE, child_stack); in run()
/third_party/ltp/testcases/kernel/syscalls/kcmp/
H A Dkcmp03.c26 #define STACK_SIZE (1024*1024) macro
44 stack = SAFE_MALLOC(STACK_SIZE); in setup()
79 STACK_SIZE, stack); in verify_kcmp()
/third_party/libunwind/libunwind/tests/
H A Dia64-test-stack.h3 #define STACK_SIZE (1 << STACK_SIZE_SHIFT) macro
H A Dia64-test-rbs.h3 #define STACK_SIZE (1 << STACK_SIZE_SHIFT) macro
H A Dia64-test-stack-asm.S28 .common stackmem, NSTACKS*STACK_SIZE, 16
54 addl r3 = STACK_SIZE-FRAME_SIZE, r2 // r3 = &stackframe
H A Dia64-test-rbs-asm.S28 .common stackmem, NSTACKS*STACK_SIZE, 16
60 addl r3 = STACK_SIZE-FRAME_SIZE, r2; /* r3 = &stackframe */ \
/third_party/selinux/libsepol/src/
H A Dkernel_to_common.h9 #define STACK_SIZE 16 macro
H A Dkernel_to_common.c412 return strs_init(stack, STACK_SIZE); in strs_stack_init()
H A Dmodule_to_cil.c67 #define STACK_SIZE 16 macro
435 s->stack = calloc(STACK_SIZE, sizeof(*s->stack)); in stack_init()
441 s->size = STACK_SIZE; in stack_init()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_intrinsics.py555 intrinsic("rt_resume", indices=[CALL_IDX, STACK_SIZE])
561 intrinsic("rt_execute_callable", src_comp=[1, -1], indices=[CALL_IDX,STACK_SIZE])
566 indices=[CALL_IDX, STACK_SIZE])
1504 intrinsic("btd_stack_push_intel", indices=[STACK_SIZE])
/third_party/python/Python/
H A Dceval.c1436 #define STACK_SIZE() (frame->f_code->co_stacksize) macro
1452 assert(STACK_LEVEL() <= STACK_SIZE()); \
1458 assert(STACK_LEVEL() <= STACK_SIZE()); \

Completed in 24 milliseconds