Lines Matching refs:align
218 static void *slob_page_alloc(struct page *sp, size_t size, int align) in slob_page_alloc() argument
226 if (align) { in slob_page_alloc()
227 aligned = (slob_t *)ALIGN((unsigned long)cur, align); in slob_page_alloc()
269 static void *slob_alloc(size_t size, gfp_t gfp, int align, int node) in slob_alloc() argument
301 b = slob_page_alloc(sp, size, align); in slob_alloc()
329 b = slob_page_alloc(sp, size, align); in slob_alloc()
431 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in __do_kmalloc_node() local
439 if (size < PAGE_SIZE - align) { in __do_kmalloc_node()
443 m = slob_alloc(size + align, gfp, align, node); in __do_kmalloc_node()
448 ret = (void *)m + align; in __do_kmalloc_node()
451 size, size + align, gfp, node); in __do_kmalloc_node()
498 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in kfree() local
499 unsigned int *m = (unsigned int *)(block - align); in kfree()
500 slob_free(m, *m + align); in kfree()
510 int align; in ksize() local
521 align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in ksize()
522 m = (unsigned int *)(block - align); in ksize()
547 b = slob_alloc(c->size, flags, c->align, node); in slob_alloc_node()
651 .align = ARCH_KMALLOC_MINALIGN,