Home
last modified time | relevance | path

Searched refs:state_size (Results 1 – 2 of 2) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlstate.c27 #define state_size(x) (sizeof(x) + LUAI_EXTRASPACE) macro
115 (*g->frealloc)(g->ud, fromstate(L), state_size(LG), 0); in close_state()
120 lua_State *L1 = tostate(luaM_malloc(L, state_size(lua_State))); in luaE_newthread()
139 luaM_freemem(L, fromstate(L1), state_size(lua_State)); in luaE_freethread()
147 void *l = (*f)(ud, NULL, 0, state_size(LG)); in lua_newstate()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_state.c298 ipf_state_seed_alloc(u_int state_size, u_int state_max) in ipf_state_seed_alloc() argument
302 KMALLOCS(state_seed, u_long *, state_size * sizeof(*state_seed)); in ipf_state_seed_alloc()
306 for (i = 0; i < state_size; i++) { in ipf_state_seed_alloc()
313 state_seed[i] = ((u_long)state_seed + i) * state_size; in ipf_state_seed_alloc()