Home
last modified time | relevance | path

Searched refs:VDEV_PAD_SIZE (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_label_os.c48 if (size > VDEV_PAD_SIZE) in vdev_label_write_pad2()
58 pad2 = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE); in vdev_label_write_pad2()
60 abd_zero_off(pad2, size, VDEV_PAD_SIZE - size); in vdev_label_write_pad2()
66 VDEV_PAD_SIZE, NULL, NULL, flags); in vdev_label_write_pad2()
H A Dvdev_geom.c223 if (pp->sectorsize > VDEV_PAD_SIZE || !ISP2(pp->sectorsize)) { in vdev_geom_attach()
895 if (cp->provider->sectorsize > VDEV_PAD_SIZE || in vdev_geom_open()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h470 #define VDEV_PAD_SIZE (8 << 10) macro
472 #define VDEV_SKIP_SIZE VDEV_PAD_SIZE * 2
520 char vbe_bootenv[VDEV_PAD_SIZE - sizeof (uint64_t) -
524 _Static_assert(sizeof (vdev_boot_envblock_t) == VDEV_PAD_SIZE,
528 char vl_pad1[VDEV_PAD_SIZE]; /* 8K */
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_label.c1218 bootenv = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE); in vdev_label_init()
1219 abd_zero(bootenv, VDEV_PAD_SIZE); in vdev_label_init()
1240 VDEV_PAD_SIZE, NULL, NULL, flags); in vdev_label_init()
1289 ASSERT3U(zio->io_size, ==, VDEV_PAD_SIZE); in vdev_label_read_bootenv_done()
1320 abd_alloc_linear(VDEV_PAD_SIZE, B_FALSE), in vdev_label_read_bootenv_impl()
1321 offsetof(vdev_label_t, vl_be), VDEV_PAD_SIZE, in vdev_label_read_bootenv_impl()
1432 ASSERT3U(sizeof (*bootenv), ==, VDEV_PAD_SIZE); in vdev_label_write_bootenv()
1433 abd_t *abd = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE); in vdev_label_write_bootenv()
1434 abd_zero(abd, VDEV_PAD_SIZE); in vdev_label_write_bootenv()
1436 bootenv = abd_borrow_buf_copy(abd, VDEV_PAD_SIZE); in vdev_label_write_bootenv()
[all …]
H A Dvdev.c1842 offsetof(vdev_label_t, vl_be)), VDEV_PAD_SIZE, in vdev_probe()
1843 abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE), in vdev_probe()
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c390 record->zi_end = record->zi_start + VDEV_PAD_SIZE - 1; in translate_device()
394 record->zi_end = record->zi_start + VDEV_PAD_SIZE - 1; in translate_device()
/freebsd/stand/i386/loader/
H A Dmain.c330 if ((bootonce = malloc(VDEV_PAD_SIZE)) != NULL) { in extract_currdev()
332 bootonce, VDEV_PAD_SIZE) == 0) { in extract_currdev()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c199 size_t label_size = sizeof (vdev_label_t) - (2 * VDEV_PAD_SIZE); in zpool_clear_label()
202 (2 * VDEV_PAD_SIZE)) == label_size) in zpool_clear_label()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h517 #define VDEV_PAD_SIZE (8 << 10) macro
519 #define VDEV_SKIP_SIZE VDEV_PAD_SIZE * 2
557 char vbe_bootenv[VDEV_PAD_SIZE - sizeof (uint64_t) -
562 _Static_assert(sizeof (vdev_boot_envblock_t) == VDEV_PAD_SIZE,
566 char vl_pad1[VDEV_PAD_SIZE]; /* 8K */
/freebsd/stand/userboot/userboot/
H A Dmain.c271 char buf[VDEV_PAD_SIZE]; in extract_currdev()
/freebsd/stand/efi/boot1/
H A Dzfs_module.c41 static char zfs_bootonce[VDEV_PAD_SIZE];
/freebsd/stand/kboot/kboot/
H A Dhostdisk.c575 char buf[VDEV_PAD_SIZE]; in probe_zfs_currdev()
/freebsd/stand/efi/loader/
H A Dmain.c265 char buf[VDEV_PAD_SIZE]; in probe_zfs_currdev()
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c1639 if (vdev_label_offset(vd->v_psize, l, offset) + VDEV_PAD_SIZE != off) in vdev_label_write_validate()
1658 size_t size = VDEV_PAD_SIZE; in vdev_label_write()