Lines Matching refs:partition

44 #include "partition.h"
96 * we just get the active solaris partition.
133 * If this is a slice desc. we need the first active solaris partition
134 * and if there isn't one then we need the first solaris partition.
158 /* we found a solaris partition to use */
195 * format so that it refers to the fdisk partition
198 * physical disk partition.
255 * Look for the partition by the partition number (which is not too useful).
262 descriptor_t *partition = NULL;
271 partition = partitions[i];
279 if (partition == NULL) {
283 return (partition);
336 * A partition descriptor points to a disk, the name is the partition number
341 * specific partition.
383 * format so that it refers to the fdisk partition
386 * physical disk partition.
394 * convert partition name
444 * A partition has been found. Determine what type of
445 * partition it is: logical, extended, or primary.
446 * Collect the information for the partition.
535 * collects the information on each partition and stores it in a
536 * partition table.
560 ext_part_t *epp; /* extended partition structure */
567 /* Can't use drive_open_disk since we need the partition dev name. */
612 * Check to see if a valid partition exists. If a valid partition
613 * exists, check to see if it is an extended partition.
614 * If an extended partition exists, collect the logical partition
641 * there is no Solaris logical partition,
694 /* return 1 if the partition descriptor is still valid, 0 if not. */
714 * We could verify the partition is still there but this is kind of
723 * Return 1 if partition has slices, 0 if not.
747 * Slices are associated with the active solaris partition or if there
748 * is no active solaris partition, then the first solaris partition.
770 /* Check if this is the first solaris partition. */
800 /* On intel we need to open partition device (e.g. c0d0p1). */