HomeSort by: relevance | last modified time | path
    Searched refs:efi_fd (Results 1 - 2 of 2) sorted by relevancy

  /src/sbin/efi/
main.c 298 int ch, efi_fd; local
549 efi_fd = open(_PATH_EFI, O_RDONLY);
550 if (efi_fd == -1)
554 case act_del_bootorder_dups: return del_bootorder_dups(efi_fd, opt.target);
555 case act_del_bootorder: return del_bootorder(efi_fd, opt.target);
556 case act_del_bootnext: return del_bootnext(efi_fd);
557 case act_del_timeout: return del_timeout(efi_fd);
558 case act_del_variable: return del_variable(efi_fd, opt.target, opt.bootnum);
560 case act_set_active: return set_active(efi_fd, opt.target, opt.bootnum, opt.active);
561 case act_set_bootnext: return set_bootnext(efi_fd, opt.bootnum)
    [all...]
setvar.c 346 set_active(int efi_fd, const char *target, uint16_t bootnum, bool active)
354 ev = get_variable(efi_fd, name, &EFI_GLOBAL_VARIABLE, 0);
363 rv = set_variable(efi_fd, &ev);
390 del_variable(int efi_fd, const char *target, uint16_t bootnum)
397 rv = delete_variable(efi_fd, name);
403 rv = remove_bootorder(efi_fd, target, NULL, bootnum);

Completed in 17 milliseconds