Lines Matching refs:partitions
45 * Array of all opened partitions
47 static PARTITION **partitions = NULL;
48 static unsigned short npart = 0; /* Number of mapped partitions */
108 * For partition numbers >5 Linux uses DOS extended partitions -
110 * extended partitions when scanning for a first Linux/ext2fs.
119 return NULL; /* We don't support extended partitions for now */
220 if(!strcmp(partitions[i]->dev, dev))
223 active = partitions[i];
338 newparts = (PARTITION**)realloc(partitions, sizeof(PARTITION) * npart);
343 partitions = newparts;
344 partitions[npart++] = active = part;