Lines Matching refs:sys_table_arg

54 void efi_printk(efi_system_table_t *sys_table_arg, char *str)  in efi_printk()  argument
64 efi_char16_printk(sys_table_arg, nl); in efi_printk()
67 efi_char16_printk(sys_table_arg, ch); in efi_printk()
80 efi_status_t efi_get_memory_map(efi_system_table_t *sys_table_arg, in efi_get_memory_map() argument
131 unsigned long get_dram_base(efi_system_table_t *sys_table_arg) in get_dram_base() argument
147 status = efi_get_memory_map(sys_table_arg, &boot_map); in get_dram_base()
168 efi_status_t efi_high_alloc(efi_system_table_t *sys_table_arg, in efi_high_alloc() argument
187 status = efi_get_memory_map(sys_table_arg, &boot_map); in efi_high_alloc()
263 efi_status_t efi_low_alloc(efi_system_table_t *sys_table_arg, in efi_low_alloc() argument
281 status = efi_get_memory_map(sys_table_arg, &boot_map); in efi_low_alloc()
341 void efi_free(efi_system_table_t *sys_table_arg, unsigned long size, in efi_free() argument
353 static efi_status_t efi_file_size(efi_system_table_t *sys_table_arg, void *__fh, in efi_file_size() argument
366 efi_printk(sys_table_arg, "Failed to open file: "); in efi_file_size()
367 efi_char16_printk(sys_table_arg, filename_16); in efi_file_size()
368 efi_printk(sys_table_arg, "\n"); in efi_file_size()
378 efi_printk(sys_table_arg, "Failed to get file info size\n"); in efi_file_size()
386 efi_printk(sys_table_arg, "Failed to alloc mem for file info\n"); in efi_file_size()
401 efi_printk(sys_table_arg, "Failed to get initrd info\n"); in efi_file_size()
416 static efi_status_t efi_open_volume(efi_system_table_t *sys_table_arg, in efi_open_volume() argument
431 efi_printk(sys_table_arg, "Failed to handle fs_proto\n"); in efi_open_volume()
437 efi_printk(sys_table_arg, "Failed to open volume\n"); in efi_open_volume()
502 efi_status_t handle_cmdline_files(efi_system_table_t *sys_table_arg, in handle_cmdline_files() argument
555 pr_efi_err(sys_table_arg, "Failed to alloc mem for file handle list\n"); in handle_cmdline_files()
594 status = efi_open_volume(sys_table_arg, image, &fh); in handle_cmdline_files()
599 status = efi_file_size(sys_table_arg, fh, filename_16, in handle_cmdline_files()
615 status = efi_high_alloc(sys_table_arg, file_size_total, 0x1000, in handle_cmdline_files()
618 pr_efi_err(sys_table_arg, "Failed to alloc highmem for files\n"); in handle_cmdline_files()
624 pr_efi_err(sys_table_arg, "We've run out of free low memory\n"); in handle_cmdline_files()
646 pr_efi_err(sys_table_arg, "Failed to read file\n"); in handle_cmdline_files()
666 efi_free(sys_table_arg, file_size_total, file_addr); in handle_cmdline_files()
689 efi_status_t efi_relocate_kernel(efi_system_table_t *sys_table_arg, in efi_relocate_kernel() argument
727 status = efi_low_alloc(sys_table_arg, alloc_size, alignment, in efi_relocate_kernel()
731 pr_efi_err(sys_table_arg, "Failed to allocate usable memory for kernel.\n"); in efi_relocate_kernel()
805 char *efi_convert_cmdline(efi_system_table_t *sys_table_arg, in efi_convert_cmdline() argument
835 status = efi_high_alloc(sys_table_arg, options_bytes, 0, in efi_convert_cmdline()
858 efi_status_t efi_exit_boot_services(efi_system_table_t *sys_table_arg, in efi_exit_boot_services() argument
866 status = efi_get_memory_map(sys_table_arg, map); in efi_exit_boot_services()
871 status = priv_func(sys_table_arg, map, priv); in efi_exit_boot_services()
903 status = priv_func(sys_table_arg, map, priv); in efi_exit_boot_services()