Home
last modified time | relevance | path

Searched refs:bootsize (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/libexec/bootpd/
H A Dbootpd.c636 int32 bootsize = 0; in handle_request() local
909 if (chk_access(realpath, &bootsize) < 0) { in handle_request()
911 if (chk_access(realpath, &bootsize) < 0) { in handle_request()
978 dovend_rfc1048(bp, hp, bootsize); in handle_request()
1242 dovend_rfc1048(bp, hp, bootsize) in dovend_rfc1048() argument
1245 int32 bootsize;
1339 if (hp->flags.bootsize) {
1341 bootsize = (hp->flags.bootsize_auto) ?
1342 ((bootsize + 511) / 512) : (hp->bootsize); /* Round up */
1345 *vp++ = (byte) ((bootsize >> 8) & 0xFF);
[all …]
H A Dbootpd.h98 bootsize :1, member
186 u_int32 bootsize, member
H A Dreadfile.c1045 hp->flags.bootsize = TRUE;
1048 hp->bootsize = (unsigned int) get_u_long(symbol);
1049 hp->flags.bootsize = TRUE;
1054 hp->flags.bootsize = FALSE;
1057 hp->flags.bootsize = TRUE;
1478 if (!hp->flags.bootsize) {
1479 if ((hp->flags.bootsize = hp2->flags.bootsize)) {
1481 hp->bootsize = hp2->bootsize;
H A Ddumptab.c144 if (hp->flags.bootsize) {
149 fprintf(fp, "%lu:", (u_long)hp->bootsize);
/freebsd-12.1/usr.sbin/bsdinstall/scripts/
H A Dzfsboot738 # NOTE: $swapsize and $bootsize should be defined by the calling function.
921 ${bootsize}b $disk ||
1001 "" 1 freebsd-zfs ${bootsize}b ${disk}s1 ||
1125 local swapsize bootsize
1132 if ! f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize; then
1142 "$ZFSBOOT_BOOT_POOL_SIZE" "$bootsize"
1648 f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize &&
1653 minsize=$(( $minsize + $bootsize ))
/freebsd-12.1/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c379 size_t bootsize, bytes; in gpart_bootcode() local
404 bootsize = lseek(bootfd, 0, SEEK_END); in gpart_bootcode()
405 boot = malloc(bootsize); in gpart_bootcode()
408 while (bytes < bootsize) in gpart_bootcode()
409 bytes += read(bootfd, boot + bytes, bootsize - bytes); in gpart_bootcode()
416 gctl_ro_param(r, "bootcode", bootsize, boot); in gpart_bootcode()
/freebsd-12.1/lib/geom/part/
H A Dgeom_part.c1204 size_t bootsize, partsize; in gpart_bootcode() local
1209 bootsize = 800 * 1024; /* Arbitrary limit. */ in gpart_bootcode()
1210 bootcode = gpart_bootfile_read(s, &bootsize); in gpart_bootcode()
1211 error = gctl_change_param(req, GPART_PARAM_BOOTCODE, bootsize, in gpart_bootcode()