Home
last modified time | relevance | path

Searched refs:part_fd (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c396 ret = read_stage2_from_disk(device->part_fd, stage2, device->type); in handle_getinfo()
494 ret = read_stage2_from_disk(curr_device->part_fd, stage2_curr, in handle_mirror()
585 if (read_stage1_from_disk(src_device->part_fd, target->stage1_buf) in propagate_bootblock()
636 device->part_fd = -1; in init_device()
676 if (fstyp_init(device->part_fd, 0, NULL, &fhdl) != 0) in init_device()
702 if (device->part_fd != -1) in cleanup_device()
703 (void) close(device->part_fd); in cleanup_device()
708 device->part_fd = -1; in cleanup_device()
765 if (ioctl(device->part_fd, DKIOCEXTPARTINFO, &edkpi) < 0) { in get_start_sector()
766 if (ioctl(device->part_fd, DKIOCPARTINFO, &dkpi) < 0) { in get_start_sector()
[all …]
H A Dinstallgrub.h42 int part_fd; member