Searched refs:part_fd (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 401 ret = read_stage2_from_disk(device->part_fd, stage2, device->type); in handle_getinfo() 499 ret = read_stage2_from_disk(curr_device->part_fd, stage2_curr, in handle_mirror() 590 if (read_stage1_from_disk(src_device->part_fd, target->stage1_buf) in propagate_bootblock() 641 device->part_fd = -1; in init_device() 681 if (fstyp_init(device->part_fd, 0, NULL, &fhdl) != 0) in init_device() 707 if (device->part_fd != -1) in cleanup_device() 708 (void) close(device->part_fd); in cleanup_device() 713 device->part_fd = -1; in cleanup_device() 770 if (ioctl(device->part_fd, DKIOCEXTPARTINFO, &edkpi) < 0) { in get_start_sector() 771 if (ioctl(device->part_fd, DKIOCPARTINFO, &dkpi) < 0) { in get_start_sector() [all …]
|
H A D | installgrub.h | 42 int part_fd; member
|