VDEV_PAD_SIZE
bootonce = malloc(VDEV_PAD_SIZE);
VDEV_PAD_SIZE) == 0) {
if ((bootonce = malloc(VDEV_PAD_SIZE)) != NULL) {
bootonce, VDEV_PAD_SIZE) == 0) {
if (vdev_label_offset(vd->v_psize, l, offset) + VDEV_PAD_SIZE != off)
size_t size = VDEV_PAD_SIZE;
#define VDEV_SKIP_SIZE VDEV_PAD_SIZE * 2
char vbe_bootenv[VDEV_PAD_SIZE - sizeof (uint64_t) -
CTASSERT(sizeof (vdev_boot_envblock_t) == VDEV_PAD_SIZE);
char vl_pad1[VDEV_PAD_SIZE]; /* 8K */
record->zi_end = record->zi_start + VDEV_PAD_SIZE - 1;
record->zi_end = record->zi_start + VDEV_PAD_SIZE - 1;
#define VDEV_SKIP_SIZE VDEV_PAD_SIZE * 2
char vl_pad1[VDEV_PAD_SIZE]; /* 8K */
char vl_pad2[VDEV_PAD_SIZE]; /* 8K */
size_t label_size = sizeof (vdev_label_t) - (2 * VDEV_PAD_SIZE);
(2 * VDEV_PAD_SIZE)) == label_size)
#define VDEV_SKIP_SIZE VDEV_PAD_SIZE * 2
char vbe_bootenv[VDEV_PAD_SIZE - sizeof (uint64_t) -
CTASSERT(sizeof (vdev_boot_envblock_t) == VDEV_PAD_SIZE);
char vl_pad1[VDEV_PAD_SIZE]; /* 8K */
offsetof(vdev_label_t, vl_be)), VDEV_PAD_SIZE,
abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE),
bootenv = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE);
abd_zero(bootenv, VDEV_PAD_SIZE);
VDEV_PAD_SIZE, NULL, NULL, flags);
ASSERT3U(zio->io_size, ==, VDEV_PAD_SIZE);
abd_alloc_linear(VDEV_PAD_SIZE, B_FALSE),
offsetof(vdev_label_t, vl_be), VDEV_PAD_SIZE,
ASSERT3U(sizeof (*bootenv), ==, VDEV_PAD_SIZE);
abd_t *abd = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE);
abd_zero(abd, VDEV_PAD_SIZE);
bootenv = abd_borrow_buf_copy(abd, VDEV_PAD_SIZE);
abd_return_buf_copy(abd, bootenv, VDEV_PAD_SIZE);
VDEV_PAD_SIZE, NULL, NULL, flags);