Home
last modified time | relevance | path

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

/openbmc/u-boot/include/
H A Dmalloc.h511 #define malloc_getpagesize 4096 macro
517 #ifndef malloc_getpagesize
524 # define malloc_getpagesize sysconf(_SC_PAGE_SIZE) macro
528 # define malloc_getpagesize getpagesize() macro
531 # define malloc_getpagesize (4096) /* TBD: Use 'GetSystemInfo' instead */ macro
537 # define malloc_getpagesize EXEC_PAGESIZE macro
541 # define malloc_getpagesize NBPG macro
543 # define malloc_getpagesize (NBPG * CLSIZE) macro
547 # define malloc_getpagesize NBPC macro
550 # define malloc_getpagesize PAGESIZE macro
[all …]
/openbmc/u-boot/common/
H A Ddlmalloc.c32 #define AlignPage(add) (((add) + (malloc_getpagesize-1)) & \
33 ~(malloc_getpagesize-1))
937 size_t page_mask = malloc_getpagesize - 1;
998 assert(((p->prev_size + size) & (malloc_getpagesize-1)) == 0);
1017 size_t page_mask = malloc_getpagesize - 1;
1025 assert(((size + offset) & (malloc_getpagesize-1)) == 0);
1081 unsigned long pagesz = malloc_getpagesize;
2036 return mEMALIGn (malloc_getpagesize, bytes);
2051 size_t pagesize = malloc_getpagesize;
2174 unsigned long pagesz = malloc_getpagesize;
H A Ddlmalloc.src514 #ifndef malloc_getpagesize
525 # define malloc_getpagesize getpagesize()
538 # define malloc_getpagesize NBPG
544 # define malloc_getpagesize NBPC
948 ~(malloc_getpagesize-1))
1802 size_t page_mask = malloc_getpagesize - 1;
1882 size_t page_mask = malloc_getpagesize - 1;
1946 unsigned long pagesz = malloc_getpagesize;
2825 return mEMALIGn (malloc_getpagesize, bytes);
2840 size_t pagesize = malloc_getpagesize;
[all …]