Searched refs:MAXPARTITIONS (Results 1 - 3 of 3) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/i386/
H A Ddisklabel.h36 #define MAXPARTITIONS 8 /* number of partitions */ macro
/macosx-10.5.8/xnu-1228.15.4/bsd/ppc/
H A Ddisklabel.h38 #define MAXPARTITIONS 8 /* number of partitions */ macro
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Ddisklabel.h88 * This is the maximum value of MAXPARTITIONS for which 'struct disklabel'
89 * is <= DEV_BSIZE bytes long. If MAXPARTITIONS is greater than this, beware.
92 #if MAXPARTITIONS > MAXMAXPARTITIONS
93 #warning beware: MAXPARTITIONS bigger than MAXMAXPARTITIONS
99 #define DISKUNIT(dev) (minor(dev) / MAXPARTITIONS)
100 #define DISKPART(dev) (minor(dev) % MAXPARTITIONS)
102 (makedev((maj), ((unit) * MAXPARTITIONS) + (part)))
201 } d_partitions[MAXPARTITIONS]; /* actually may be more */

Completed in 17 milliseconds