Lines Matching defs:mtp
2696 kmem_magtype_t *mtp;
2718 mtp = cp->cache_magtype;
2720 emp = kmem_cache_alloc(mtp->mt_cache, KM_NOSLEEP);
2730 if (ccp->cc_magsize != mtp->mt_magsize) {
2732 kmem_cache_free(mtp->mt_cache, emp);
3333 kmem_magtype_t *mtp = cp->cache_magtype;
3337 if (cp->cache_chunksize < mtp->mt_maxbuf) {
3340 cp->cache_magtype = ++mtp;
3752 kmem_magtype_t *mtp;
4001 for (mtp = kmem_magtype; chunksize <= mtp->mt_minbuf; mtp++)
4004 cp->cache_magtype = mtp;
4257 kmem_magtype_t *mtp;
4259 for (i = 0; i < sizeof (kmem_magtype) / sizeof (*mtp); i++) {
4262 mtp = &kmem_magtype[i];
4263 (void) sprintf(name, "kmem_magazine_%d", mtp->mt_magsize);
4264 mtp->mt_cache = kmem_cache_create(name,
4265 (mtp->mt_magsize + 1) * sizeof (void *),
4266 mtp->mt_align, NULL, NULL, NULL, NULL,