Searched refs:mem_size (Results 1 – 1 of 1) sorted by relevance
299 u64 mem_size = ALIGN_UP(max_paddr - min_paddr, KERNEL_MEM_ALIGN); in efi_allocate_kernel_memory() local301 status = efi_allocate_pages_aligned(mem_size, ret_paddr, UINT64_MAX, in efi_allocate_kernel_memory()307 mem_size); in efi_allocate_kernel_memory()311 *ret_size = mem_size; in efi_allocate_kernel_memory()316 *ret_paddr, mem_size); in efi_allocate_kernel_memory()318 memset((void *)(*ret_paddr), 0, mem_size); in efi_allocate_kernel_memory()320 efi_remap_image_all_rwx(*ret_paddr, mem_size); in efi_allocate_kernel_memory()366 u64 mem_size = phdr->p_memsz; in load_program() local378 if (mem_size < file_size) { in load_program()383 if (mem_size == 0) { in load_program()