Searched refs:bootsize (Results 1 – 8 of 8) sorted by relevance
/freebsd/libexec/bootpd/ |
H A D | bootpd.c | 622 int32 bootsize = 0; in handle_request() local 895 if (chk_access(realpath, &bootsize) < 0) { in handle_request() 897 if (chk_access(realpath, &bootsize) < 0) { in handle_request() 964 dovend_rfc1048(bp, hp, bootsize); in handle_request() 1222 dovend_rfc1048(struct bootp *bp, struct host *hp, int32 bootsize) in dovend_rfc1048() argument 1316 if (hp->flags.bootsize) { in dovend_rfc1048() 1318 bootsize = (hp->flags.bootsize_auto) ? in dovend_rfc1048() 1319 ((bootsize + 511) / 512) : (hp->bootsize); /* Round up */ in dovend_rfc1048() 1322 *vp++ = (byte) ((bootsize >> 8) & 0xFF); in dovend_rfc1048() 1323 *vp++ = (byte) (bootsize & 0xFF); in dovend_rfc1048()
|
H A D | bootpd.h | 96 bootsize :1, member 184 u_int32 bootsize, member
|
H A D | readfile.c | 1026 hp->flags.bootsize = TRUE; in eval_symbol() 1029 hp->bootsize = (unsigned int) get_u_long(symbol); in eval_symbol() 1030 hp->flags.bootsize = TRUE; in eval_symbol() 1035 hp->flags.bootsize = FALSE; in eval_symbol() 1038 hp->flags.bootsize = TRUE; in eval_symbol() 1447 if (!hp->flags.bootsize) { in fill_defaults() 1448 if ((hp->flags.bootsize = hp2->flags.bootsize)) { in fill_defaults() 1450 hp->bootsize = hp2->bootsize; in fill_defaults()
|
H A D | dumptab.c | 131 if (hp->flags.bootsize) { in dump_host() 136 fprintf(fp, "%lu:", (u_long)hp->bootsize); in dump_host()
|
/freebsd/usr.sbin/bsdinstall/scripts/ |
H A D | zfsboot | 752 # NOTE: $swapsize and $bootsize should be defined by the calling function. 932 ${bootsize}b $disk || return $FAILURE 1015 "" 1 freebsd-zfs ${bootsize}b ${disk}s1 || 1141 local swapsize bootsize poolsize 1148 if ! f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize; then 1168 "$ZFSBOOT_BOOT_POOL_SIZE" "$bootsize" 1702 f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize && 1711 minsize=$(( $minsize + $bootsize ))
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_get/ |
H A D | vdev_get.cfg | 40 bootsize
|
/freebsd/usr.sbin/bsdinstall/partedit/ |
H A D | gpart_ops.c | 416 size_t bootsize, bytes; in gpart_bootcode() local 443 bootsize = lseek(bootfd, 0, SEEK_END); in gpart_bootcode() 444 boot = malloc(bootsize); in gpart_bootcode() 447 while (bytes < bootsize) in gpart_bootcode() 448 bytes += read(bootfd, boot + bytes, bootsize - bytes); in gpart_bootcode() 455 gctl_ro_param(r, "bootcode", bootsize, boot); in gpart_bootcode()
|
/freebsd/lib/geom/part/ |
H A D | geom_part.c | 1181 size_t bootsize, partsize; in gpart_bootcode() local 1189 bootsize = 800 * 1024; /* Arbitrary limit. */ in gpart_bootcode() 1190 bootcode = gpart_bootfile_read(s, &bootsize); in gpart_bootcode() 1191 error = gctl_change_param(req, GPART_PARAM_BOOTCODE, bootsize, in gpart_bootcode()
|