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

123

/openbsd-current/sys/arch/amd64/include/
H A Ddisklabel.h38 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/arm/include/
H A Ddisklabel.h43 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/arm64/include/
H A Ddisklabel.h23 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/i386/include/
H A Ddisklabel.h38 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/loongson/include/
H A Ddisklabel.h14 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/luna88k/include/
H A Ddisklabel.h38 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/octeon/include/
H A Ddisklabel.h14 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/sh/include/
H A Ddisklabel.h43 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/sparc64/include/
H A Ddisklabel.h38 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/alpha/include/
H A Ddisklabel.h38 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/powerpc64/include/
H A Ddisklabel.h24 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/riscv64/include/
H A Ddisklabel.h24 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/dev/sun/
H A Ddisklabel.h86 u_char sl_types[MAXPARTITIONS];
87 u_int8_t sl_fragblock[MAXPARTITIONS];
88 u_int16_t sl_cpg[MAXPARTITIONS];
92 sizeof(u_char) * MAXPARTITIONS -
93 sizeof(u_int8_t) * MAXPARTITIONS -
94 sizeof(u_int16_t) * MAXPARTITIONS -
/openbsd-current/sys/arch/macppc/include/
H A Ddisklabel.h38 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/lib/libsa/
H A Ddisklabel.c51 } else if (dlp->d_npartitions > MAXPARTITIONS ||
/openbsd-current/sbin/disklabel/
H A Dextern.h42 extern char *mountpoints[MAXPARTITIONS];
H A Deditor.c203 if (!(omountpoints = calloc(MAXPARTITIONS, sizeof(char *))) ||
204 !(origmountpoints = calloc(MAXPARTITIONS, sizeof(char *))) ||
205 !(tmpmountpoints = calloc(MAXPARTITIONS, sizeof(char *))))
300 for (i = 0; i < MAXPARTITIONS; i++) {
531 for (i = 0; i < MAXPARTITIONS; i++) {
659 struct space_allocation sa[MAXPARTITIONS];
675 for (i = lp->d_npartitions; i < MAXPARTITIONS; i++) {
680 lp->d_npartitions = MAXPARTITIONS;
755 for (i = partno + 1; i < MAXPARTITIONS; i++) {
1000 maxpart = 'a' - 1 + (add ? MAXPARTITIONS
[all...]
H A Ddisklabel.c76 char *mountpoints[MAXPARTITIONS];
378 for (i = 0; i < MAXPARTITIONS; i++) {
814 if (!(omountpoints = calloc(MAXPARTITIONS, sizeof(char *))))
818 for (part = 0; part < MAXPARTITIONS; part++) {
861 if (v == 0 || v > MAXPARTITIONS) {
863 lp->d_npartitions = MAXPARTITIONS;
913 if (part >= MAXPARTITIONS) {
1042 if (lp->d_npartitions > MAXPARTITIONS)
1043 warnx("warning, number of partitions (%d) > MAXPARTITIONS (%d)",
1044 lp->d_npartitions, MAXPARTITIONS);
[all...]
/openbsd-current/sys/arch/alpha/stand/boot/
H A Ddisk.c102 if (unit >= 16 || part >= MAXPARTITIONS)
131 lp->d_npartitions = MAXPARTITIONS;
142 for (i = 0; i < MAXPARTITIONS; i++) {
/openbsd-current/sys/sys/
H A Ddisklabel.h54 * This is the maximum value of MAXPARTITIONS for which 'struct disklabel'
55 * is <= DEV_BSIZE bytes long. If MAXPARTITIONS is greater than this, beware.
58 #if MAXPARTITIONS > MAXMAXPARTITIONS
59 #warn beware: MAXPARTITIONS bigger than MAXMAXPARTITIONS
65 #define DISKUNIT(dev) (minor(dev) / MAXPARTITIONS)
66 #define DISKPART(dev) (minor(dev) % MAXPARTITIONS)
69 (((unit) * MAXPARTITIONS) + (part))
130 } d_partitions[MAXPARTITIONS]; /* actually may be more */
/openbsd-current/sys/arch/alpha/stand/nboot/
H A Ddisk.c124 lp->d_npartitions = MAXPARTITIONS;
134 for (i = 0; i < MAXPARTITIONS; i++) {
/openbsd-current/sys/arch/luna88k/stand/boot/
H A Dufs_disksubr.c167 lp->d_npartitions = MAXPARTITIONS;
241 for (i = 0; i < MAXPARTITIONS; i++) {
/openbsd-current/sys/arch/hppa/include/
H A Ddisklabel.h38 #define MAXPARTITIONS 16 /* number of partitions */ macro
/openbsd-current/sys/arch/sparc64/stand/ofwboot/
H A Dofdev.c110 if (*++cp >= 'a' && *cp <= 'a' + MAXPARTITIONS)
311 lp->d_npartitions = MAXPARTITIONS;
374 for (i = 0; i < MAXPARTITIONS; i++) {
439 lp->d_npartitions = MAXPARTITIONS;
528 fname[3] <= 'a' + MAXPARTITIONS) {
611 partition >= 'a' + MAXPARTITIONS) {
/openbsd-current/sys/arch/luna88k/luna88k/
H A Ddisksubr.c278 lp->d_npartitions = MAXPARTITIONS;
351 for (i = 0; i < MAXPARTITIONS; i++) {
420 for (i = 0; i < MAXPARTITIONS; i++) {

Completed in 289 milliseconds

123