Home
last modified time | relevance | path

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

/src/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_label_os.c106 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abd, size, ZIO_TYPE_READ, in vdev_check_boot_reserve()
/src/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h562 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
567 (((off) < VDEV_LABEL_START_SIZE) || \
/src/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.c2511 *psize = asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2512 *max_psize = max_asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_draid_spare_open()
2614 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.c2275 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open()
2276 max_asize = max_osize - (VDEV_LABEL_START_SIZE + in vdev_open()
2280 (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE)) { in vdev_open()
4945 vs->vs_rsize += VDEV_LABEL_START_SIZE + in vdev_get_stats_ex()
H A Darc.c6373 ASSERT(addr >= VDEV_LABEL_START_SIZE && in arc_read()
9304 dev->l2ad_evict - VDEV_LABEL_START_SIZE, in l2arc_evict()
10330 adddev->l2ad_start = VDEV_LABEL_START_SIZE + l2dhdr_asize; in l2arc_add_vdev()
10331 adddev->l2ad_end = VDEV_LABEL_START_SIZE + vdev_get_min_asize(vd); in l2arc_add_vdev()
10940 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, in l2arc_dev_hdr_read()
11317 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, ZIO_CHECKSUM_LABEL, NULL, in l2arc_dev_hdr_update()
H A Dvdev_raidz.c4539 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in raidz_reflow_scratch_sync()
4614 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in raidz_reflow_scratch_sync()
4772 VDEV_BOOT_OFFSET - VDEV_LABEL_START_SIZE, abds[i], in vdev_raidz_reflow_copy_scratch()
H A Dvdev_indirect.c955 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_indirect_open()
H A Dvdev_trim.c620 error = vdev_trim_range(ta, VDEV_LABEL_START_SIZE + in vdev_trim_ranges()
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()
/src/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c211 VDEV_LABEL_START_SIZE) == sizeof (l2arc_dev_hdr_phys_t)) in zpool_clear_label()
/src/usr.sbin/makefs/zfs/
H A Dvdev.c102 off += VDEV_LABEL_START_SIZE; in vdev_pwrite()
/src/usr.sbin/makefs/
H A Dzfs.c52 ((off_t)(VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE))
/src/stand/libsa/zfs/
H A Dzfsimpl.c787 offset + VDEV_LABEL_START_SIZE, bytes)); in vdev_disk_read()
1003 VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_init()
1962 asize += VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; in vdev_get_label_asize()
/src/sys/cddl/boot/zfs/
H A Dzfsimpl.h583 #define VDEV_LABEL_START_SIZE (2 * sizeof (vdev_label_t) + VDEV_BOOT_SIZE) macro
/src/sys/contrib/openzfs/cmd/
H A Dztest.c6671 if ((leaf & 1) == 0 && offset < VDEV_LABEL_START_SIZE) in ztest_fault_inject()
/src/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c5044 VDEV_LABEL_START_SIZE) != sizeof (l2dhdr)) { in dump_l2arc_header()