Lines Matching full: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 in partition_get_assocs()
135 * and if there isn't one then we need the first solaris partition. in partition_get_assocs()
159 /* we found a solaris partition to use */ in partition_get_assocs()
196 * format so that it refers to the fdisk partition in partition_get_assocs()
199 * physical disk partition. in partition_get_assocs()
256 * Look for the partition by the partition number (which is not too useful).
263 descriptor_t *partition = NULL; in partition_get_descriptor_by_name() local
272 partition = partitions[i]; in partition_get_descriptor_by_name()
280 if (partition == NULL) { in partition_get_descriptor_by_name()
284 return (partition); in partition_get_descriptor_by_name()
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 in partition_make_descriptors()
385 * physical disk partition. in partition_make_descriptors()
393 * convert partition name in partition_make_descriptors()
443 * A partition has been found. Determine what type of in get_attrs()
444 * partition it is: logical, extended, or primary. in get_attrs()
445 * Collect the information for the partition. in get_attrs()
534 * collects the information on each partition and stores it in a
535 * partition table.
559 ext_part_t *epp; /* extended partition structure */ in get_parts()
566 /* Can't use drive_open_disk since we need the partition dev name. */ in get_parts()
611 * Check to see if a valid partition exists. If a valid partition in get_parts()
612 * exists, check to see if it is an extended partition. in get_parts()
613 * If an extended partition exists, collect the logical partition in get_parts()
642 * there is no Solaris logical partition, in get_parts()
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 in desc_ok()
724 * Return 1 if partition has slices, 0 if not.
748 * Slices are associated with the active solaris partition or if there in has_slices()
749 * is no active solaris partition, then the first solaris partition. in has_slices()
771 /* Check if this is the first solaris partition. */ in has_slices()
801 /* On intel we need to open partition device (e.g. c0d0p1). */ in open_disk()