Lines Matching refs:align
73 /* Allocate extra in case we need to manually align the pointer */
232 mcache_create(const char *name, size_t bufsize, size_t align,
235 return (mcache_create_common(name, bufsize, align, mcache_slab_alloc,
257 mcache_create_common(const char *name, size_t bufsize, size_t align,
305 align = 1;
306 else if (align == 0)
307 align = MCACHE_ALIGN;
309 if ((align & (align - 1)) != 0)
310 panic("mcache_create: bad alignment %lu", align);
312 cp->mc_align = align;
339 align = MAX(align, sizeof (u_int64_t));
340 chunksize += sizeof (void *) + align;
341 chunksize = P2ROUNDUP(chunksize, align);
405 printf("mcache_create: %s (%s) arg %p bufsize %lu align %lu "