Lines Matching refs:align
111 * * from memalign(), with align > UMEM_ALIGN.
2193 _umem_alloc_align(size_t size, size_t align, int umflag)
2199 if ((align & (align - 1)) != 0)
2201 if (align < UMEM_ALIGN)
2202 align = UMEM_ALIGN;
2211 buf = vmem_xalloc(umem_memalign_arena, size, align, 0, 0, NULL, NULL,
2647 size_t align, /* required object alignment */
2688 if ((align & (align - 1)) != 0 || align > vmp->vm_quantum ||
2696 * If align == 0, we set it to the minimum required alignment.
2698 * If align < UMEM_ALIGN, we round it up to UMEM_ALIGN, unless
2701 if (align == 0) {
2703 align = UMEM_SECOND_ALIGN;
2705 align = UMEM_ALIGN;
2706 } else if (align < UMEM_ALIGN && (cflags & UMC_NOTOUCH) == 0)
2707 align = UMEM_ALIGN;
2737 align <= umem_lite_maxalign &&
2783 cp->cache_align = align;
2797 if (align >= UMEM_ALIGN) {
2816 cp->cache_chunksize = chunksize = P2ROUNDUP(chunksize, align);
3191 size_t align = 0;
3201 align = 64;
3203 align = pagesize;
3207 cp = umem_cache_create(name, cache_size, align,