Searched refs:bootsize (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/libexec/bootpd/ |
| H A D | bootpd.c | 636 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 D | bootpd.h | 98 bootsize :1, member 186 u_int32 bootsize, member
|
| H A D | readfile.c | 1045 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 D | dumptab.c | 144 if (hp->flags.bootsize) { 149 fprintf(fp, "%lu:", (u_long)hp->bootsize);
|
| /freebsd-12.1/usr.sbin/bsdinstall/scripts/ |
| H A D | zfsboot | 738 # 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 D | gpart_ops.c | 379 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 D | geom_part.c | 1204 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()
|