Searched refs:max (Results 1 – 7 of 7) sorted by relevance
/DragonStub/apps/ |
H A D | alignedmem.c | 23 unsigned long max, unsigned long align, in efi_allocate_pages_aligned() argument 30 max = min(max, EFI_ALLOC_LIMIT); in efi_allocate_pages_aligned() 35 alloc_addr = ALIGN_DOWN(max + 1, align) - 1; in efi_allocate_pages_aligned()
|
H A D | mem.c | 84 unsigned long max) in efi_allocate_pages() argument 89 max = min(max, EFI_ALLOC_LIMIT); in efi_allocate_pages() 95 alloc_addr = ALIGN_DOWN(max + 1, EFI_ALLOC_ALIGN) - 1; in efi_allocate_pages()
|
H A D | elf.c | 291 max(max_paddr, (u64)(phdr->p_paddr + phdr->p_memsz)); in efi_allocate_kernel_memory()
|
/DragonStub/inc/dragonstub/ |
H A D | minmax.h | 84 #define max(x, y) __careful_cmp(x, y, >) macro 100 #define max3(x, y, z) max((typeof(x))max(x, y), z) 211 #define max_array(array, len) __minmax_array(max, array, len)
|
H A D | dragonstub.h | 311 unsigned long max, unsigned long align, 330 unsigned long max);
|
/DragonStub/apps/lib/libfdt/ |
H A D | fdt_ro.c | 116 uint32_t max = 0; in fdt_find_max_phandle() local 132 if (value > max) in fdt_find_max_phandle() 133 max = value; in fdt_find_max_phandle() 137 *phandle = max; in fdt_find_max_phandle() 144 uint32_t max; in fdt_generate_phandle() local 147 err = fdt_find_max_phandle(fdt, &max); in fdt_generate_phandle() 151 if (max == FDT_MAX_PHANDLE) in fdt_generate_phandle() 155 *phandle = max + 1; in fdt_generate_phandle()
|
/DragonStub/ |
H A D | Make.defaults | 177 LDFLAGS += -z max-page-size=4096
|