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.h213 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th)) macro
H A Dlgc.c280 gco2th(o)->gclist = g->gray; in reallymarkobject()
544 lua_State *th = gco2th(o); in propagatemark()
674 case LUA_TTHREAD: luaE_freethread(L, gco2th(o)); break; in freeobj()
743 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()
668 case LUA_VTHREAD: return traversethread(g, gco2th(o)); in propagatemark()
792 luaE_freethread(L, gco2th(o)); in freeobj()
1089 lua_State *th = gco2th(curr); in sweep2old()
H A Dlstate.c294 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()