| /freebsd-13.1/sys/contrib/openzfs/module/lua/ |
| H A D | lgc.h | 128 #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ 129 luaC_barrier_(L,obj2gco(p),gcvalue(v)); } 131 #define luaC_barrierback(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ 135 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \ 136 luaC_barrier_(L,obj2gco(p),obj2gco(o)); } 139 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) luaC_barrierback_(L,p); } 142 { if (isblack(obj2gco(p))) luaC_barrierproto_(L,p,c); }
|
| H A D | lgc.c | 77 #define markobject(g,t) { if ((t) && iswhite(obj2gco(t))) \ 78 reallymarkobject(g, obj2gco(t)); } 173 lua_assert(isblack(obj2gco(p))); in luaC_barrierproto_() 180 g->grayagain = obj2gco(p); in luaC_barrierproto_() 190 GCObject *o = obj2gco(uv); in luaC_checkupvalcolor() 215 GCObject *o = obj2gco(raw + offset); in luaC_newobj() 326 if (isgray(obj2gco(uv))) in remarkupvals() 441 black2gray(obj2gco(h)); /* keep table gray */ in traversetable() 458 if (f->cache && iswhite(obj2gco(f->cache))) in traverseproto() 1002 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic() [all …]
|
| H A D | lfunc.c | 52 GCObject *o = obj2gco(p); in luaF_findupval() 54 lua_assert(!isold(o) || isold(obj2gco(L))); in luaF_findupval() 92 GCObject *o = obj2gco(uv); in luaF_close()
|
| H A D | lstate.h | 217 #define obj2gco(v) (cast(GCObject *, (v))) macro
|
| H A D | lvm.c | 157 luaC_barrierback(L, obj2gco(h), val); in luaV_settable() 893 luaC_barrierback(L, obj2gco(h), val); in luaV_execute()
|
| H A D | ltable.c | 439 luaC_barrierback(L, obj2gco(t), key); in luaH_newkey()
|
| H A D | lapi.c | 1192 if (owner) *owner = obj2gco(f); in aux_upvalue() 1201 if (owner) *owner = obj2gco(f->upvals[n - 1]); in aux_upvalue()
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lgc.h | 167 luaC_barrier_(L,obj2gco(p),gcvalue(v)) : cast_void(0)) 175 luaC_barrier_(L,obj2gco(p),obj2gco(o)) : cast_void(0))
|
| H A D | lobject.h | 248 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VTHREAD)); \ 351 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \ 424 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VUSERDATA)); \ 589 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VLCL)); \ 599 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VCCL)); \ 663 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VTABLE)); \
|
| H A D | lgc.c | 99 #define markobject(g,t) { if (iswhite(t)) reallymarkobject(g, obj2gco(t)); } 146 #define linkgclist(o,p) linkgclist_(obj2gco(o), &(o)->gclist, &(p)) 159 #define linkobjgclist(o,p) linkgclist_(obj2gco(o), getgclist(o), &(p)) 512 genlink(g, obj2gco(h)); /* check whether collector still needs to see it */ in traverseephemeron() 532 genlink(g, obj2gco(h)); in traversestrongtable() 562 genlink(g, obj2gco(u)); in traverseudata() 1509 deletelist(L, g->allgc, obj2gco(g->mainthread)); in luaC_freeallobjects()
|
| H A D | lstate.c | 297 g->allgc = obj2gco(L1); in lua_newthread() 361 g->allgc = obj2gco(L); /* by now, only object is the main thread */ in lua_newstate()
|
| H A D | llex.c | 73 luaC_fix(L, obj2gco(e)); /* never collect this name */ in luaX_init() 76 luaC_fix(L, obj2gco(ts)); /* reserved words are never collected */ in luaX_init()
|
| H A D | lstate.h | 347 #define obj2gco(v) check_exp((v)->tt >= LUA_TSTRING, &(cast_u(v)->gc)) macro
|
| H A D | lapi.c | 871 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); in aux_rawset() 895 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); in lua_rawseti() 1333 if (owner) *owner = obj2gco(f); in aux_upvalue() 1343 if (owner) *owner = obj2gco(f->upvals[n - 1]); in aux_upvalue()
|
| H A D | lstring.c | 132 luaC_fix(L, obj2gco(g->memerrmsg)); /* it should never be collected */ in luaS_init()
|
| H A D | ltm.c | 51 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */ in luaT_init()
|
| H A D | ltable.c | 683 luaC_barrierback(L, obj2gco(t), key); in luaH_newkey()
|
| H A D | lvm.c | 352 luaC_barrierback(L, obj2gco(h), val); in luaV_finishset() 1804 luaC_barrierback(L, obj2gco(h), val); in luaV_execute()
|