Searched refs:efi_ioctl (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 311 efi_ioctl(int fd, int cmd, dk_efi_t *dk_ioc) in efi_ioctl() function 329 if (efi_ioctl(fd, DKIOCGETEFI, dk_ioc) == -1) { in check_label() 520 rval = efi_ioctl(fd, DKIOCGETEFI, &dk_ioc); in efi_read() 531 rval = efi_ioctl(fd, DKIOCGETEFI, &dk_ioc); in efi_read() 743 if (efi_ioctl(fd, DKIOCGETEFI, &dk_ioc) == -1) { in write_pmbr() 793 if (efi_ioctl(fd, DKIOCSETEFI, &dk_ioc) == -1) { in write_pmbr() 1229 if (efi_ioctl(fd, DKIOCSETEFI, &dk_ioc) == -1) { in efi_write() 1248 if (efi_ioctl(fd, DKIOCSETEFI, &dk_ioc) == -1) { in efi_write() 1276 if (efi_ioctl(fd, DKIOCSETEFI, &dk_ioc) == -1) { in efi_write()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | auto_sense.c | 209 static int efi_ioctl(int fd, int cmd, dk_efi_t *dk_ioc); 365 efi_ioctl(int fd, int cmd, dk_efi_t *dk_ioc) in efi_ioctl() function 483 if (efi_ioctl(fd, DKIOCGETEFI, &dk_ioc) != 0) { in auto_label_init() 516 if (efi_ioctl(fd, DKIOCGETEFI, &dk_ioc_back) != 0) { in auto_label_init() 526 if (efi_ioctl(fd, DKIOCSETEFI, &dk_ioc) == -1) { in auto_label_init() 538 if (efi_ioctl(fd, DKIOCSETEFI, &dk_ioc_back) == -1) { in auto_label_init() 550 if (efi_ioctl(cur_file, DKIOCSETEFI, &dk_ioc_back) == -1) { in auto_label_init() 555 if (efi_ioctl(cur_file, DKIOCSETEFI, &dk_ioc) == -1) { in auto_label_init()
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 676 static int efi_ioctl(int fd, int cmd, dk_efi_t *dk_ioc); 4472 efi_ioctl(int fd, int cmd, dk_efi_t *dk_ioc) function 4520 if (efi_ioctl(Dev, DKIOCSETEFI, &dk_ioc) == -1) { 4545 if (efi_ioctl(Dev, DKIOCSETEFI, &dk_ioc) == -1) { 4563 if (efi_ioctl(Dev, DKIOCSETEFI, &dk_ioc) == -1) {
|