Searched refs:BBSIZE (Results 1 - 9 of 9) sorted by relevance
/freebsd-10.3-release/usr.bin/mkimg/ |
H A D | bsd.c | 60 blk += BBSIZE / secsz; 78 buf = malloc(BBSIZE); 82 memcpy(buf, bootcode, BBSIZE); 85 memset(buf, 0, BBSIZE); 102 le32enc(&d->d_bbsize, BBSIZE); 123 error = image_write(0, buf, BBSIZE / secsz); 135 .bootcode = BBSIZE,
|
/freebsd-10.3-release/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-10.3-release/sbin/newfs/ |
H A D | newfs.c | 116 static u_char bootarea[BBSIZE]; 442 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE) 476 if (write(disk.d_fd, bootarea, BBSIZE) != BBSIZE)
|
/freebsd-10.3-release/sbin/bsdlabel/ |
H A D | bsdlabel.c | 106 static u_char bootarea[BBSIZE]; 131 static int bbsize = BBSIZE; 314 dp->p_offset = BBSIZE / secsize; 348 if (st.st_size <= BBSIZE) { 450 gctl_ro_param(grq, "bootcode", BBSIZE, bootarea); 511 nbytes = read(f, bootarea, BBSIZE); 514 if (nbytes != BBSIZE) 515 errx(4, "couldn't read %d bytes from %s", BBSIZE, specname); 781 lp->d_bbsize = BBSIZE; /* XXX */ 1279 base_offset = BBSIZE / secsiz [all...] |
/freebsd-10.3-release/sys/geom/ |
H A D | geom_bsd.c | 276 error = g_write_data(cp, 0, bootcode, BBSIZE); 356 buf = g_malloc(BBSIZE, M_WAITOK); 358 error = copyin(p, buf, BBSIZE); 373 error = g_write_data(cp, 0, buf, BBSIZE); 676 label = gctl_get_paraml(req, "bootcode", BBSIZE);
|
/freebsd-10.3-release/sys/arm/at91/ |
H A D | at91_mci.c | 139 #define BBSIZE (16*1024) macro 140 #define MAX_BLOCKS ((BBSIZE*BBCOUNT)/512) 396 * create each bounce buffer as a single contiguous buffer of BBSIZE 406 BBSIZE, 1, BBSIZE, 0, NULL, NULL, &sc->dmatag); 751 if (remaining > (BBCOUNT*BBSIZE)) 788 len = min(BBSIZE, remaining); 811 ((char *)data->data)+BBSIZE, len);
|
/freebsd-10.3-release/lib/libc/gen/ |
H A D | disklabel.c | 119 getnumdflt(dp->d_bbsize, "bs", BBSIZE);
|
/freebsd-10.3-release/sys/sys/ |
H A D | disklabel.h | 66 #define BBSIZE 8192 macro
|
/freebsd-10.3-release/usr.sbin/makefs/ffs/ |
H A D | mkfs.c | 65 #ifndef BBSIZE 66 #define BBSIZE 8192 /* size of boot area, with label */ macro 140 bbsize = BBSIZE;
|
Completed in 207 milliseconds