• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching defs:list

82  * to serialize accesses to the global list of caches in the system.
186 mcache_llock_grp = lck_grp_alloc_init("mcache.list",
334 * returned are linked together in a list.
421 mcache_alloc_ext(mcache_t *cp, mcache_obj_t **list, unsigned int num, int wait)
424 mcache_obj_t **top = &(*list);
432 ASSERT(list != NULL);
433 *list = NULL;
456 * the list; grab as many objects as we can.
459 *list = ccp->cc_filled->bkt_obj[ccp->cc_objs - 1];
464 list = &tail->obj_next;
465 *list = NULL;
497 * CPU and place any empty bucket into the empty list.
516 need -= (*cp->mc_slab_alloc)(cp->mc_private, &list, need, wait);
549 * here means that the object list is insanely broken and
557 panic("mcache_alloc_ext: %s cp %p corrupted list "
674 mcache_free_ext(mcache_t *cp, mcache_obj_t *list)
683 (*cp->mc_slab_audit)(cp->mc_private, list, FALSE);
696 * Reverse the list while we place the object into the
700 nlist = list->obj_next;
701 list->obj_next = (ccp->cc_objs == 0) ? NULL :
703 ccp->cc_filled->bkt_obj[ccp->cc_objs++] = list;
706 if ((list = nlist) != NULL)
738 * CPU and place any full bucket into the full list.
794 (*cp->mc_slab_free)(cp->mc_private, list,
863 mcache_obj_t **list = *plist;
865 *list = NULL;
915 *list = (mcache_obj_t *)((intptr_t)base + offset);
917 (*list)->obj_next = NULL;
918 list = *plist = &(*list)->obj_next;
932 mcache_slab_free(void *arg, mcache_obj_t *list, __unused boolean_t purged)
951 nlist = list->obj_next;
952 list->obj_next = NULL;
955 base = (void *)((intptr_t)list - offset);
973 if ((list = nlist) == NULL)
982 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc)
997 while (list != NULL) {
998 mcache_obj_t *next = list->obj_next;
1001 base = (void *)((intptr_t)list - offset);
1015 list = list->obj_next = next;
1174 "list in bkt %p (nobjs %d actual %d)\n",