Lines Matching defs:partitions
159 * We keep a list of our current valid partitions, pointed
160 * to by "partitions".
161 * dp.num_part is the number of entries in "partitions".
162 * When partitions that have a representation on disk already
166 struct gpt_part_entry *partitions, /* current partitions */
167 *obsolete; /* deleted partitions */
251 for (struct gpt_part_entry *p = parts->partitions; p != NULL;
280 /* read the partitions */
370 parts->partitions = np;
395 for (struct gpt_part_entry *p = parts->partitions; p != NULL;
506 const struct gpt_part_entry *p = parts->partitions;
540 const struct gpt_part_entry *p = parts->partitions;
625 struct gpt_part_entry *p = parts->partitions, *n;
638 for (n = parts->partitions; n != NULL; n = n->gp_next)
697 for (p = parts->partitions; p != NULL; p = p->gp_next) {
1114 ok = gpt_insert_part_into_list(parts, &parts->partitions, p,
1120 for (n = parts->partitions; n != NULL; n = n->gp_next)
1146 for (i = 0, p = parts->partitions;
1158 parts->partitions = p->gp_next;
1347 * This should sync our internal model of partitions with the real state.
1383 for (struct gpt_part_entry *pe = parts->partitions;
1473 struct gpt_part_entry *p = parts->partitions;
1558 for (pno = 0, p = parts->partitions; p != NULL; p = p->gp_next, pno++) {
1590 * Delete all old partitions
1601 * Modify existing but changed partitions
1603 for (p = parts->partitions; p != NULL; p = p->gp_next) {
1622 * Add new partitions
1624 for (p = parts->partitions; p != NULL; p = p->gp_next) {
1668 for (pno = 0, p = parts->partitions; p != NULL;
1695 for (p = parts->partitions; p != NULL; p = n) {
1741 /* BOOTME makes no sense on swap partitions */
1742 for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next)
1764 for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next)
1786 for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next)
1831 for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next)
1848 for (i = 0, p = parts->partitions; p != NULL;
1867 for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next)