Home
last modified time | relevance | path

Searched refs:boot_size (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1423 int boot_size = 0; in valid_DOS_boot() local
1432 if ((boot_size = status.st_size) < 512) { in valid_DOS_boot()
1438 sizebootldr = (boot_size + 511) / 512 * 512; in valid_DOS_boot()
1458 if (read(bfd, bootloader, boot_size) != boot_size) { in valid_DOS_boot()
1472 boot_size = 0; in valid_DOS_boot()
1477 return (boot_size); in valid_DOS_boot()
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c981 uint64_t boot_size) in make_disks() argument
1030 boot_size, &slice); in make_disks()
1082 ret = make_disks(zhp, child[c], boot_type, boot_size); in make_disks()
1090 ret = make_disks(zhp, child[c], boot_type, boot_size); in make_disks()
1098 ret = make_disks(zhp, child[c], boot_type, boot_size); in make_disks()
1635 uint64_t boot_size, int argc, char **argv) in make_root_vdev() argument
1686 if (!dryrun && make_disks(zhp, newroot, boot_type, boot_size) != 0) { in make_root_vdev()
H A Dzpool_util.h52 zpool_boot_label_t boot_type, uint64_t boot_size, int argc, char **argv);
H A Dzpool_main.c689 uint64_t boot_size; in zpool_do_add() local
782 boot_size = zpool_get_prop_int(zhp, ZPOOL_PROP_BOOTSIZE, NULL); in zpool_do_add()
784 boot_type, boot_size, argc, argv); in zpool_do_add()
1105 uint64_t boot_size = 0; in zpool_do_create() local
1135 if (boot_size == 0) in zpool_do_create()
1136 boot_size = SYSTEM256; in zpool_do_create()
1168 &boot_size) < 0 || boot_size == 0) { in zpool_do_create()
1286 (void) asprintf(&buf, "%" PRIu64, boot_size); in zpool_do_create()
1311 boot_type, boot_size, argc - 1, argv + 1); in zpool_do_create()
5542 uint64_t boot_size; in zpool_do_attach_or_replace() local
[all …]
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c161 uint64_t boot_size; in zfs_process_add() local
232 boot_size = zpool_get_prop_int(zhp, ZPOOL_PROP_BOOTSIZE, NULL); in zfs_process_add()
234 boot_type, boot_size, NULL) != 0) { in zfs_process_add()
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200_hw.c262 sc->sc_fw.boot_size = in ipw2200_cache_firmware()
275 sc->sc_fw.boot_size, sc->sc_fw.uc_size, sc->sc_fw.fw_size)); in ipw2200_cache_firmware()
H A Dipw2200_impl.h77 size_t boot_size; member
H A Dipw2200.c1070 err = ipw2200_load_fw(sc, sc->sc_fw.boot_base, sc->sc_fw.boot_size); in ipw2200_init()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c4594 zpool_boot_label_t boot_type, uint64_t boot_size, int *slice) in zpool_label_disk() argument
4675 if (boot_size % vtoc->efi_lbasize != 0) { in zpool_label_disk()
4690 if (boot_size < 1024 * 1024) { in zpool_label_disk()
4692 zfs_nicenum(boot_size, buf, sizeof (buf)); in zpool_label_disk()
4703 boot_size < 33 * 1024 * 1024) || in zpool_label_disk()
4705 boot_size < 256 * 1024 * 1024))) { in zpool_label_disk()
4707 zfs_nicenum(boot_size, buf, sizeof (buf)); in zpool_label_disk()
4714 start_block += boot_size / vtoc->efi_lbasize; in zpool_label_disk()