Home
last modified time | relevance | path

Searched refs:alloc_ops (Results 1 – 5 of 5) sorted by relevance

/kvm-unit-tests/lib/
H A Dalloc.c25 if (alloc_ops->free) in free()
26 alloc_ops->free(ptr); in free()
37 assert(alloc_ops && alloc_ops->memalign); in memalign()
39 p = alloc_ops->memalign(alignment, size); in memalign()
H A Dalloc.h25 struct alloc_ops { struct
30 extern struct alloc_ops *alloc_ops; argument
H A Dvmalloc.c192 static struct alloc_ops vmalloc_ops = {
204 assert(alloc_ops != &vmalloc_ops); in init_alloc_vpage()
220 if (alloc_ops == &vmalloc_ops) in __setup_vm()
246 assert(alloc_ops != &vmalloc_ops); in __setup_vm()
247 alloc_ops = &vmalloc_ops; in __setup_vm()
H A Dalloc_phys.c30 static struct alloc_ops early_alloc_ops = {
35 struct alloc_ops *alloc_ops = &early_alloc_ops; variable
H A Dalloc_page.c433 static struct alloc_ops page_alloc_ops = {
448 alloc_ops = &page_alloc_ops; in page_alloc_ops_enable()