Lines Matching defs:partitions
95 * This is called by media/slice to get the associated partitions.
96 * For a media desc. we just get all the partitions, but for a slice desc.
102 descriptor_t **partitions;
117 partitions = (descriptor_t **)calloc(TOTAL_NUMPART + 1,
119 if (partitions == NULL) {
172 partitions[0] = cache_get_desc(DM_PARTITION,
176 cache_free_descriptors(partitions);
179 partitions[1] = NULL;
181 return (partitions);
211 partitions[pos] = cache_get_desc(DM_PARTITION,
214 cache_free_descriptors(partitions);
221 partitions[pos] = NULL;
224 return (partitions);
261 descriptor_t **partitions;
265 partitions = cache_get_descriptors(DM_PARTITION, errp);
270 for (i = 0; partitions[i]; i++) {
271 if (libdiskmgt_str_eq(name, partitions[i]->name)) {
272 partition = partitions[i];
275 cache_free_descriptor(partitions[i]);
278 free(partitions);
304 /* There are no stat types defined for partitions */
340 * partitions found on each disk on a system. These are processed into an array
532 * Discovers the primary, extended, and logical partitions that have
533 * been created on a disk. get_parts loops through the partitions,
538 * disk -The disk device to be evaluated for partitions
540 * the partitions
760 /* Check if there are no active solaris partitions. */