Lines Matching refs:align
217 static void *slob_page_alloc(struct page *sp, size_t size, int align) in slob_page_alloc() argument
225 if (align) { in slob_page_alloc()
226 aligned = (slob_t *)ALIGN((unsigned long)cur, align); in slob_page_alloc()
268 static void *slob_alloc(size_t size, gfp_t gfp, int align, int node) in slob_alloc() argument
300 b = slob_page_alloc(sp, size, align); in slob_alloc()
328 b = slob_page_alloc(sp, size, align); in slob_alloc()
430 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in __do_kmalloc_node() local
437 if (size < PAGE_SIZE - align) { in __do_kmalloc_node()
441 m = slob_alloc(size + align, gfp, align, node); in __do_kmalloc_node()
446 ret = (void *)m + align; in __do_kmalloc_node()
449 size, size + align, gfp, node); in __do_kmalloc_node()
496 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in kfree() local
497 unsigned int *m = (unsigned int *)(block - align); in kfree()
498 slob_free(m, *m + align); in kfree()
508 int align; in ksize() local
519 align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in ksize()
520 m = (unsigned int *)(block - align); in ksize()
544 b = slob_alloc(c->size, flags, c->align, node); in slob_alloc_node()
642 .align = ARCH_KMALLOC_MINALIGN,