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

Lines Matching defs:list

97 ** link table 'h' into list pointed by 'p'
187 ** i.e., moved into the 'allgc' list
208 ** it to '*list'. 'offset' tells how many bytes to allocate before the
211 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, GCObject **list,
216 if (list == NULL)
217 list = &g->allgc; /* standard list for collectable objects */
220 gch(o)->next = *list;
221 *list = o;
239 ** to appropriate list to be visited (and turned black) later. (Open
240 ** upvalues are already linked in 'headuv' list.)
308 ** mark all objects in list of being-finalized
528 g->gray = h->gclist; /* remove from 'gray' list */
534 g->gray = cl->gclist; /* remove from 'gray' list */
540 g->gray = cl->gclist; /* remove from 'gray' list */
546 g->gray = th->gclist; /* remove from 'gray' list */
548 g->grayagain = o; /* insert into 'grayagain' list */
555 g->gray = p->gclist; /* remove from 'gray' list */
586 propagateall(g); /* traverse main gray list */
597 GCObject *next = g->ephemeron; /* get ephemeron list */
598 g->ephemeron = NULL; /* tables will return to this list when traversed */
621 ** clear entries with unmarked keys from all weaktables in list 'l' up
639 ** clear entries with unmarked values from all weaktables in list 'l' up
695 ** list of call-info structures.
708 ** sweep at most 'count' elements from a list of GCObjects erasing dead
716 ** When object is a thread, sweep its list of open upvalues too.
737 *p = gch(curr)->next; /* remove 'curr' from list */
742 return NULL; /* stop sweeping this list */
755 ** sweep a list until a live object (or end of list)
791 g->tobefnz = gch(o)->next; /* remove it from 'tobefnz' list */
792 gch(o)->next = g->allgc; /* return it to 'allgc' list */
842 ** finalization from list 'finobj' to list 'tobefnz' (to be finalized)
849 /* find last 'next' field in 'tobefnz' list (to add elements in its end) */
859 *p = gch(curr)->next; /* remove 'curr' from 'finobj' list */
860 gch(curr)->next = *lastnext; /* link at the end of 'tobefnz' list */
869 ** if object 'o' has a finalizer, remove it from 'allgc' list (must
870 ** search the list to find it) and link it in 'finobj' list.
878 else { /* move 'o' to 'finobj' list */
887 *p = ho->next; /* remove 'o' from root list */
888 ho->next = g->finobj; /* link it in list 'finobj' */
930 ** object inside the list (instead of to the header), so that the real