Lines Matching refs:bs
16 static int select_partition_number(bootloader_state_t *bs);
17 static int selected_boot_partition(const bootloader_state_t *bs);
50 bootloader_state_t bs = {0}; in call_start_cpu0() local
51 int boot_index = select_partition_number(&bs); in call_start_cpu0()
57 bootloader_utility_load_boot_image(&bs, boot_index); in call_start_cpu0()
61 static int select_partition_number(bootloader_state_t *bs) in select_partition_number() argument
64 if (!bootloader_utility_load_partition_table(bs)) { in select_partition_number()
70 return selected_boot_partition(bs); in select_partition_number()
77 static int selected_boot_partition(const bootloader_state_t *bs) in selected_boot_partition() argument
79 int boot_index = bootloader_utility_get_selected_boot_partition(bs); in selected_boot_partition()
104 return bootloader_utility_get_selected_boot_partition(bs); in selected_boot_partition()
115 if (bs->test.offset != 0) { in selected_boot_partition()