Home
last modified time | relevance | path

Searched refs:MAXPARTITIONS (Results 1 – 8 of 8) sorted by relevance

/NextBSD/sys/sys/mach/device/
HDdisk_status.h119 #ifndef MAXPARTITIONS
121 #define MAXPARTITIONS 8 macro
123 #define MAXPARTITIONS 16 macro
124 #define PARTITIONS (MAXPARTITIONS + 1)
129 #define PARTITIONS MAXPARTITIONS
/NextBSD/sys/sys/
HDdisklabel.h61 #ifndef MAXPARTITIONS
62 #define MAXPARTITIONS 8 macro
144 } d_partitions[MAXPARTITIONS]; /* actually may be more */
148 CTASSERT(sizeof(struct disklabel) == 148 + MAXPARTITIONS * 16);
/NextBSD/usr.bin/mkimg/
HDbsd.c88 if (bsdparts < MAXPARTITIONS) in bsd_write()
89 bsdparts = MAXPARTITIONS; in bsd_write()
/NextBSD/sys/geom/
HDgeom_bsd.c73 #define LABELSIZE (148 + 16 * MAXPARTITIONS)
111 error = bsd_disklabel_le_dec(label, &dl, MAXPARTITIONS); in g_bsd_modify()
223 error = bsd_disklabel_le_dec(buf + secoff, dl, MAXPARTITIONS); in g_bsd_try()
416 gp = g_slice_new(mp, MAXPARTITIONS, pp, &cp, &ms, in g_bsd_taste()
/NextBSD/sbin/bsdlabel/
HDbsdlabel.c66 #define MAXPARTITIONS 20 macro
518 &lab, MAXPARTITIONS); in readlabel()
845 if (v > MAXPARTITIONS) { in getasciilabel()
848 lp->d_npartitions = MAXPARTITIONS; in getasciilabel()
1168 if (lp->d_npartitions > MAXPARTITIONS) { in checklabel()
1170 (u_long)lp->d_npartitions, MAXPARTITIONS); in checklabel()
1202 lp->d_npartitions > MAXPARTITIONS) in checklabel()
/NextBSD/sbin/newfs/
HDnewfs.c355 if ((part_name < 'a' || part_name - 'a' >= MAXPARTITIONS) && in main()
437 &lab, MAXPARTITIONS)) in getdisklabel()
/NextBSD/sys/boot/powerpc/ps3/
HDdevicename.c138 (pnum >= MAXPARTITIONS)) { in ps3_parsedev()
/NextBSD/lib/libc/gen/
HDdisklabel.c128 for (p = 'a'; p < 'a' + MAXPARTITIONS; p++, pp++) { in getdiskbyname()