Searched refs:bootsize (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/libexec/bootpd/ |
| H A D | bootpd.c | 628 int32 bootsize = 0; in handle_request() local 901 if (chk_access(realpath, &bootsize) < 0) { in handle_request() 903 if (chk_access(realpath, &bootsize) < 0) { in handle_request() 970 dovend_rfc1048(bp, hp, bootsize); in handle_request() 1234 dovend_rfc1048(bp, hp, bootsize) in dovend_rfc1048() argument 1237 int32 bootsize; 1331 if (hp->flags.bootsize) { 1333 bootsize = (hp->flags.bootsize_auto) ? 1334 ((bootsize + 511) / 512) : (hp->bootsize); /* Round up */ 1337 *vp++ = (byte) ((bootsize >> 8) & 0xFF); [all …]
|
| H A D | bootpd.h | 98 bootsize :1, member 186 u_int32 bootsize, member
|
| H A D | readfile.c | 1037 hp->flags.bootsize = TRUE; 1040 hp->bootsize = (unsigned int) get_u_long(symbol); 1041 hp->flags.bootsize = TRUE; 1046 hp->flags.bootsize = FALSE; 1049 hp->flags.bootsize = TRUE; 1470 if (!hp->flags.bootsize) { 1471 if ((hp->flags.bootsize = hp2->flags.bootsize)) { 1473 hp->bootsize = hp2->bootsize;
|
| H A D | dumptab.c | 137 if (hp->flags.bootsize) { 142 fprintf(fp, "%lu:", (u_long)hp->bootsize);
|
| /freebsd-13.1/usr.sbin/bsdinstall/scripts/ |
| H A D | zfsboot | 738 # NOTE: $swapsize and $bootsize should be defined by the calling function. 918 ${bootsize}b $disk || return $FAILURE 995 "" 1 freebsd-zfs ${bootsize}b ${disk}s1 || 1117 local swapsize bootsize 1124 if ! f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize; then 1134 "$ZFSBOOT_BOOT_POOL_SIZE" "$bootsize" 1659 f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize && 1664 minsize=$(( $minsize + $bootsize ))
|
| /freebsd-13.1/usr.sbin/bsdinstall/partedit/ |
| H A D | gpart_ops.c | 380 size_t bootsize, bytes; in gpart_bootcode() local 405 bootsize = lseek(bootfd, 0, SEEK_END); in gpart_bootcode() 406 boot = malloc(bootsize); in gpart_bootcode() 409 while (bytes < bootsize) in gpart_bootcode() 410 bytes += read(bootfd, boot + bytes, bootsize - bytes); in gpart_bootcode() 417 gctl_ro_param(r, "bootcode", bootsize, boot); in gpart_bootcode()
|
| /freebsd-13.1/lib/geom/part/ |
| H A D | geom_part.c | 1206 size_t bootsize, partsize; in gpart_bootcode() local 1211 bootsize = 800 * 1024; /* Arbitrary limit. */ in gpart_bootcode() 1212 bootcode = gpart_bootfile_read(s, &bootsize); in gpart_bootcode() 1213 error = gctl_change_param(req, GPART_PARAM_BOOTCODE, bootsize, in gpart_bootcode()
|