HomeSort by: relevance | last modified time | path
    Searched defs:bootsize (Results 1 - 6 of 6) 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/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
  /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/usr.sbin/sysinst/
defs.h 488 daddr_t bootstart, bootsize; member in struct:pm_devs

Completed in 16 milliseconds