Searched refs:stacksize (Results 1 – 8 of 8) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | bio.c | 95 size_t stacksize; in bioInit() local 108 pthread_attr_getstacksize(&attr,&stacksize); in bioInit() 109 if (!stacksize) stacksize = 1; /* The world is full of Solaris Fixes */ in bioInit() 110 while (stacksize < REDIS_THREAD_STACK_SIZE) stacksize *= 2; in bioInit() 111 pthread_attr_setstacksize(&attr, stacksize); in bioInit()
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lstate.c | 50 L1->stacksize = BASIC_STACK_SIZE + EXTRA_STACK; in stack_init() 52 L1->stack_last = L1->stack+(L1->stacksize - EXTRA_STACK)-1; in stack_init() 63 luaM_freearray(L, L1->stack, L1->stacksize, TValue); in freestack() 87 L->stacksize = 0; in preinit_state()
|
| H A D | ldo.c | 72 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK - 1); in restore_stack_limit() 144 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK - 1); in luaD_reallocstack() 145 luaM_reallocvector(L, L->stack, L->stacksize, realsize, TValue); in luaD_reallocstack() 146 L->stacksize = realsize; in luaD_reallocstack() 162 if (n <= L->stacksize) /* double size is enough? */ in luaD_growstack() 163 luaD_reallocstack(L, 2*L->stacksize); in luaD_growstack() 165 luaD_reallocstack(L, L->stacksize + n); in luaD_growstack()
|
| H A D | ldo.h | 19 else condhardstacktests(luaD_reallocstack(L, L->stacksize - EXTRA_STACK - 1));
|
| H A D | lgc.c | 249 if (4*s_used < L->stacksize && in checkstacksizes() 250 2*(BASIC_STACK_SIZE+EXTRA_STACK) < L->stacksize) in checkstacksizes() 251 luaD_reallocstack(L, L->stacksize/2); /* still big enough... */ in checkstacksizes() 304 return sizeof(lua_State) + sizeof(TValue) * th->stacksize + in propagatemark()
|
| H A D | lstate.h | 112 int stacksize; member
|
| H A D | lgc.h | 81 condhardstacktests(luaD_reallocstack(L, L->stacksize - EXTRA_STACK - 1)); \
|
| H A D | lvm.c | 404 lua_assert(base <= L->top && L->top <= L->stack + L->stacksize); in luaV_execute()
|