Lines Matching defs:partition

45 #include "partition.h"
97 * we just get the active solaris partition.
134 * If this is a slice desc. we need the first active solaris partition
135 * and if there isn't one then we need the first solaris partition.
159 /* we found a solaris partition to use */
196 * format so that it refers to the fdisk partition
199 * physical disk partition.
256 * Look for the partition by the partition number (which is not too useful).
263 descriptor_t *partition = NULL;
272 partition = partitions[i];
280 if (partition == NULL) {
284 return (partition);
337 * A partition descriptor points to a disk, the name is the partition number
342 * specific partition.
382 * format so that it refers to the fdisk partition
385 * physical disk partition.
393 * convert partition name
443 * A partition has been found. Determine what type of
444 * partition it is: logical, extended, or primary.
445 * Collect the information for the partition.
534 * collects the information on each partition and stores it in a
535 * partition table.
559 ext_part_t *epp; /* extended partition structure */
566 /* Can't use drive_open_disk since we need the partition dev name. */
611 * Check to see if a valid partition exists. If a valid partition
612 * exists, check to see if it is an extended partition.
613 * If an extended partition exists, collect the logical partition
642 * there is no Solaris logical partition,
695 /* return 1 if the partition descriptor is still valid, 0 if not. */
715 * We could verify the partition is still there but this is kind of
724 * Return 1 if partition has slices, 0 if not.
748 * Slices are associated with the active solaris partition or if there
749 * is no active solaris partition, then the first solaris partition.
771 /* Check if this is the first solaris partition. */
801 /* On intel we need to open partition device (e.g. c0d0p1). */