Lines Matching refs:sys_table_arg

56 void efi_printk(efi_system_table_t *sys_table_arg, char *str)  in efi_printk()  argument
66 efi_char16_printk(sys_table_arg, nl); in efi_printk()
69 efi_char16_printk(sys_table_arg, ch); in efi_printk()
82 efi_status_t efi_get_memory_map(efi_system_table_t *sys_table_arg, in efi_get_memory_map() argument
133 unsigned long get_dram_base(efi_system_table_t *sys_table_arg) in get_dram_base() argument
149 status = efi_get_memory_map(sys_table_arg, &boot_map); in get_dram_base()
170 efi_status_t efi_high_alloc(efi_system_table_t *sys_table_arg, in efi_high_alloc() argument
189 status = efi_get_memory_map(sys_table_arg, &boot_map); in efi_high_alloc()
265 efi_status_t efi_low_alloc_above(efi_system_table_t *sys_table_arg, in efi_low_alloc_above() argument
283 status = efi_get_memory_map(sys_table_arg, &boot_map); in efi_low_alloc_above()
338 void efi_free(efi_system_table_t *sys_table_arg, unsigned long size, in efi_free() argument
350 static efi_status_t efi_file_size(efi_system_table_t *sys_table_arg, void *__fh, in efi_file_size() argument
363 efi_printk(sys_table_arg, "Failed to open file: "); in efi_file_size()
364 efi_char16_printk(sys_table_arg, filename_16); in efi_file_size()
365 efi_printk(sys_table_arg, "\n"); in efi_file_size()
375 efi_printk(sys_table_arg, "Failed to get file info size\n"); in efi_file_size()
383 efi_printk(sys_table_arg, "Failed to alloc mem for file info\n"); in efi_file_size()
398 efi_printk(sys_table_arg, "Failed to get initrd info\n"); in efi_file_size()
413 static efi_status_t efi_open_volume(efi_system_table_t *sys_table_arg, in efi_open_volume() argument
428 efi_printk(sys_table_arg, "Failed to handle fs_proto\n"); in efi_open_volume()
434 efi_printk(sys_table_arg, "Failed to open volume\n"); in efi_open_volume()
504 efi_status_t handle_cmdline_files(efi_system_table_t *sys_table_arg, in handle_cmdline_files() argument
557 pr_efi_err(sys_table_arg, "Failed to alloc mem for file handle list\n"); in handle_cmdline_files()
596 status = efi_open_volume(sys_table_arg, image, &fh); in handle_cmdline_files()
601 status = efi_file_size(sys_table_arg, fh, filename_16, in handle_cmdline_files()
617 status = efi_high_alloc(sys_table_arg, file_size_total, 0x1000, in handle_cmdline_files()
620 pr_efi_err(sys_table_arg, "Failed to alloc highmem for files\n"); in handle_cmdline_files()
626 pr_efi_err(sys_table_arg, "We've run out of free low memory\n"); in handle_cmdline_files()
648 pr_efi_err(sys_table_arg, "Failed to read file\n"); in handle_cmdline_files()
668 efi_free(sys_table_arg, file_size_total, file_addr); in handle_cmdline_files()
691 efi_status_t efi_relocate_kernel(efi_system_table_t *sys_table_arg, in efi_relocate_kernel() argument
730 status = efi_low_alloc_above(sys_table_arg, alloc_size, in efi_relocate_kernel()
734 pr_efi_err(sys_table_arg, "Failed to allocate usable memory for kernel.\n"); in efi_relocate_kernel()
808 char *efi_convert_cmdline(efi_system_table_t *sys_table_arg, in efi_convert_cmdline() argument
838 status = efi_high_alloc(sys_table_arg, options_bytes, 0, in efi_convert_cmdline()
861 efi_status_t efi_exit_boot_services(efi_system_table_t *sys_table_arg, in efi_exit_boot_services() argument
869 status = efi_get_memory_map(sys_table_arg, map); in efi_exit_boot_services()
874 status = priv_func(sys_table_arg, map, priv); in efi_exit_boot_services()
906 status = priv_func(sys_table_arg, map, priv); in efi_exit_boot_services()