HomeSort by: relevance | last modified time | path
    Searched refs:bootsize (Results 1 - 18 of 18) sorted by relevancy

  /src/usr.sbin/installboot/arch/
next68k.c 83 size_t bootsize; local in function:next68k_setboot
140 bootsize = roundup(params->s1stat.st_size, cd_secsize);
142 bootbuf = malloc(bootsize);
144 warn("Allocating %zu bytes", bootsize);
147 memset(bootbuf, 0, bootsize);
161 if (bootsize > be16toh(next68klabel->cd_front) * cd_secsize -
175 if (((bootsize / cd_secsize) > b1 - b0) ||
176 ((bootsize / cd_secsize) > fp - b1)) {
177 if (2 * bootsize > (fp * cd_secsize - NEXT68K_LABEL_SIZE))
181 if (2 * bootsize > (fp * cd_secsize
    [all...]
  /src/distrib/utils/embedded/conf/
riscv.conf 26 local bootsize=$(( ${boot} * 1024 ))
30 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
31 local aoffset=$(( ${bootoffset} + ${bootsize} ))
62 e: ${bootsize} ${bootoffset} MSDOS #
evbmips.conf 28 local bootsize=$(( ${boot} * 1024 ))
32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
33 local aoffset=$(( ${bootoffset} + ${bootsize} ))
64 e: ${bootsize} ${bootoffset} MSDOS #
evbarm.conf 28 local bootsize=$(( ${boot} * 1024 ))
32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
33 local aoffset=$(( ${bootoffset} + ${bootsize} ))
64 e: ${bootsize} ${bootoffset} MSDOS #
evbppc.conf 28 local bootsize=$(( ${boot} * 1024 ))
32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
33 local aoffset=$(( ${bootoffset} + ${bootsize} ))
64 e: ${bootsize} ${bootoffset} MSDOS #
  /src/sys/arch/prep/stand/installboot/
installboot.c 75 load_boot(char *boot, size_t *bootsize)
169 *bootsize = roundup(imgsz, DEV_BSIZE);
224 size_t bootsize; local in function:main
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) {
  /src/usr.sbin/bootp/common/
bootpd.h 98 bootsize :1, member in struct:flag
187 u_int32 bootsize,
186 u_int32 bootsize, member in struct:host
readfile.c 1041 hp->flags.bootsize = TRUE;
1044 hp->bootsize = (unsigned int) get_u_long(symbol);
1045 hp->flags.bootsize = TRUE;
1050 hp->flags.bootsize = FALSE;
1053 hp->flags.bootsize = TRUE;
1468 if (!hp->flags.bootsize) {
1469 if ((hp->flags.bootsize = hp2->flags.bootsize)) {
1471 hp->bootsize = hp2->bootsize;
    [all...]
dumptab.c 138 if (hp->flags.bootsize) {
143 fprintf(fp, "%d:", hp->bootsize);
  /src/usr.sbin/sysinst/arch/arc/
md.c 253 pm->bootsize = part->mbrp_size;
258 if (pm->bootsize < (PART_BOOT_MIN / 512)) {
264 if (pm->bootstart == 0 || pm->bootsize == 0) {
  /src/usr.sbin/sysinst/arch/cobalt/
md.c 268 pm->bootsize = part->mbrp_size;
273 if (pm->bootsize < (PART_BOOT_MIN / 512)) {
279 if (pm->bootstart == 0 || pm->bootsize == 0) {
  /src/usr.sbin/sysinst/arch/ofppc/
md.c 60 /* bootstart/bootsize are for the fat */
223 if (pm->bootsize != 0) {
225 pm->bsdlabel[PART_BOOT_FAT12].pi_size = pm->bootsize;
399 if (pm->bootstart == 0 || pm->bootsize == 0 || rdb_found)
548 pm->bootsize = part->mbrp_size;
566 if (!(pm->bootsize >= (MIN_FAT12_BOOT/512) ||
586 if (pm->bootsize > 0 && pm->bootsize < (MIN_FAT12_BOOT/512)) {
594 if ((pm->bootstart == 0 || pm->bootsize == 0) &&
  /src/usr.sbin/sysinst/arch/prep/
md.c 269 pm->bootsize = part->mbrp_size;
273 if (pm->bootsize < (int)(MIN_PREP_BOOT/512)) {
277 if (pm->bootstart == 0 || pm->bootsize == 0) {
  /src/usr.sbin/bootp/bootpd/
bootpd.c 601 int32 bootsize = 0;
895 if (chk_access(lrealpath, &bootsize) < 0) {
897 if (chk_access(lrealpath, &bootsize) < 0) {
965 dovend_rfc1048(bp, hp, bootsize);
1221 dovend_rfc1048(struct bootp *bp, struct host *hp, int32 bootsize)
1315 if (hp->flags.bootsize) {
1317 bootsize = (hp->flags.bootsize_auto) ?
1318 ((bootsize + 511) / 512) : ((int32_t)hp->bootsize); /* Round up */
1321 *vp++ = (byte) ((bootsize >> 8) & 0xFF)
596 int32 bootsize = 0; local in function:handle_request
    [all...]
  /src/sbin/fdisk/
fdisk.c 236 static int bootsize; /* actual size of bootcode */ variable in typeref:typename:int
485 bootsize = read_boot(optarg, bootcode,
1105 if (bootsize == 0)
1106 bootsize = read_boot(DEFAULT_BOOTCODE, bootcode,
1115 if (bootsize != 0) {
1476 if (!f_flag && bootsize == 0 && !i_flag)
1483 if (bootsize != 0 && needed != 0
1495 bootsize = 0;
1498 if (bootsize == 0) {
1508 bootsize = read_boot(code, bootcode, sizeof bootcode, 0)
    [all...]
  /src/sys/arch/sparc64/sparc64/
autoconf.c 274 bootstrap(void *o0, void *bootargs, void *bootsize, void *o3, void *ofw)
307 ("sparc64_init(%p, %p, %p, %p, %p)\n", o0, bootargs, bootsize,
311 if ((long)bootsize >= (4 * sizeof(uint64_t))) {
315 } else if ((long)bootsize >= (4 * sizeof(uint32_t))) {
  /src/sys/arch/sparc/stand/ofwboot/
boot.c 69 typedef void (*entry_t)(long o0, long bootargs, long bootsize, long o3,
  /src/usr.sbin/sysinst/
defs.h 488 daddr_t bootstart, bootsize; member in struct:pm_devs

Completed in 21 milliseconds