Home
last modified time | relevance | path

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

/xen/xen/common/
A Dxmalloc_tlsf.c34 #define MEM_ALIGN (sizeof(void *) * 2) macro
35 #define MEM_ALIGN_MASK (~(MEM_ALIGN - 1))
53 #define ROUNDUP_SIZE(r) (((r) + MEM_ALIGN - 1) & MEM_ALIGN_MASK)
603 if ( align < MEM_ALIGN ) in _xmalloc()
604 align = MEM_ALIGN; in _xmalloc()
605 size += align - MEM_ALIGN; in _xmalloc()
608 if ( size < align - MEM_ALIGN ) in _xmalloc()
617 return xmalloc_whole_pages(size - align + MEM_ALIGN, align); in _xmalloc()
648 if ( align < MEM_ALIGN ) in _xrealloc()
649 align = MEM_ALIGN; in _xrealloc()
[all …]

Completed in 3 milliseconds