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

Lines Matching defs:list

37  *    notice, this list of conditions and the following disclaimer.
39 * notice, this list of conditions and the following disclaimer in the
353 * gets removed (SLF_DETACHED) from the class's slab list. A chunk that is
355 * it also causes the slab to be reinserted back to class's slab list, if
466 TAILQ_HEAD(mcl_slhead, mcl_slab) mtbl_slablist; /* slab list */
1146 /* The slab list for this class is empty */
1262 * Place a slab of object(s) back into a class's slab list.
1384 /* Remove the slab from the mbuf class's slab list */
1402 /* Reinsert the slab to the class's slab list */
1419 mcache_obj_t **list = *plist;
1427 if ((*list = slab_alloc(class, wait)) != NULL) {
1428 (*list)->obj_next = NULL;
1429 list = *plist = &(*list)->obj_next;
1494 mbuf_slab_free(void *arg, mcache_obj_t *list, __unused int purged)
1506 nlist = list->obj_next;
1507 list->obj_next = NULL;
1508 slab_free(class, list);
1510 if ((list = nlist) == NULL)
1533 mbuf_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc)
1540 while (list != NULL) {
1542 mca = mcl_audit_buf2mca(class, list);
1546 mcl_audit_mbuf(mca, list, FALSE, alloc);
1549 mcl_audit_cluster(mca, list, m_maxsize(class),
1554 mcache_buffer_log(mca, list, m_cache(class));
1563 list = list->obj_next;
1604 mcache_obj_t **list = *plist;
1612 while ((*list = m_cobjlist(class)) != NULL) {
1613 MRANGE(*list);
1615 m = (struct mbuf *)*list;
1638 if ((m_cobjlist(class) = (*list)->obj_next) != NULL &&
1643 (*list)->obj_next = NULL;
1644 list = *plist = &(*list)->obj_next;
1658 cslab_free(mbuf_class_t class, mcache_obj_t *list, int purged)
1672 o = tail = list;
1769 m_cobjlist(class) = list;
1796 mcache_obj_t **list;
1815 list = *plist;
1935 *list = (mcache_obj_t *)m;
1936 (*list)->obj_next = NULL;
1937 list = *plist = &(*list)->obj_next;
1970 mbuf_cslab_free(void *arg, mcache_obj_t *list, int purged)
1980 num = cslab_free(class, list, purged);
2001 mbuf_cslab_audit(void *arg, mcache_obj_t *list, boolean_t alloc)
2012 while ((m = ms = (struct mbuf *)list) != NULL) {
2068 list = list->obj_next;
2476 /* Insert it into the mbuf class's slab list */
2540 mcache_obj_t **list = ⊤
2557 tot = cslab_alloc(class, &list,
3039 * Return a list of mbuf hdrs that point to clusters. Try for num_needed;
3150 * Return list of mbuf linked by m_nextpkt. Try for numlist, and if
3152 * each mbuf in the list is controlled by the parameter packetlen. Each
3153 * mbuf of the list may have a chain of mbufs linked by m_next. Each mbuf
3503 * Return a list of mbuf hdrs that point to clusters. Try for num_needed;
3519 * Return a list of mbuf hdrs set up as packet hdrs chained together
3544 * Free an mbuf list (m_nextpkt) while following m_next. Returns the count
3889 * list (normally hung off of the socket)
3901 mcache_obj_t *list = NULL;
3935 if (mcache_alloc_ext(m_cache(MC_MBUF), &list, needed,
3941 n = (struct mbuf *)list;
3942 list = list->obj_next;
4002 ASSERT(list == NULL);
4006 if (list != NULL)
4007 mcache_free_ext(m_cache(MC_MBUF), list);