Lines Matching defs:partitions
94 * This is called by media/slice to get the associated partitions.
95 * For a media desc. we just get all the partitions, but for a slice desc.
101 descriptor_t **partitions;
116 partitions = (descriptor_t **)calloc(TOTAL_NUMPART + 1,
118 if (partitions == NULL) {
171 partitions[0] = cache_get_desc(DM_PARTITION,
175 cache_free_descriptors(partitions);
178 partitions[1] = NULL;
180 return (partitions);
210 partitions[pos] = cache_get_desc(DM_PARTITION,
213 cache_free_descriptors(partitions);
220 partitions[pos] = NULL;
223 return (partitions);
260 descriptor_t **partitions;
264 partitions = cache_get_descriptors(DM_PARTITION, errp);
269 for (i = 0; partitions[i]; i++) {
270 if (libdiskmgt_str_eq(name, partitions[i]->name)) {
271 partition = partitions[i];
274 cache_free_descriptor(partitions[i]);
277 free(partitions);
303 /* There are no stat types defined for partitions */
339 * partitions found on each disk on a system. These are processed into an array
533 * Discovers the primary, extended, and logical partitions that have
534 * been created on a disk. get_parts loops through the partitions,
539 * disk -The disk device to be evaluated for partitions
541 * the partitions
759 /* Check if there are no active solaris partitions. */