Searched defs:order (Results 1 - 4 of 4) sorted by relevance

/systemd/src/shared/
H A Defivars.h52 int efi_get_boot_order(uint16_t **order);
53 int efi_set_boot_order(uint16_t *order, size_t n);
109 static inline int efi_get_boot_order(uint16_t **order) { argument
113 static inline int efi_set_boot_order(uint16_t *order, size_t n) { argument
H A Defivars.c545 int efi_get_boot_order(uint16_t **order) { argument
561 *order = buf;
566 int efi_set_boot_order(uint16_t *order, size_t n) { argument
567 return efi_set_variable(EFI_VENDOR_GLOBAL, "BootOrder", order, n * sizeof(uint16_t));
/systemd/src/boot/
H A Dbootctl.c321 printf(" Status: %sactive%s\n", active ? "" : "in", in_order ? ", boot-order" : "");
331 _cleanup_free_ uint16_t *options = NULL, *order = NULL; local
346 n_order = efi_get_boot_order(&order);
350 return log_error_errno(n_order, "Failed to read EFI boot order.");
355 print_efi_option(order[i], true);
362 if (options[i] == order[j])
673 _cleanup_free_ uint16_t *order = NULL; local
677 n = efi_get_boot_order(&order);
683 if (n == 1 && order[0] == slot)
686 /* are we already in the boot order
718 _cleanup_free_ uint16_t *order = NULL; local
[all...]
/systemd/src/boot/efi/
H A Dboot.c878 INTN order; local
880 order = c_order(*s1) - c_order(*s2);
881 if (order)
882 return order;

Completed in 1857 milliseconds