• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/bsd/kern/

Lines Matching +defs:cl +defs:base

279  * the position of the object relevant to the base address of the cluster:
390 void *sl_base; /* base of allocated memory */
804 * Macros to obtain (4KB) cluster index and base cluster address.
811 * Macro to find the mbuf index relative to a base.
1246 (void) snprintf(m_cname(MC_CL), MAX_MBUF_CNAME, "cl");
2187 void *cl;
2199 cl = m->m_ext.ext_buf;
2200 clsp = slab_get(cl);
2201 VERIFY(m->m_flags == M_EXT && cl != NULL);
2249 void *cl;
2281 cl = ms->m_ext.ext_buf;
2282 clsp = slab_get(cl);
2286 (mcache_obj_t *)cl), cl, 0, size);
2342 ((mcache_obj_t *)cl)->obj_next = NULL;
2344 slab_free(MC_CL, cl);
2346 slab_free(MC_BIGCL, cl);
2348 slab_free(MC_16KCL, cl);
2388 void *cl;
2469 cl = clp_list;
2471 ((mcache_obj_t *)cl)->obj_next = NULL;
2489 cl_mca = mcl_audit_buf2mca(MC_CL, (mcache_obj_t *)cl);
2520 mcache_set_pattern(MCACHE_FREE_PATTERN, cl,
2527 MBUF_16KCL_INIT(ms, cl, rfa, 0, EXTF_COMPOSITE);
2529 MBUF_BIGCL_INIT(ms, cl, rfa, 0, EXTF_COMPOSITE);
2531 MBUF_CL_INIT(ms, cl, rfa, 0, EXTF_COMPOSITE);
2609 void *cl;
2635 cl = ms->m_ext.ext_buf;
2636 clsp = slab_get(cl);
2637 VERIFY(ms->m_flags == M_EXT && cl != NULL);
2655 mca = mcl_audit_buf2mca(MC_CL, cl);
2662 mcl_audit_cluster(mca, cl, size, alloc, FALSE);
2664 mcache_buffer_log(mca, cl, m_cache(class), &mb_start);
3506 void *cl;
3509 cl = m->m_ext.ext_buf;
3512 ASSERT(cl != NULL && rfa != NULL);
3518 MBUF_CL_INIT(m, cl, rfa, 1, flag);
3779 void *cl;
3818 cl = m->m_ext.ext_buf;
3821 ASSERT(cl != NULL && rfa != NULL);
3828 MBUF_16KCL_INIT(m, cl, rfa, 1, flag);
3830 MBUF_BIGCL_INIT(m, cl, rfa, 1, flag);
3832 MBUF_CL_INIT(m, cl, rfa, 1, flag);
4122 void *cl;
4139 cl = m->m_ext.ext_buf;
4142 ASSERT(cl != NULL && rfa != NULL);
4152 MBUF_16KCL_INIT(m, cl, rfa, 1, flag);
4154 MBUF_BIGCL_INIT(m, cl, rfa, 1, flag);
4156 MBUF_CL_INIT(m, cl, rfa, 1, flag);
6319 void *base, void *head, unsigned int len, int refcnt, int chunks)
6323 sp->sl_base = base;
6520 * base address of the page. Then find out the
6521 * mbuf index relative to the page base and use
7301 mbuf_report_usage(mbuf_class_t cl)
7307 if (m_total(cl) > m_peak(cl) &&
7308 m_total(cl) >= (m_maxlimit(cl) >> 4) &&
7309 (m_total(cl) - m_peak(cl)) >= (m_peak(cl) >> 5))