Searched refs:MAXPARTITIONS (Results 1 – 8 of 8) sorted by relevance
| /NextBSD/sys/sys/mach/device/ |
| HD | disk_status.h | 119 #ifndef MAXPARTITIONS 121 #define MAXPARTITIONS 8 macro 123 #define MAXPARTITIONS 16 macro 124 #define PARTITIONS (MAXPARTITIONS + 1) 129 #define PARTITIONS MAXPARTITIONS
|
| /NextBSD/sys/sys/ |
| HD | disklabel.h | 61 #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/ |
| HD | bsd.c | 88 if (bsdparts < MAXPARTITIONS) in bsd_write() 89 bsdparts = MAXPARTITIONS; in bsd_write()
|
| /NextBSD/sys/geom/ |
| HD | geom_bsd.c | 73 #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/ |
| HD | bsdlabel.c | 66 #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/ |
| HD | newfs.c | 355 if ((part_name < 'a' || part_name - 'a' >= MAXPARTITIONS) && in main() 437 &lab, MAXPARTITIONS)) in getdisklabel()
|
| /NextBSD/sys/boot/powerpc/ps3/ |
| HD | devicename.c | 138 (pnum >= MAXPARTITIONS)) { in ps3_parsedev()
|
| /NextBSD/lib/libc/gen/ |
| HD | disklabel.c | 128 for (p = 'a'; p < 'a' + MAXPARTITIONS; p++, pp++) { in getdiskbyname()
|