Lines Matching refs:slot
134 int module_setActiveBootSlot(boot_control_module_t *module, unsigned slot) in module_setActiveBootSlot() argument
141 if (slot >= 2) in module_setActiveBootSlot()
154 info.active_slot = slot; in module_setActiveBootSlot()
155 info.slot_info[slot].bootable = true; in module_setActiveBootSlot()
158 "_%c", slot + 'a'); in module_setActiveBootSlot()
166 snprintf(src_name, sizeof(src_name), "boot_%c", slot + 'a'); in module_setActiveBootSlot()
207 int module_setSlotAsUnbootable(struct boot_control_module *module, unsigned slot) in module_setSlotAsUnbootable() argument
211 if (slot >= 2) in module_setSlotAsUnbootable()
224 info.slot_info[slot].bootable = false; in module_setSlotAsUnbootable()
234 int module_isSlotBootable(struct boot_control_module *module, unsigned slot) in module_isSlotBootable() argument
238 if (slot >= 2) in module_isSlotBootable()
251 return info.slot_info[slot].bootable; in module_isSlotBootable()
254 const char* module_getSuffix(boot_control_module_t *module, unsigned slot) in module_getSuffix() argument
257 if (slot >= 2) in module_getSuffix()
259 return suffix[slot]; in module_getSuffix()