• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/module/lua/

Lines Matching refs:marked

59  (gch(x)->marked = cast_byte((gch(x)->marked & maskcolors) | luaC_white(g)))
61 #define white2gray(x) resetbits(gch(x)->marked, WHITEBITS)
62 #define black2gray(x) resetbit(gch(x)->marked, BLACKBIT)
65 #define isfinalized(x) testbit(gch(x)->marked, FINALIZEDBIT)
103 ** if key is not marked, mark its entry as dead (therefore removing it
218 gch(o)->marked = luaC_white(g);
238 ** and turned black here. Other objects are marked gray and added
320 ** mark all values stored in marked open upvalues. (See comment in
378 int marked = 0; /* true if an object is marked in this traversal */
386 marked = 1;
395 else if (iscleared(g, gkey(n))) { /* key is not marked (yet)? */
397 if (valiswhite(gval(n))) /* value not marked yet? */
400 else if (valiswhite(gval(n))) { /* value not marked yet? */
401 marked = 1;
411 return marked;
503 for (; o < lim; o++) /* clear not-marked stack slice */
602 if (traverseephemeron(g, gco2t(w))) { /* traverse marked some value? */
709 ** objects, where a dead (not alive) object is one marked with the "old"
735 int marked = gch(curr)->marked;
736 if (isdeadm(ow, marked)) { /* is 'curr' dead? */
741 if (testbits(marked, tostop))
746 gch(curr)->marked = cast_byte((marked & toclear) | toset);
794 resetbit(gch(o)->marked, SEPARATED); /* mark that it is not in 'tobefnz' */
854 lua_assert(testbit(gch(curr)->marked, SEPARATED));
858 l_setbit(gch(curr)->marked, FINALIZEDBIT); /* won't be finalized again */
874 if (testbit(gch(o)->marked, SEPARATED) || /* obj. is already separated... */
890 l_setbit(ho->marked, SEPARATED); /* mark it as such */
1015 /* at this point, all strongly accessible objects are marked. */
1026 /* at this point, all resurrected objects are marked. */
1035 return work; /* estimate of memory marked by 'atomic' */