Lines Matching refs:partition
56 #include <grub/partition.h>
194 if (dev && dev->disk && dev->disk->partition)
196 if (dev->disk->partition->parent)
198 *part = dev->disk->partition->number;
199 *slice = dev->disk->partition->parent->number + 1;
202 *slice = dev->disk->partition->number + 1;
955 * Adds NetBSD bootinfo bootdisk and bootwedge. The partition identified
974 if (! (dev && dev->disk && dev->disk->partition))
978 part = disk->partition;
985 /* Absolute sector of the partition map describing this partition. */
988 disk->partition = part->parent;
992 disk->partition = part;
1027 bid.partition = part->number;