Home
last modified time | relevance | path

Searched refs:isblack (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlgc.h100 #define isblack(x) testbit((x)->gch.marked, BLACKBIT) macro
127 #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \
130 #define luaC_barrierback(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \
134 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \
138 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) luaC_barrierback_(L,p); }
141 { if (isblack(obj2gco(p))) luaC_barrierproto_(L,p,c); }
H A Dlgc.c137 lua_assert(isblack(o) && iswhite(v) && !isdead(g, v) && !isdead(g, o)); in luaC_barrier_()
157 lua_assert(isblack(o) && !isdead(g, o) && gch(o)->tt == LUA_TTABLE); in luaC_barrierback_()
174 lua_assert(isblack(obj2gco(p))); in luaC_barrierproto_()
192 lua_assert(!isblack(o)); /* open upvalues are never black */ in luaC_checkupvalcolor()
H A Dlfunc.c94 lua_assert(!isblack(o) && uv->v != &uv->u.value); in luaF_close()