Home
last modified time | relevance | path

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

/freebsd-src/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_label_os.c104 * Note: zio_vdev_child_io() adds VDEV_LABEL_START_SIZE to the offset in vdev_check_boot_reserve()
109 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abd, size, ZIO_TYPE_READ, in vdev_check_boot_reserve()
/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Dzio_inject.c253 off += VDEV_LABEL_START_SIZE;
329 if (offset >= VDEV_LABEL_START_SIZE && in zio_handle_label_injection()
419 if (offset < VDEV_LABEL_START_SIZE || in zio_handle_device_injection_impl()
H A Dvdev_draid.c2480 *psize = asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2481 *max_psize = max_asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2582 uint64_t offset = zio->io_offset - VDEV_LABEL_START_SIZE; in vdev_draid_spare_io_start()
H A Dvdev_initialize.c349 VDEV_LABEL_START_SIZE + rs_get_start(rs, rt) + in vdev_initialize_ranges()
H A Dvdev_mirror.c200 zio_offset += VDEV_LABEL_START_SIZE; in vdev_mirror_load()
H A Dvdev.c2155 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open()
2156 max_asize = max_osize - (VDEV_LABEL_START_SIZE + in vdev_open()
2160 (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE)) { in vdev_open()
4782 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.c6134 ASSERT(addr >= VDEV_LABEL_START_SIZE && in arc_freed()
8979 dev->l2ad_evict - VDEV_LABEL_START_SIZE, in l2arc_apply_transforms()
9785 adddev->l2ad_start = VDEV_LABEL_START_SIZE + l2dhdr_asize; in l2arc_rebuild()
9786 adddev->l2ad_end = VDEV_LABEL_START_SIZE + vdev_get_min_asize(vd); in l2arc_rebuild()
10350 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, in l2arc_log_blk_fetch_abort()
10727 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, ZIO_CHECKSUM_LABEL, NULL,
H A Dvdev_raidz.c4180 * Note: zio_vdev_child_io() adds VDEV_LABEL_START_SIZE in raidz_reflow_scratch_sync()
4187 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in raidz_reflow_scratch_sync()
4257 * Note: zio_vdev_child_io() adds VDEV_LABEL_START_SIZE to in raidz_reflow_scratch_sync()
4262 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in raidz_reflow_scratch_sync()
4415 * Note: zio_vdev_child_io() adds VDEV_LABEL_START_SIZE to in spa_raidz_expand_thread()
4420 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in spa_raidz_expand_thread()
H A Dzio.c1499 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_write_phys()
1520 ASSERT(!labels || offset + size <= VDEV_LABEL_START_SIZE || in zio_write_phys()
1601 offset += VDEV_LABEL_START_SIZE;
H A Dvdev_trim.c619 error = vdev_trim_range(ta, VDEV_LABEL_START_SIZE + in vdev_trim_ranges()
/freebsd-src/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h554 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE)
559 (((off) < VDEV_LABEL_START_SIZE) || \
549 #define VDEV_LABEL_START_SIZE global() macro
/freebsd-src/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c210 VDEV_LABEL_START_SIZE) == sizeof (l2arc_dev_hdr_phys_t)) in zpool_clear_label()
/freebsd-src/usr.sbin/makefs/zfs/
H A Dvdev.c101 off += VDEV_LABEL_START_SIZE; in vdev_pwrite()
/freebsd-src/usr.sbin/makefs/
H A Dzfs.c51 ((off_t)(VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE))
/freebsd-src/stand/libsa/zfs/
H A Dzfsimpl.c791 offset + VDEV_LABEL_START_SIZE, bytes)); in vdev_disk_read()
992 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_init()
1909 asize += VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_get_label_asize()
/freebsd-src/sys/cddl/boot/zfs/
H A Dzfsimpl.h588 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
/freebsd-src/sys/contrib/openzfs/cmd/
H A Dztest.c6666 if ((leaf & 1) == 0 && offset < VDEV_LABEL_START_SIZE) in ztest_fault_inject()
/freebsd-src/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c4895 VDEV_LABEL_START_SIZE) != sizeof (l2dhdr)) { in dump_path()