Searched refs:BBSIZE (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/usr.bin/mkimg/
H A Dbsd.c61 blk += BBSIZE / secsz;
79 buf = malloc(BBSIZE);
83 memcpy(buf, bootcode, BBSIZE);
86 memset(buf, 0, BBSIZE);
103 le32enc(&d->d_bbsize, BBSIZE);
124 error = image_write(0, buf, BBSIZE / secsz);
136 .bootcode = BBSIZE,
/freebsd-11-stable/sys/geom/part/
H A Dg_part_bsd.c52 #define BOOT2_SIZE (BBSIZE - BOOT2_OFF)
111 .gps_bootcodesz = BBSIZE,
181 if (gpp->gpp_codesize != BOOT1_SIZE && gpp->gpp_codesize != BBSIZE)
187 if (gpp->gpp_codesize == BBSIZE)
207 if (BBSIZE % pp->sectorsize)
215 table->bbarea = g_malloc(BBSIZE, M_WAITOK | M_ZERO);
228 le32enc(ptr + 140, BBSIZE); /* d_bbsize */
366 pp->mediasize < BBSIZE)
368 if (BBSIZE % pp->sectorsize)
399 table->bbarea = g_read_data(cp, 0, BBSIZE,
[all...]
/freebsd-11-stable/sbin/bsdlabel/
H A Dbsdlabel.c106 static u_char bootarea[BBSIZE];
131 static int bbsize = BBSIZE;
313 dp->p_offset = BBSIZE / secsize;
347 if (st.st_size <= BBSIZE) {
449 gctl_ro_param(grq, "bootcode", BBSIZE, bootarea);
510 nbytes = read(f, bootarea, BBSIZE);
513 if (nbytes != BBSIZE)
514 errx(4, "couldn't read %d bytes from %s", BBSIZE, specname);
780 lp->d_bbsize = BBSIZE; /* XXX */
1278 base_offset = BBSIZE / secsiz
[all...]
/freebsd-11-stable/sys/sys/
H A Ddisklabel.h66 #define BBSIZE 8192 macro
/freebsd-11-stable/sys/arm/at91/
H A Dat91_mci.c129 #define BBSIZE (16*1024) macro
130 #define MAX_BLOCKS ((BBSIZE*BBCOUNT)/512)
386 * create each bounce buffer as a single contiguous buffer of BBSIZE
396 BBSIZE, 1, BBSIZE, 0, NULL, NULL, &sc->dmatag);
741 if (remaining > (BBCOUNT*BBSIZE))
778 len = min(BBSIZE, remaining);
801 ((char *)data->data)+BBSIZE, len);
/freebsd-11-stable/sbin/newfs/
H A Dnewfs.c116 static u_char bootarea[BBSIZE];
434 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE)
/freebsd-11-stable/lib/libc/gen/
H A Ddisklabel.c119 getnumdflt(dp->d_bbsize, "bs", BBSIZE);
/freebsd-11-stable/sys/geom/
H A Dgeom_bsd.c278 error = g_write_data(cp, 0, bootcode, BBSIZE);
597 label = gctl_get_paraml(req, "bootcode", BBSIZE);
/freebsd-11-stable/usr.sbin/makefs/ffs/
H A Dmkfs.c66 #ifndef BBSIZE
67 #define BBSIZE 8192 /* size of boot area, with label */ macro
141 bbsize = BBSIZE;

Completed in 113 milliseconds