| /freebsd-14.2/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_data_btxt.c | 79 size_t io_offset); 458 io_offset = 0; in bhnd_nvram_btxt_init() 482 while (io_offset < io_size) { in bhnd_nvram_btxt_init() 528 io_offset += line_len; in bhnd_nvram_btxt_init() 591 size_t io_offset, io_size; in bhnd_nvram_btxt_next() local 600 io_offset = 0x0; in bhnd_nvram_btxt_next() 615 if (io_offset == io_size) in bhnd_nvram_btxt_next() 625 if (io_offset == io_size) in bhnd_nvram_btxt_next() 686 if (io_offset == io_size) in bhnd_nvram_btxt_getvar_ptr() 732 if (io_offset == io_size) in bhnd_nvram_btxt_getvar_name() [all …]
|
| H A D | bhnd_nvram_data_tlv.c | 108 size_t io_offset); 464 size_t io_offset; in bhnd_nvram_tlv_next() local 471 io_offset = 0x0; in bhnd_nvram_tlv_next() 645 size_t io_offset, io_size; in bhnd_nvram_tlv_next_record() local 650 io_offset = *next; in bhnd_nvram_tlv_next_record() 655 *offset = io_offset; in bhnd_nvram_tlv_next_record() 661 io_offset++; in bhnd_nvram_tlv_next_record() 665 *next = io_offset; in bhnd_nvram_tlv_next_record() 680 io_offset++; in bhnd_nvram_tlv_next_record() 691 io_offset += 2; in bhnd_nvram_tlv_next_record() [all …]
|
| H A D | bhnd_nvram_data_bcm.c | 563 size_t io_offset, io_size; in bhnd_nvram_bcm_init() local 641 io_offset = sizeof(hdr); in bhnd_nvram_bcm_init() 642 while (io_offset < io_size) { in bhnd_nvram_bcm_init() 655 io_offset, error); in bhnd_nvram_bcm_init() 704 io_offset += envp_len; in bhnd_nvram_bcm_init() 705 if (io_offset == io_size) { in bhnd_nvram_bcm_init() 707 io_offset); in bhnd_nvram_bcm_init() 713 "%#zx\n", *(p + io_offset), io_offset); in bhnd_nvram_bcm_init() 721 if (++io_offset == io_size) { in bhnd_nvram_bcm_init() 741 if (*(p + io_offset) == '\0') in bhnd_nvram_bcm_init() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_queue.c | 237 int cmp = TREE_CMP(z1->io_offset, z2->io_offset); in vdev_queue_offset_compare() 255 int ocmp = TREE_CMP(z1->io_offset, z2->io_offset); in vdev_queue_to_compare() 608 #define IO_SPAN(fio, lio) ((lio)->io_offset + (lio)->io_size - (fio)->io_offset) 781 next_offset = first->io_offset; in vdev_queue_aggregate() 789 if (dio->io_offset != next_offset) { in vdev_queue_aggregate() 792 ASSERT3U(dio->io_offset, >, next_offset); in vdev_queue_aggregate() 794 dio->io_offset - next_offset, B_TRUE); in vdev_queue_aggregate() 821 next_offset = dio->io_offset + dio->io_size; in vdev_queue_aggregate() 864 if (zio->io_offset < vq->vq_last_offset) { in vdev_queue_io_to_issue() 866 vq->vq_io_search.io_offset = vq->vq_last_offset; in vdev_queue_io_to_issue() [all …]
|
| H A D | vdev_draid.c | 971 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() 1038 rr->rr_offset = io_offset; in vdev_draid_map_alloc_row() 1123 uint64_t io_offset = zio->io_offset; in vdev_draid_map_alloc() local 1132 io_offset += vdev_draid_asize(vd, size); in vdev_draid_map_alloc() 1143 io_offset, abd_offset, abd_size); in vdev_draid_map_alloc() 2050 ASSERT3U(zio->io_offset, ==, vdev_draid_get_astart(vd, zio->io_offset)); in vdev_draid_io_start() 2618 if (VDEV_OFFSET_IS_LABEL(vd, zio->io_offset)) { in vdev_draid_spare_io_start() 2648 if (VDEV_OFFSET_IS_LABEL(vd, zio->io_offset)) { in vdev_draid_spare_io_start() [all …]
|
| H A D | zio_inject.c | 238 if (zio->io_vd == vd && zio->io_offset == off) in zio_match_dva() 308 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 D | zio_checksum.c | 345 uint64_t offset = zio->io_offset; in zio_checksum_compute() 543 uint64_t offset = zio->io_offset; in zio_checksum_error()
|
| H A D | vdev_mirror.c | 376 mc->mc_offset = zio->io_offset; in vdev_mirror_map_init() 491 p = (zio->io_offset >> vdev_mirror_shift) % mm->mm_preferred_cnt; in vdev_mirror_preferred_child_randomize()
|
| H A D | vdev_raidz_math.c | 473 bench_zio->io_offset = 0; in benchmark_raidz()
|
| H A D | zfs_fm.c | 367 search.re_io_offset = zio->io_offset; in zfs_ereport_is_duplicate() 677 DATA_TYPE_UINT64, zio->io_offset, in zfs_ereport_start()
|
| /freebsd-14.2/tools/tools/usbtest/ |
| H A D | usb_msc_test.c | 347 uint32_t io_offset; in do_io_test() local 365 switch (p->io_offset) { in do_io_test() 367 io_offset = usb_ts_rand_noise(); in do_io_test() 370 io_offset = 0; in do_io_test() 439 io_offset %= lba_max; in do_io_test() 441 temp = (lba_max - io_offset); in do_io_test() 448 buffer + (io_offset * block_size), lun); in do_io_test() 452 reference + (io_offset * block_size), in do_io_test() 1174 switch (p->io_offset) { in get_io_offset() 1271 params.io_offset++; in show_host_msc_test() [all …]
|
| H A D | usb_msc_test.h | 102 uint8_t io_offset; member
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_bench.c | 49 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 D | raidz_test.c | 317 opts->zio_golden->io_offset = zio_test->io_offset = opts->rto_offset; in init_raidz_golden_map() 331 opts->zio_golden->io_size, opts->zio_golden->io_offset, in init_raidz_golden_map() 335 zio_test->io_size, zio_test->io_offset, in init_raidz_golden_map() 558 (*zio)->io_offset = 0; in init_raidz_map() 565 (*zio)->io_size, (*zio)->io_offset, in init_raidz_map()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 238 (u_longlong_t)zio->io_offset, (u_longlong_t)zio->io_size, in vdev_disk_error() 702 vbio->vbio_offset = zio->io_offset; in vbio_alloc() 923 if (zio->io_offset + zio->io_size > bdev_capacity(bdev)) { in vdev_disk_io_rw() 926 (u_longlong_t)zio->io_offset, in vdev_disk_io_rw() 1107 uint64_t io_offset = zio->io_offset; in vdev_classic_physio() local 1123 if (io_offset + io_size > bdev_capacity(bdev)) { in vdev_classic_physio() 1126 (u_longlong_t)io_offset, in vdev_classic_physio() 1155 bio_offset = io_offset; in vdev_classic_physio() 1340 sector_t sector = zio->io_offset >> 9; in vdev_disk_io_trim()
|
| H A D | vdev_file.c | 208 off = zio->io_offset; in vdev_file_io_strategy() 290 mode, zio->io_offset, zio->io_size); in vdev_file_io_start()
|
| H A D | zfs_uio.c | 203 orig_loffset = io_offset(NULL, rq); in zfs_uiomove_bvec_rq()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_file.c | 221 off = zio->io_offset; in vdev_file_io_strategy() 277 mode, zio->io_offset, zio->io_size); in vdev_file_io_start()
|
| H A D | vdev_geom.c | 1209 bp->bio_offset = zio->io_offset; in vdev_geom_io_start() 1244 bp->bio_offset = zio->io_offset; in vdev_geom_io_start()
|
| /freebsd-14.2/sys/cam/ctl/ |
| H A D | ctl_backend_block.c | 221 uint64_t io_offset; member 664 xuio.uio_offset = beio->io_offset; in ctl_be_block_dispatch_file() 882 if (beio->io_offset == -1) { in ctl_be_block_unmap_file() 902 off = beio->io_offset; in ctl_be_block_unmap_file() 967 xuio.uio_offset = beio->io_offset; in ctl_be_block_dispatch_zvol() 1192 if (beio->io_offset == -1) { in ctl_be_block_unmap_dev() 1207 beio->io_offset, beio->io_len, TRUE); in ctl_be_block_unmap_dev() 1235 cur_offset = beio->io_offset; in ctl_be_block_dispatch_dev() 1323 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_sync() 1438 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_ws() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_common.h | 68 __entry->zio_offset = zio->io_offset; \
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | uio.h | 136 uio->uio_loffset = io_offset(bio, rq); in zfs_uio_bvec_init()
|
| /freebsd-14.2/sys/dev/bhnd/bhndb/ |
| H A D | bhndb.c | 1784 bus_size_t io_offset; \ 1792 offset, _io_size, &io_offset, &stolen, &restore); \ 1816 v = bus_read_ ## _name (io_res, io_offset); \ 1829 bus_write_ ## _name (io_res, io_offset, value); \ 1841 bus_ ## _op ## _ ## _size (io_res, io_offset, \ 1881 bus_barrier(io_res, io_offset + offset, length, flags); in bhndb_bus_barrier()
|
| /freebsd-14.2/usr.sbin/camdd/ |
| H A D | camdd.c | 2389 off_t io_offset; local 2429 io_offset = buf->lba * dev->sector_size; 2475 buf->len, io_offset); 2479 db_len, io_offset); 2482 data->fill_len, io_offset); 2485 data->sg_count, io_offset); 2539 (uintmax_t)io_offset); 2544 (uintmax_t)io_offset); 2551 (uintmax_t)io_offset);
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | blkdev_compat.h | 758 io_offset(struct bio *bio, struct request *rq) in io_offset() function
|