/src/usr.sbin/sysinst/ |
install.c | 56 size_t num_parts, i, j; local in function:write_all_parts 66 num_parts = 0; 72 for (j = 0; j < num_parts; j++) { 80 allparts[num_parts++] = parts; 87 for (j = 0; j < num_parts; j++) { 95 allparts[num_parts++] = parts; 103 for (i = 0; i < num_parts; i++) { 111 for (i = 0; i < num_parts; i++) { 137 for (i = 0; i < num_parts; i++) {
|
/src/sys/arch/mac68k/mac68k/ |
disksubr.c | 80 #define NUM_PARTS 32 179 getNamedType(struct part_map_entry *part, int num_parts, struct disklabel *lp, 185 for (i = 0; i < num_parts; i++) { 220 * than NUM_PARTS but read that many entries. Each entry has a magic 270 if (getNamedType(part, NUM_PARTS, lp, ROOT_PART, 0, &maxslot)) 271 getNamedType(part, NUM_PARTS, lp, ROOT_PART, -1, &maxslot); 272 if (getNamedType(part, NUM_PARTS, lp, UFS_PART, 0, &maxslot)) 273 getNamedType(part, NUM_PARTS, lp, UFS_PART, -1, &maxslot); 274 getNamedType(part, NUM_PARTS, lp, SWAP_PART, -1, &maxslot); 277 for (i = 0; i < NUM_PARTS; i++) [all...] |
/src/sys/arch/macppc/macppc/ |
disksubr.c | 122 #define NUM_PARTS 32 263 getNamedType(struct part_map_entry *part, int num_parts, struct disklabel *lp, int type, int alt, int *maxslot) 268 for (i = 0; i < num_parts; i++) { 303 * than NUM_PARTS but read that many entries. Each entry has a magic 333 bp = geteblk((int)lp->d_secsize * NUM_PARTS); 338 bp->b_bcount = lp->d_secsize * NUM_PARTS; 352 if (getNamedType(part, NUM_PARTS, lp, ROOT_PART, 0, &maxslot)) 353 getNamedType(part, NUM_PARTS, lp, ROOT_PART, -1, &maxslot); 354 if (getNamedType(part, NUM_PARTS, lp, UFS_PART, 0, &maxslot)) 355 getNamedType(part, NUM_PARTS, lp, UFS_PART, -1, &maxslot) [all...] |
/src/usr.sbin/sysinst/arch/mac68k/ |
md.c | 789 findStdType(num_parts, in_use, type, count, alt) 790 int num_parts; 799 for (i = 0; i < num_parts; i++) {
|