Home
last modified time | relevance | path

Searched refs:VDEV_LABEL_START_SIZE (Results 1 – 13 of 13) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzio_inject.c235 off += VDEV_LABEL_START_SIZE; in zio_match_dva()
311 if (offset >= VDEV_LABEL_START_SIZE && in zio_handle_label_injection()
373 if (offset < VDEV_LABEL_START_SIZE || in zio_handle_device_injection_impl()
H A Dvdev_initialize.c313 VDEV_LABEL_START_SIZE + rs_get_start(rs, rt) + in vdev_initialize_ranges()
H A Dvdev_draid.c2639 *psize = asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2640 *max_psize = max_asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2745 uint64_t offset = zio->io_offset - VDEV_LABEL_START_SIZE; in vdev_draid_spare_io_start()
H A Dvdev_mirror.c199 zio_offset += VDEV_LABEL_START_SIZE; in vdev_mirror_load()
H A Dvdev.c1896 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open()
1897 max_asize = max_osize - (VDEV_LABEL_START_SIZE + in vdev_open()
1901 (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE)) { in vdev_open()
4206 vs->vs_rsize += VDEV_LABEL_START_SIZE + in vdev_get_stats_ex()
H A Darc.c6355 ASSERT(addr >= VDEV_LABEL_START_SIZE && in arc_read()
8753 dev->l2ad_evict - VDEV_LABEL_START_SIZE, in l2arc_evict()
9483 adddev->l2ad_start = VDEV_LABEL_START_SIZE + l2dhdr_asize; in l2arc_add_vdev()
9484 adddev->l2ad_end = VDEV_LABEL_START_SIZE + vdev_get_min_asize(vd); in l2arc_add_vdev()
10010 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, in l2arc_dev_hdr_read()
10381 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, ZIO_CHECKSUM_LABEL, NULL, in l2arc_dev_hdr_update()
H A Dvdev_indirect.c956 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_indirect_open()
H A Dvdev_trim.c596 error = vdev_trim_range(ta, VDEV_LABEL_START_SIZE + in vdev_trim_ranges()
H A Dzio.c1366 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_read_phys()
1387 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_write_phys()
1447 offset += VDEV_LABEL_START_SIZE; in zio_vdev_child_io()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dvdev_impl.h545 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
550 (((off) < VDEV_LABEL_START_SIZE) || \
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c225 VDEV_LABEL_START_SIZE) == sizeof (l2arc_dev_hdr_phys_t)) { in zpool_clear_label()
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c6114 if ((leaf & 1) == 0 && offset < VDEV_LABEL_START_SIZE) in ztest_fault_inject()
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c4356 VDEV_LABEL_START_SIZE) != sizeof (l2dhdr)) { in dump_l2arc_header()