/netbsd-6-1-5-RELEASE/usr.sbin/installboot/arch/ |
H A D | next68k.c | 79 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 D | installboot.c | 75 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 D | bootpd.h | 98 bootsize :1, member in struct:flag 187 u_int32 bootsize, 186 u_int32 bootsize, member in struct:host
|
H A D | readfile.c | 1040 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 D | dumptab.c | 138 if (hp->flags.bootsize) { 143 fprintf(fp, "%d:", hp->bootsize);
|
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/prep/ |
H A D | md.c | 229 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 D | md.c | 134 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 D | md.c | 134 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 D | md.c | 61 /* 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 D | bootpd.c | 602 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 D | fdisk.c | 243 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 D | autoconf.c | 265 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 D | bsddisklabel.c | 607 if (bootsize != 0) { 609 bsdlabel[PART_BOOT].pi_size = bootsize;
|
H A D | defs.h | 257 int bootstart, bootsize; variable
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/ |
H A D | boot.c | 68 typedef void (*entry_t)(long o0, long bootargs, long bootsize, long o3,
|