Searched refs:VDEV_LABEL_START_SIZE (Results 1 – 9 of 9) sorted by relevance
69 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
184 if (offset >= VDEV_LABEL_START_SIZE && in zio_handle_label_injection()231 if (offset < VDEV_LABEL_START_SIZE || in zio_handle_device_injection()
1238 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open()1239 max_asize = max_osize - (VDEV_LABEL_START_SIZE + in vdev_open()1243 (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE)) { in vdev_open()2662 vs->vs_rsize += VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_get_stats()
906 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_read_phys()927 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_write_phys()978 offset += VDEV_LABEL_START_SIZE; in zio_vdev_child_io()
4569 ASSERT(addr >= VDEV_LABEL_START_SIZE && in arc_read()6971 adddev->l2ad_start = VDEV_LABEL_START_SIZE + adddev->l2ad_dev_hdr_asize; in l2arc_add_vdev()6972 adddev->l2ad_end = VDEV_LABEL_START_SIZE + vdev_get_min_asize(vd); in l2arc_add_vdev()7362 VDEV_LABEL_START_SIZE, hdr_asize, hdr, in l2arc_dev_hdr_read()7671 wzio = zio_write_phys(pio, dev->l2ad_vdev, VDEV_LABEL_START_SIZE, in l2arc_dev_hdr_update()
1160 offset += VDEV_LABEL_START_SIZE; in zvol_dumpio_vdev()
161 #define VDEV_LABEL_OFFSET(x) (x + VDEV_LABEL_START_SIZE)
112 ((offset + VDEV_LABEL_START_SIZE) >> SPA_MINBLOCKSHIFT)
275 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro