| /freebsd-12.1/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_data_btxt.c | 81 size_t io_offset); 462 io_offset = 0; in bhnd_nvram_btxt_init() 486 while (io_offset < io_size) { in bhnd_nvram_btxt_init() 532 io_offset += line_len; in bhnd_nvram_btxt_init() 595 size_t io_offset, io_size; in bhnd_nvram_btxt_next() local 604 io_offset = 0x0; in bhnd_nvram_btxt_next() 619 if (io_offset == io_size) in bhnd_nvram_btxt_next() 629 if (io_offset == io_size) in bhnd_nvram_btxt_next() 690 if (io_offset == io_size) in bhnd_nvram_btxt_getvar_ptr() 736 if (io_offset == io_size) in bhnd_nvram_btxt_getvar_name() [all …]
|
| H A D | bhnd_nvram_data_tlv.c | 111 size_t io_offset); 468 size_t io_offset; in bhnd_nvram_tlv_next() local 475 io_offset = 0x0; in bhnd_nvram_tlv_next() 649 size_t io_offset, io_size; in bhnd_nvram_tlv_next_record() local 654 io_offset = *next; in bhnd_nvram_tlv_next_record() 659 *offset = io_offset; in bhnd_nvram_tlv_next_record() 665 io_offset++; in bhnd_nvram_tlv_next_record() 669 *next = io_offset; in bhnd_nvram_tlv_next_record() 684 io_offset++; in bhnd_nvram_tlv_next_record() 695 io_offset += 2; in bhnd_nvram_tlv_next_record() [all …]
|
| H A D | bhnd_nvram_data_bcm.c | 565 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-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | vdev_queue.c | 328 int cmp = AVL_CMP(z1->io_offset, z2->io_offset); in vdev_queue_offset_compare() 364 if (z1->io_offset < z2->io_offset) in vdev_queue_timestamp_compare() 366 if (z1->io_offset > z2->io_offset) in vdev_queue_timestamp_compare() 528 0, pio->io_offset - aio->io_offset, pio->io_size); in vdev_queue_agg_io_done() 670 #define IO_SPAN(fio, lio) ((lio)->io_offset + (lio)->io_size - (fio)->io_offset) 808 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset, in vdev_queue_aggregate() 835 dio->io_offset - aio->io_offset, dio->io_size); in vdev_queue_aggregate() 838 dio->io_offset - aio->io_offset, 0, dio->io_size); in vdev_queue_aggregate() 876 search.io_offset = vq->vq_last_offset + 1; in vdev_queue_io_to_issue() 904 vq->vq_last_offset = zio->io_offset; in vdev_queue_io_to_issue() [all …]
|
| H A D | trim_map.c | 127 if (z1->io_offset < z2->io_offset) { in trim_map_zio_compare() 128 if (z1->io_offset + z1->io_size > z2->io_offset) in trim_map_zio_compare() 132 if (z1->io_offset > z2->io_offset) { in trim_map_zio_compare() 133 if (z1->io_offset < z2->io_offset + z2->io_size) in trim_map_zio_compare() 307 zsearch.io_offset = start; in trim_map_free_locked() 315 if (start < zs->io_offset) in trim_map_free_locked() 316 trim_map_free_locked(tm, start, zs->io_offset, txg); in trim_map_free_locked() 317 if (zs->io_offset + zs->io_size < end) in trim_map_free_locked() 318 trim_map_free_locked(tm, zs->io_offset + zs->io_size, end, txg); in trim_map_free_locked() 346 start = zio->io_offset; in trim_map_write_start()
|
| H A D | vdev_cache.c | 172 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate() 207 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_hit() 241 ASSERT3U(ve->ve_offset, ==, fio->io_offset); in vdev_cache_fill() 269 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read() 270 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read() 284 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read() 346 uint64_t io_start = zio->io_offset; in vdev_cache_write()
|
| H A D | zio_checksum.c | 302 uint64_t offset = zio->io_offset; in zio_checksum_compute() 441 uint64_t offset = zio->io_offset; in zio_checksum_error()
|
| H A D | zio_inject.c | 218 uint64_t offset = zio->io_offset; in zio_handle_label_injection() 267 uint64_t offset = zio->io_offset; in zio_handle_device_injection()
|
| H A D | vdev_mirror.c | 284 mc->mc_offset = zio->io_offset; in vdev_mirror_map_init() 417 p = (zio->io_offset >> vdev_mirror_shift) % mm->mm_preferred_cnt; in vdev_mirror_preferred_child_randomize()
|
| H A D | vdev_file.c | 212 zio->io_offset, UIO_SYSSPACE, 0, RLIM64_INFINITY, kcred, &resid); in vdev_file_io_strategy()
|
| H A D | vdev_geom.c | 1110 bp->bio_offset = zio->io_offset; in vdev_geom_io_start() 1125 bp->bio_offset = zio->io_offset; in vdev_geom_io_start()
|
| H A D | vdev_initialize.c | 170 *off = MIN(*off, zio->io_offset); in vdev_initialize_cb()
|
| H A D | zfs_fm.c | 317 DATA_TYPE_UINT64, zio->io_offset, in zfs_ereport_start()
|
| H A D | zio.c | 697 zio->io_offset = offset; in zio_create() 3203 trim_map_free(vd, zio->io_offset, zio->io_size, zio->io_txg); in zio_vdev_io_start() 3265 ASSERT0(P2PHASE(zio->io_offset, align)); in zio_vdev_io_start() 3274 ASSERT0(P2PHASE(zio->io_offset, log_align)); in zio_vdev_io_start() 3646 zio->io_vd, zio, zio->io_offset, in zio_checksum_verify()
|
| H A D | vdev_disk.c | 838 bp->b_lblkno = lbtodb(zio->io_offset); in vdev_disk_io_start()
|
| /freebsd-12.1/tools/tools/usbtest/ |
| H A D | usb_msc_test.c | 348 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() 1173 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 | 103 uint8_t io_offset; member
|
| /freebsd-12.1/sys/dev/sound/isa/ |
| H A D | gusc.c | 475 static int io_offset[3] = {0x0 , 0x100, 0x10c}; variable 508 base + io_offset[i], in alloc_resource() 509 base + io_offset[i] + io_range[i] - 1 in alloc_resource()
|
| /freebsd-12.1/sys/dev/dpt/ |
| H A D | dpt_pci.c | 104 dpt->io_offset = 0x10; in dpt_pci_attach()
|
| H A D | dpt_scsi.c | 89 bus_read_4((dpt)->io_res, (dpt)->io_offset + port) 91 bus_read_1((dpt)->io_res, (dpt)->io_offset + port) 93 bus_write_4((dpt)->io_res, (dpt)->io_offset + port, value) 95 bus_write_1((dpt)->io_res, (dpt)->io_offset + port, value)
|
| H A D | dpt.h | 1011 int io_offset; member
|
| /freebsd-12.1/sys/cam/ctl/ |
| H A D | ctl_backend_block.c | 215 uint64_t io_offset; member 653 xuio.uio_offset = beio->io_offset; in ctl_be_block_dispatch_file() 884 xuio.uio_offset = beio->io_offset; in ctl_be_block_dispatch_zvol() 1114 if (beio->io_offset == -1) { in ctl_be_block_unmap_dev() 1129 beio->io_offset, beio->io_len, TRUE); in ctl_be_block_unmap_dev() 1158 cur_offset = beio->io_offset; in ctl_be_block_dispatch_dev() 1248 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_sync() 1304 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_ws() 1364 beio->io_offset = lbalen->lba * cbe_lun->blocksize; in ctl_be_block_cw_dispatch_ws() 1402 beio->io_offset = -1; in ctl_be_block_cw_dispatch_unmap() [all …]
|
| /freebsd-12.1/sys/dev/bhnd/bhndb/ |
| H A D | bhndb.c | 1797 bus_size_t io_offset; \ 1805 offset, _io_size, &io_offset, &stolen, &restore); \ 1829 v = bus_read_ ## _name (io_res, io_offset); \ 1842 bus_write_ ## _name (io_res, io_offset, value); \ 1854 bus_ ## _op ## _ ## _size (io_res, io_offset, \ 1894 bus_barrier(io_res, io_offset + offset, length, flags); in bhndb_bus_barrier()
|
| /freebsd-12.1/usr.sbin/camdd/ |
| H A D | camdd.c | 2280 off_t io_offset; local 2320 io_offset = buf->lba * dev->sector_size; 2366 buf->len, io_offset); 2370 db_len, io_offset); 2373 data->fill_len, io_offset); 2376 data->sg_count, io_offset); 2430 (uintmax_t)io_offset); 2435 (uintmax_t)io_offset); 2442 (uintmax_t)io_offset);
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| H A D | zio.h | 458 uint64_t io_offset; member
|