Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_btxt.c81 size_t io_offset);
460 io_offset = 0; in bhnd_nvram_btxt_init()
484 while (io_offset < io_size) { in bhnd_nvram_btxt_init()
530 io_offset += line_len; in bhnd_nvram_btxt_init()
593 size_t io_offset, io_size; in bhnd_nvram_btxt_next() local
602 io_offset = 0x0; in bhnd_nvram_btxt_next()
617 if (io_offset == io_size) in bhnd_nvram_btxt_next()
627 if (io_offset == io_size) in bhnd_nvram_btxt_next()
688 if (io_offset == io_size) in bhnd_nvram_btxt_getvar_ptr()
734 if (io_offset == io_size) in bhnd_nvram_btxt_getvar_name()
[all …]
H A Dbhnd_nvram_data_tlv.c110 size_t io_offset);
466 size_t io_offset; in bhnd_nvram_tlv_next() local
473 io_offset = 0x0; in bhnd_nvram_tlv_next()
647 size_t io_offset, io_size; in bhnd_nvram_tlv_next_record() local
652 io_offset = *next; in bhnd_nvram_tlv_next_record()
657 *offset = io_offset; in bhnd_nvram_tlv_next_record()
663 io_offset++; in bhnd_nvram_tlv_next_record()
667 *next = io_offset; in bhnd_nvram_tlv_next_record()
682 io_offset++; in bhnd_nvram_tlv_next_record()
693 io_offset += 2; in bhnd_nvram_tlv_next_record()
[all …]
H A Dbhnd_nvram_data_bcm.c565 size_t io_offset, io_size; in bhnd_nvram_bcm_init() local
643 io_offset = sizeof(hdr); in bhnd_nvram_bcm_init()
644 while (io_offset < io_size) { in bhnd_nvram_bcm_init()
657 io_offset, error); in bhnd_nvram_bcm_init()
706 io_offset += envp_len; in bhnd_nvram_bcm_init()
707 if (io_offset == io_size) { in bhnd_nvram_bcm_init()
709 io_offset); in bhnd_nvram_bcm_init()
715 "%#zx\n", *(p + io_offset), io_offset); in bhnd_nvram_bcm_init()
723 if (++io_offset == io_size) { in bhnd_nvram_bcm_init()
743 if (*(p + io_offset) == '\0') in bhnd_nvram_bcm_init()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
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()
257 uint64_t cache_phase __maybe_unused = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read()
270 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read()
334 uint64_t io_start = zio->io_offset; in vdev_cache_write()
H A Dvdev_queue.c244 int cmp = TREE_CMP(z1->io_offset, z2->io_offset); in vdev_queue_offset_compare()
587 #define IO_SPAN(fio, lio) ((lio)->io_offset + (lio)->io_size - (fio)->io_offset)
748 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset, in vdev_queue_aggregate()
755 next_offset = first->io_offset; in vdev_queue_aggregate()
762 if (dio->io_offset != next_offset) { in vdev_queue_aggregate()
765 ASSERT3U(dio->io_offset, >, next_offset); in vdev_queue_aggregate()
767 dio->io_offset - next_offset, B_TRUE); in vdev_queue_aggregate()
794 next_offset = dio->io_offset + dio->io_size; in vdev_queue_aggregate()
834 vq->vq_io_search.io_offset = vq->vq_last_offset - 1; in vdev_queue_io_to_issue()
863 vq->vq_last_offset = zio->io_offset + zio->io_size; in vdev_queue_io_to_issue()
H A Dvdev_draid.c971 if (io_offset + io_asize > start_offset) { in vdev_draid_map_alloc_row()
973 start_offset - io_offset); in vdev_draid_map_alloc_row()
990 io_offset, &perm, &groupstart); in vdev_draid_map_alloc_row()
1036 rr->rr_offset = io_offset; in vdev_draid_map_alloc_row()
1121 uint64_t io_offset = zio->io_offset; in vdev_draid_map_alloc() local
1130 io_offset += vdev_draid_asize(vd, size); in vdev_draid_map_alloc()
1141 io_offset, abd_offset, abd_size); in vdev_draid_map_alloc()
2042 ASSERT3U(zio->io_offset, ==, vdev_draid_get_astart(vd, zio->io_offset)); in vdev_draid_io_start()
2610 if (VDEV_OFFSET_IS_LABEL(vd, zio->io_offset)) { in vdev_draid_spare_io_start()
2640 if (VDEV_OFFSET_IS_LABEL(vd, zio->io_offset)) { in vdev_draid_spare_io_start()
[all …]
H A Dzio_inject.c237 if (zio->io_vd == vd && zio->io_offset == off) in zio_match_dva()
307 uint64_t offset = zio->io_offset; in zio_handle_label_injection()
371 uint64_t offset = zio->io_offset; in zio_handle_device_injection_impl()
H A Dzio_checksum.c343 uint64_t offset = zio->io_offset; in zio_checksum_compute()
536 uint64_t offset = zio->io_offset; in zio_checksum_error()
H A Dvdev_mirror.c374 mc->mc_offset = zio->io_offset; in vdev_mirror_map_init()
509 p = (zio->io_offset >> vdev_mirror_shift) % mm->mm_preferred_cnt; in vdev_mirror_preferred_child_randomize()
H A Dvdev_raidz_math.c475 bench_zio->io_offset = 0; in benchmark_raidz()
H A Dzfs_fm.c327 search.re_io_offset = zio->io_offset; in zfs_ereport_is_duplicate()
637 DATA_TYPE_UINT64, zio->io_offset, in zfs_ereport_start()
/freebsd-13.1/tools/tools/usbtest/
H A Dusb_msc_test.c348 uint32_t io_offset; in do_io_test() local
366 switch (p->io_offset) { in do_io_test()
368 io_offset = usb_ts_rand_noise(); in do_io_test()
371 io_offset = 0; in do_io_test()
440 io_offset %= lba_max; in do_io_test()
442 temp = (lba_max - io_offset); in do_io_test()
449 buffer + (io_offset * block_size), lun); in do_io_test()
453 reference + (io_offset * block_size), in do_io_test()
1175 switch (p->io_offset) { in get_io_offset()
1272 params.io_offset++; in show_host_msc_test()
[all …]
H A Dusb_msc_test.h103 uint8_t io_offset; member
/freebsd-13.1/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_bench.c49 zio_bench.io_offset = 0; in bench_init_raidz_map()
88 zio_bench.io_size, zio_bench.io_offset, in run_gen_bench_impl()
176 zio_bench.io_size, zio_bench.io_offset, in run_rec_bench_impl()
H A Draidz_test.c314 opts->zio_golden->io_offset = zio_test->io_offset = opts->rto_offset; in init_raidz_golden_map()
328 opts->zio_golden->io_size, opts->zio_golden->io_offset, in init_raidz_golden_map()
332 zio_test->io_size, zio_test->io_offset, in init_raidz_golden_map()
555 (*zio)->io_offset = 0; in init_raidz_map()
562 (*zio)->io_size, (*zio)->io_offset, in init_raidz_map()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c168 (u_longlong_t)zio->io_offset, (u_longlong_t)zio->io_size, in vdev_disk_error()
568 size_t io_size, uint64_t io_offset, int rw, int flags) in __vdev_disk_physio() argument
581 if (io_offset + io_size > bdev->bd_inode->i_size) { in __vdev_disk_physio()
584 io_offset, io_size, i_size_read(bdev->bd_inode)); in __vdev_disk_physio()
608 bio_offset = io_offset; in __vdev_disk_physio()
805 zio->io_offset >> 9, zio->io_size >> 9, GFP_NOFS, in vdev_disk_io_start()
821 zio->io_size, zio->io_offset, rw, 0); in vdev_disk_io_start()
H A Dvdev_file.c208 off = zio->io_offset; in vdev_file_io_strategy()
290 mode, zio->io_offset, zio->io_size); in vdev_file_io_start()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c221 off = zio->io_offset; in vdev_file_io_strategy()
277 mode, zio->io_offset, zio->io_size); in vdev_file_io_start()
H A Dvdev_geom.c1207 bp->bio_offset = zio->io_offset; in vdev_geom_io_start()
1242 bp->bio_offset = zio->io_offset; in vdev_geom_io_start()
/freebsd-13.1/sys/dev/sound/isa/
H A Dgusc.c474 static int io_offset[3] = {0x0 , 0x100, 0x10c}; variable
507 base + io_offset[i], in alloc_resource()
508 base + io_offset[i] + io_range[i] - 1 in alloc_resource()
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_common.h68 __entry->zio_offset = zio->io_offset; \
/freebsd-13.1/sys/cam/ctl/
H A Dctl_backend_block.c219 uint64_t io_offset; member
660 xuio.uio_offset = beio->io_offset; in ctl_be_block_dispatch_file()
885 xuio.uio_offset = beio->io_offset; in ctl_be_block_dispatch_zvol()
1110 if (beio->io_offset == -1) { in ctl_be_block_unmap_dev()
1125 beio->io_offset, beio->io_len, TRUE); in ctl_be_block_unmap_dev()
1153 cur_offset = beio->io_offset; in ctl_be_block_dispatch_dev()
1241 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_sync()
1298 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_ws()
1356 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_ws()
1394 beio->io_offset = -1; in ctl_be_block_cw_dispatch_unmap()
[all …]
/freebsd-13.1/sys/dev/bhnd/bhndb/
H A Dbhndb.c1794 bus_size_t io_offset; \
1802 offset, _io_size, &io_offset, &stolen, &restore); \
1826 v = bus_read_ ## _name (io_res, io_offset); \
1839 bus_write_ ## _name (io_res, io_offset, value); \
1851 bus_ ## _op ## _ ## _size (io_res, io_offset, \
1891 bus_barrier(io_res, io_offset + offset, length, flags); in bhndb_bus_barrier()
/freebsd-13.1/usr.sbin/camdd/
H A Dcamdd.c2403 off_t io_offset; local
2443 io_offset = buf->lba * dev->sector_size;
2489 buf->len, io_offset);
2493 db_len, io_offset);
2496 data->fill_len, io_offset);
2499 data->sg_count, io_offset);
2553 (uintmax_t)io_offset);
2558 (uintmax_t)io_offset);
2565 (uintmax_t)io_offset);
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dzio.h483 uint64_t io_offset; member

12