Searched refs:BBSIZE (Results 1 - 9 of 9) sorted by relevance
/freebsd-11-stable/usr.bin/mkimg/ |
H A D | bsd.c | 61 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 D | g_part_bsd.c | 52 #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 D | bsdlabel.c | 106 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 D | disklabel.h | 66 #define BBSIZE 8192 macro
|
/freebsd-11-stable/sys/arm/at91/ |
H A D | at91_mci.c | 129 #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 D | newfs.c | 116 static u_char bootarea[BBSIZE]; 434 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE)
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | disklabel.c | 119 getnumdflt(dp->d_bbsize, "bs", BBSIZE);
|
/freebsd-11-stable/sys/geom/ |
H A D | geom_bsd.c | 278 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 D | mkfs.c | 66 #ifndef BBSIZE 67 #define BBSIZE 8192 /* size of boot area, with label */ macro 141 bbsize = BBSIZE;
|
Completed in 113 milliseconds