Lines Matching refs:type
49 static inline bool is_boot_services(int type) in is_boot_services() argument
51 return type == EFI_LOADER_CODE || type == EFI_LOADER_DATA || in is_boot_services()
52 type == EFI_BOOT_SERVICES_CODE || in is_boot_services()
53 type == EFI_BOOT_SERVICES_DATA; in is_boot_services()
90 int type = desc->type; in efi_build_mem_table() local
92 if (skip_bs && is_boot_services(desc->type)) in efi_build_mem_table()
93 type = EFI_CONVENTIONAL_MEMORY; in efi_build_mem_table()
96 dest->type = type; in efi_build_mem_table()
101 else if (type != EFI_CONVENTIONAL_MEMORY) in efi_build_mem_table()
103 else if (prev->type != EFI_CONVENTIONAL_MEMORY) in efi_build_mem_table()
117 dest->type = EFI_TABLE_END; in efi_build_mem_table()
136 for (upto = 0; desc->type != EFI_TABLE_END; in efi_print_mem_table()
141 if (skip_bs && is_boot_services(desc->type)) in efi_print_mem_table()
149 name = desc->type < ARRAY_SIZE(type_name) ? in efi_print_mem_table()
150 type_name[desc->type] : "<invalid>"; in efi_print_mem_table()
152 desc->type, name, desc->physical_start, in efi_print_mem_table()