Searched refs:bootsize (Results 1 - 15 of 15) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/installboot/arch/
H A Dnext68k.c79 size_t bootsize; local
136 bootsize = roundup(params->s1stat.st_size, cd_secsize);
138 bootbuf = malloc(bootsize);
140 warn("Allocating %zu bytes", bootsize);
143 memset(bootbuf, 0, bootsize);
157 if (bootsize > be16toh(next68klabel->cd_front) * cd_secsize -
171 if (((bootsize / cd_secsize) > b1 - b0) ||
172 ((bootsize / cd_secsize) > fp - b1)) {
173 if (2 * bootsize > (fp * cd_secsize - NEXT68K_LABEL_SIZE))
177 if (2 * bootsize > (f
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/prep/stand/installboot/
H A Dinstallboot.c75 load_boot(char *boot, size_t *bootsize) argument
169 *bootsize = roundup(imgsz, DEV_BSIZE);
224 size_t bootsize; local
254 if ((bp = load_boot(boot, &bootsize)) == NULL)
267 if (bootsize + dbtob(2) > dbtob(ppp.mbrp_size)) {
296 boot00[1] = htole32(bootsize);
305 boot00[1] = htole32(bootsize + dbtob(2));
313 if (write(devfd, bp, bootsize) != bootsize) {
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/common/
H A Dbootpd.h98 bootsize :1, member in struct:flag
187 u_int32 bootsize,
186 u_int32 bootsize, member in struct:host
H A Dreadfile.c1040 hp->flags.bootsize = TRUE;
1043 hp->bootsize = (unsigned int) get_u_long(symbol);
1044 hp->flags.bootsize = TRUE;
1049 hp->flags.bootsize = FALSE;
1052 hp->flags.bootsize = TRUE;
1467 if (!hp->flags.bootsize) {
1468 if ((hp->flags.bootsize = hp2->flags.bootsize)) {
1470 hp->bootsize = hp2->bootsize;
[all...]
H A Ddumptab.c138 if (hp->flags.bootsize) {
143 fprintf(fp, "%d:", hp->bootsize);
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/prep/
H A Dmd.c229 bootsize = part->mbrp_size;
233 if (bootsize < (MIN_PREP_BOOT/512)) {
241 if (bootstart == 0 || bootsize == 0) {
282 bootsize = part[0].mbrp_size;
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/arc/
H A Dmd.c134 if (bootsize != 0) {
136 bsdlabel[PART_BOOT_FAT12].pi_size = bootsize;
339 bootsize = part->mbrp_size;
344 if (bootsize < (MIN_FAT12_BOOT / 512)) {
352 if (bootstart == 0 || bootsize == 0) {
393 bootsize = part[0].mbrp_size;
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/cobalt/
H A Dmd.c134 if (bootsize != 0) {
136 bsdlabel[PART_BOOT_EXT2FS].pi_size = bootsize;
358 bootsize = part->mbrp_size;
363 if (bootsize < (MIN_EXT2FS_BOOT / 512)) {
371 if (bootstart == 0 || bootsize == 0) {
412 bootsize = part[0].mbrp_size;
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/ofppc/
H A Dmd.c61 /* bootstart/bootsize are for the fat */
183 if (bootsize != 0) {
185 bsdlabel[PART_BOOT_FAT12].pi_size = bootsize;
333 if (bootstart == 0 || bootsize == 0 || rdb_found)
478 bootsize = part->mbrp_size;
496 if (!(bootsize >= (MIN_FAT12_BOOT/512) ||
520 if (bootsize > 0 && bootsize < (MIN_FAT12_BOOT/512)) {
530 if ((bootstart == 0 || bootsize == 0) &&
593 bootsize
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/bootpd/
H A Dbootpd.c602 int32 bootsize = 0;
893 if (chk_access(lrealpath, &bootsize) < 0) {
895 if (chk_access(lrealpath, &bootsize) < 0) {
963 dovend_rfc1048(bp, hp, bootsize);
1219 dovend_rfc1048(struct bootp *bp, struct host *hp, int32 bootsize)
1313 if (hp->flags.bootsize) {
1315 bootsize = (hp->flags.bootsize_auto) ?
1316 ((bootsize + 511) / 512) : ((int32_t)hp->bootsize); /* Round up */
1319 *vp++ = (byte) ((bootsize >>
597 int32 bootsize = 0; local
1210 dovend_rfc1048(struct bootp *bp, struct host *hp, int32 bootsize) argument
[all...]
/netbsd-6-1-5-RELEASE/sbin/fdisk/
H A Dfdisk.c243 static int bootsize; /* actual size of bootcode */ variable
435 bootsize = read_boot(optarg, bootcode,
1055 if (bootsize == 0)
1056 bootsize = read_boot(DEFAULT_BOOTCODE, bootcode,
1065 if (bootsize != 0) {
1428 if (!f_flag && bootsize == 0 && !i_flag)
1435 if (bootsize != 0 && needed != 0
1447 bootsize = 0;
1450 if (bootsize == 0) {
1460 bootsize
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/sparc64/
H A Dautoconf.c265 bootstrap(void *o0, void *bootargs, void *bootsize, void *o3, void *ofw) argument
296 ("sparc64_init(%p, %p, %p, %p, %p)\n", o0, bootargs, bootsize,
300 if ((long)bootsize >= (4 * sizeof(uint64_t))) {
304 } else if ((long)bootsize >= (4 * sizeof(uint32_t))) {
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Dbsddisklabel.c607 if (bootsize != 0) {
609 bsdlabel[PART_BOOT].pi_size = bootsize;
H A Ddefs.h257 int bootstart, bootsize; variable
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/
H A Dboot.c68 typedef void (*entry_t)(long o0, long bootargs, long bootsize, long o3,

Completed in 158 milliseconds