Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c403 ret = read_stage2_from_disk(device->part_fd, stage2, device->type); in handle_getinfo()
501 ret = read_stage2_from_disk(curr_device->part_fd, stage2_curr, in handle_mirror()
592 if (read_stage1_from_disk(src_device->part_fd, target->stage1_buf) in propagate_bootblock()
643 device->part_fd = -1; in init_device()
683 if (fstyp_init(device->part_fd, 0, NULL, &fhdl) != 0) in init_device()
709 if (device->part_fd != -1) in cleanup_device()
710 (void) close(device->part_fd); in cleanup_device()
715 device->part_fd = -1; in cleanup_device()
772 if (ioctl(device->part_fd, DKIOCEXTPARTINFO, &edkpi) < 0) { in get_start_sector()
773 if (ioctl(device->part_fd, DKIOCPARTINFO, &dkpi) < 0) { in get_start_sector()
[all …]
H A Dinstallgrub.h42 int part_fd; member