Home
last modified time | relevance | path

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

/freebsd-13.1/sys/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_draid.c2486 *psize = asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2487 *max_psize = max_asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2592 uint64_t offset = zio->io_offset - VDEV_LABEL_START_SIZE; in vdev_draid_spare_io_start()
H A Dvdev_initialize.c314 VDEV_LABEL_START_SIZE + rs_get_start(rs, rt) + in vdev_initialize_ranges()
H A Dvdev_mirror.c198 zio_offset += VDEV_LABEL_START_SIZE; in vdev_mirror_load()
H A Dvdev.c2002 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open()
2003 max_asize = max_osize - (VDEV_LABEL_START_SIZE + in vdev_open()
2007 (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE)) { in vdev_open()
4410 vs->vs_rsize += VDEV_LABEL_START_SIZE + in vdev_get_stats_ex()
H A Dvdev_indirect.c954 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_indirect_open()
H A Darc.c6376 ASSERT(addr >= VDEV_LABEL_START_SIZE && in arc_read()
9111 dev->l2ad_evict - VDEV_LABEL_START_SIZE, in l2arc_evict()
9915 adddev->l2ad_start = VDEV_LABEL_START_SIZE + l2dhdr_asize; in l2arc_add_vdev()
9916 adddev->l2ad_end = VDEV_LABEL_START_SIZE + vdev_get_min_asize(vd); in l2arc_add_vdev()
10393 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, in l2arc_dev_hdr_read()
10768 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, ZIO_CHECKSUM_LABEL, NULL, in l2arc_dev_hdr_update()
H A Dzio.c1361 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_read_phys()
1382 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_write_phys()
1442 offset += VDEV_LABEL_START_SIZE; in zio_vdev_child_io()
H A Dvdev_trim.c596 error = vdev_trim_range(ta, VDEV_LABEL_START_SIZE + in vdev_trim_ranges()
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h550 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
555 (((off) < VDEV_LABEL_START_SIZE) || \
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c225 VDEV_LABEL_START_SIZE) == sizeof (l2arc_dev_hdr_phys_t)) { in zpool_clear_label()
/freebsd-13.1/stand/libsa/zfs/
H A Dzfsimpl.c797 offset + VDEV_LABEL_START_SIZE, bytes)); in vdev_disk_read()
998 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_init()
1928 asize += VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_get_label_asize()
/freebsd-13.1/sys/cddl/boot/zfs/
H A Dzfsimpl.h572 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
/freebsd-13.1/sys/contrib/openzfs/cmd/ztest/
H A Dztest.c6245 if ((leaf & 1) == 0 && offset < VDEV_LABEL_START_SIZE) in ztest_fault_inject()
/freebsd-13.1/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c4388 VDEV_LABEL_START_SIZE) != sizeof (l2dhdr)) { in dump_l2arc_header()