Home
last modified time | relevance | path

Searched refs:io_offset (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c217 int cmp = TREE_CMP(z1->io_offset, z2->io_offset); in vdev_queue_offset_compare()
399 0, pio->io_offset - aio->io_offset, pio->io_size); in vdev_queue_agg_io_done()
537 #define IO_SPAN(fio, lio) ((lio)->io_offset + (lio)->io_size - (fio)->io_offset)
667 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset, in vdev_queue_aggregate()
682 dio->io_offset - aio->io_offset, dio->io_size); in vdev_queue_aggregate()
685 dio->io_offset - aio->io_offset, 0, dio->io_size); in vdev_queue_aggregate()
733 search.io_offset = vq->vq_last_offset - 1; in vdev_queue_io_to_issue()
761 vq->vq_last_offset = zio->io_offset + zio->io_size; in vdev_queue_io_to_issue()
H A Dvdev_cache.c158 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate()
193 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_hit()
227 ASSERT3U(ve->ve_offset, ==, fio->io_offset); in vdev_cache_fill()
255 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read()
256 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read()
270 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read()
332 uint64_t io_start = zio->io_offset; in vdev_cache_write()
H A Dvdev_file.c248 flck.l_start = zio->io_offset; in vdev_file_io_start()
279 bp->b_lblkno = lbtodb(zio->io_offset); in vdev_file_io_start()
H A Dzio_inject.c207 if (zio->io_vd == vd && zio->io_offset == off) in zio_match_dva()
303 uint64_t offset = zio->io_offset; in zio_handle_label_injection()
352 uint64_t offset = zio->io_offset; in zio_handle_device_injection()
H A Dzio_checksum.c339 uint64_t offset = zio->io_offset; in zio_checksum_compute()
538 uint64_t offset = zio->io_offset; in zio_checksum_error()
H A Dvdev_mirror.c347 mc->mc_offset = zio->io_offset; in vdev_mirror_map_init()
479 p = (zio->io_offset >> vdev_mirror_shift) % mm->mm_preferred_cnt; in vdev_mirror_preferred_child_randomize()
H A Dvdev_raidz_math.c399 bench_zio->io_offset = 0; in benchmark_raidz()
H A Dvdev_disk.c986 dfl.dfl_exts[0].dfle_start = zio->io_offset; in vdev_disk_io_start()
1027 bp->b_lblkno = lbtodb(zio->io_offset); in vdev_disk_io_start()
H A Dvdev_raidz.c343 uint64_t b = zio->io_offset >> ashift; in vdev_raidz_map_alloc()
471 if (rm->rm_firstdatacol == 1 && (zio->io_offset & (1ULL << 20))) { in vdev_raidz_map_alloc()
1714 zio->io_offset = origoffset; in vdev_raidz_dumpio()
1804 logical_rs.rs_start = zio->io_offset; in vdev_raidz_io_verify()
H A Dvdev_initialize.c164 *off = MIN(*off, zio->io_offset); in vdev_initialize_cb()
H A Dzfs_fm.c252 DATA_TYPE_UINT64, zio->io_offset, in zfs_ereport_start()
H A Dzio.c752 zio->io_offset = offset; in zio_create()
3478 ASSERT0(P2PHASE(zio->io_offset, align)); in zio_vdev_io_start()
3485 ASSERT0(P2PHASE(zio->io_offset, SPA_MINBLOCKSIZE)); in zio_vdev_io_start()
3982 zio->io_offset, zio->io_size, NULL, &info); in zio_checksum_verify()
H A Dvdev_trim.c372 *offset = MIN(*offset, zio->io_offset); in vdev_trim_cb()
H A Dvdev_indirect.c1299 vdev_indirect_remap(zio->io_vd, zio->io_offset, zio->io_size, in vdev_indirect_io_start()
H A Dvdev.c1352 zio->io_offset, zio->io_size, zio->io_abd, in vdev_probe_done()
H A Darc.c1354 zio->io_offset, NULL) == 0); in arc_cksum_is_equal()
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_test.c273 opts->zio_golden->io_offset = zio_test->io_offset = opts->rto_offset; in init_raidz_golden_map()
321 (*zio)->io_offset = 0; in init_raidz_map()
H A Draidz_bench.c52 zio_bench.io_offset = 0; in bench_init_raidz_map()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c273 static off_t io_offset = 0; /* offset sector (-o offset) */ variable
779 io_offset = (off_t)strtoull(optarg, 0, 0); in main()
1631 *off_ptr = io_offset; in fill_patt()
1634 if (lseek(Dev, (off_t)(sectsiz * io_offset++), in fill_patt()
1659 if (lseek(Dev, (off_t)(sectsiz * io_offset++), in abs_read()
1725 if (lseek(Dev, (off_t)(sectsiz * io_offset++), in abs_write()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzio.h464 uint64_t io_offset; member
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h1842 uint64_t io_offset; member
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c710 zio.io_offset = offset; in vdev_indirect_read()