Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_label_os.c110 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abd, size, ZIO_TYPE_READ, in vdev_check_boot_reserve()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzio_inject.c254 off += VDEV_LABEL_START_SIZE; in zio_match_dva()
330 if (offset >= VDEV_LABEL_START_SIZE && in zio_handle_label_injection()
420 if (offset < VDEV_LABEL_START_SIZE || in zio_handle_device_injection_impl()
H A Dvdev_draid.c2483 *psize = asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2484 *max_psize = max_asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2586 uint64_t offset = zio->io_offset - VDEV_LABEL_START_SIZE; in vdev_draid_spare_io_start()
H A Dvdev_initialize.c351 VDEV_LABEL_START_SIZE + zfs_rs_get_start(rs, rt) + in vdev_initialize_ranges()
H A Dvdev_mirror.c201 zio_offset += VDEV_LABEL_START_SIZE; in vdev_mirror_load()
H A Dvdev.c2240 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open()
2241 max_asize = max_osize - (VDEV_LABEL_START_SIZE + in vdev_open()
2245 (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE)) { in vdev_open()
4877 vs->vs_rsize += VDEV_LABEL_START_SIZE + in vdev_get_stats_ex()
H A Dvdev_raidz.c4217 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in raidz_reflow_scratch_sync()
4292 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in raidz_reflow_scratch_sync()
4450 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in vdev_raidz_reflow_copy_scratch()
H A Darc.c6336 ASSERT(addr >= VDEV_LABEL_START_SIZE && in arc_read()
9174 dev->l2ad_evict - VDEV_LABEL_START_SIZE, in l2arc_evict()
9980 adddev->l2ad_start = VDEV_LABEL_START_SIZE + l2dhdr_asize; in l2arc_add_vdev()
9981 adddev->l2ad_end = VDEV_LABEL_START_SIZE + vdev_get_min_asize(vd); in l2arc_add_vdev()
10545 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, in l2arc_dev_hdr_read()
10922 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, ZIO_CHECKSUM_LABEL, NULL, in l2arc_dev_hdr_update()
H A Dvdev_trim.c620 error = vdev_trim_range(ta, VDEV_LABEL_START_SIZE + in vdev_trim_ranges()
H A Dvdev_indirect.c955 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_indirect_open()
H A Dzio.c1563 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_read_phys()
1584 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_write_phys()
1665 offset += VDEV_LABEL_START_SIZE; in zio_vdev_child_io()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h553 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
558 (((off) < VDEV_LABEL_START_SIZE) || \
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c211 VDEV_LABEL_START_SIZE) == sizeof (l2arc_dev_hdr_phys_t)) in zpool_clear_label()
/freebsd/usr.sbin/makefs/zfs/
H A Dvdev.c102 off += VDEV_LABEL_START_SIZE; in vdev_pwrite()
/freebsd/usr.sbin/makefs/
H A Dzfs.c52 ((off_t)(VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE))
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c785 offset + VDEV_LABEL_START_SIZE, bytes)); in vdev_disk_read()
1001 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_init()
1960 asize += VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_get_label_asize()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h594 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c6668 if ((leaf & 1) == 0 && offset < VDEV_LABEL_START_SIZE) in ztest_fault_inject()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c4943 VDEV_LABEL_START_SIZE) != sizeof (l2dhdr)) { in dump_l2arc_header()