Home
last modified time | relevance | path

Searched refs:gco2th (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstate.h214 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th)) macro
H A Dlgc.c281 gco2th(o)->gclist = g->gray; in reallymarkobject()
545 lua_State *th = gco2th(o); in propagatemark()
675 case LUA_TTHREAD: luaE_freethread(L, gco2th(o)); break; in freeobj()
744 sweepthread(L, gco2th(curr)); /* sweep thread's upvalues */ in sweeplist()
/freebsd/contrib/lua/src/
H A Dlstate.h382 #define gco2th(o) check_exp((o)->tt == LUA_VTHREAD, &((cast_u(o))->th)) macro
H A Dlgc.c130 case LUA_VTHREAD: return &gco2th(o)->gclist; in getgclist()
670 case LUA_VTHREAD: return traversethread(g, gco2th(o)); in propagatemark()
794 luaE_freethread(L, gco2th(o)); in freeobj()
1091 lua_State *th = gco2th(curr); in sweep2old()
H A Dlstate.c296 L1 = gco2th(o); in lua_newthread()
H A Dlobject.h266 #define thvalue(o) check_exp(ttisthread(o), gco2th(val_(o).gc))
H A Dltests.c476 checkstack(g, gco2th(o)); in checkrefs()
547 case LUA_VTHREAD: o = gco2th(o)->gclist; break; in checkgraylist()