| /f-stack/freebsd/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 | ltable.c | 439 luaC_barrierback(L, obj2gco(t), key); in luaH_newkey()
|
| 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 | lapi.c | 1192 if (owner) *owner = obj2gco(f); in aux_upvalue() 1201 if (owner) *owner = obj2gco(f->upvals[n - 1]); in aux_upvalue()
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lgc.h | 86 #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ 87 luaC_barrierf(L,obj2gco(p),gcvalue(v)); } 89 #define luaC_barriert(L,t,v) { if (valiswhite(v) && isblack(obj2gco(t))) \ 93 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \ 94 luaC_barrierf(L,obj2gco(p),obj2gco(o)); } 97 { if (iswhite(obj2gco(o)) && isblack(obj2gco(t))) luaC_barrierback(L,t); }
|
| H A D | lfunc.c | 25 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newCclosure() 35 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newLclosure() 46 luaC_link(L, obj2gco(uv), LUA_TUPVAL); in luaF_newupval() 61 if (isdead(g, obj2gco(p))) /* is it dead? */ in luaF_findupval() 62 changewhite(obj2gco(p)); /* ressurect it */ in luaF_findupval() 72 *pp = obj2gco(uv); in luaF_findupval() 100 GCObject *o = obj2gco(uv); in luaF_close() 117 luaC_link(L, obj2gco(f), LUA_TPROTO); in luaF_newproto()
|
| H A D | lstate.c | 109 lua_assert(g->rootgc == obj2gco(L)); in close_state() 121 luaC_link(L, obj2gco(L1), LUA_TTHREAD); in luaE_newthread() 129 lua_assert(iswhite(obj2gco(L1))); in luaE_newthread() 170 g->rootgc = obj2gco(L); in lua_newstate()
|
| H A D | lstring.c | 67 tb->hash[h] = obj2gco(ts); in newlstr() 108 G(L)->mainthread->next = obj2gco(u); in luaS_newudata()
|
| H A D | lgc.c | 55 #define markobject(g,t) { if (iswhite(obj2gco(t))) \ 56 reallymarkobject(g, obj2gco(t)); } 174 g->weak = obj2gco(h); /* ... so put in the appropriate list */ in traversetable() 519 if (isgray(obj2gco(uv))) in remarkupvals() 535 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic() 676 GCObject *o = obj2gco(t); in luaC_barrierback() 696 GCObject *o = obj2gco(uv); in luaC_linkupval()
|
| H A D | lstate.h | 162 #define obj2gco(v) (cast(GCObject *, (v))) macro
|
| H A D | ltable.c | 360 luaC_link(L, obj2gco(t), LUA_TTABLE); in luaH_new()
|
| H A D | ldo.c | 238 lua_assert(iswhite(obj2gco(htab))); in adjust_varargs()
|
| H A D | lapi.c | 497 lua_assert(iswhite(obj2gco(cl))); in lua_pushcclosure()
|