Searched refs:io_offset (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/tools/tools/usbtest/
H A Dusb_msc_test.h103 uint8_t io_offset; member in struct:usb_msc_params
H A Dusb_msc_test.c348 uint32_t io_offset; local
366 switch (p->io_offset) {
368 io_offset = usb_ts_rand_noise();
371 io_offset = 0;
440 io_offset %= lba_max;
442 temp = (lba_max - io_offset);
448 retval = do_read_10(io_offset, io_size * block_size,
449 buffer + (io_offset * block_size), lun);
452 if (bcmp(buffer + (io_offset * block_size),
453 reference + (io_offset * block_siz
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dtrim_map.c127 if (z1->io_offset < z2->io_offset) {
128 if (z1->io_offset + z1->io_size > z2->io_offset)
132 if (z1->io_offset > z2->io_offset) {
133 if (z1->io_offset < z2->io_offset + z2->io_size)
307 zsearch.io_offset = start;
315 if (start < zs->io_offset)
[all...]
H A Dvdev_cache.c172 uint64_t offset = P2ALIGN(zio->io_offset, VCBS);
207 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS);
241 ASSERT3U(ve->ve_offset, ==, fio->io_offset);
269 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS);
270 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS);
284 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS))
346 uint64_t io_start = zio->io_offset;
H A Dvdev_queue.c328 int cmp = AVL_CMP(z1->io_offset, z2->io_offset);
364 if (z1->io_offset < z2->io_offset)
366 if (z1->io_offset > z2->io_offset)
528 0, pio->io_offset - aio->io_offset, pio->io_size);
666 * (lio->io_offset + lio->io_size) minus start of the first (fio->io_offset)
[all...]
H A Dzio_inject.c218 uint64_t offset = zio->io_offset;
267 uint64_t offset = zio->io_offset;
H A Dzio_checksum.c302 uint64_t offset = zio->io_offset;
441 uint64_t offset = zio->io_offset;
H A Dvdev_file.c212 zio->io_offset, UIO_SYSSPACE, 0, RLIM64_INFINITY, kcred, &resid);
H A Dvdev_mirror.c284 mc->mc_offset = zio->io_offset;
417 p = (zio->io_offset >> vdev_mirror_shift) % mm->mm_preferred_cnt;
H A Dvdev_geom.c1080 bp->bio_offset = zio->io_offset;
1095 bp->bio_offset = zio->io_offset;
H A Dzfs_fm.c317 DATA_TYPE_UINT64, zio->io_offset,
H A Dzio.c697 zio->io_offset = offset;
3194 trim_map_free(vd, zio->io_offset, zio->io_size, zio->io_txg);
3256 ASSERT0(P2PHASE(zio->io_offset, align));
3265 ASSERT0(P2PHASE(zio->io_offset, log_align));
3637 zio->io_vd, zio, zio->io_offset,
H A Dvdev_disk.c793 bp->b_lblkno = lbtodb(zio->io_offset);
H A Dvdev_initialize.c170 *off = MIN(*off, zio->io_offset);
H A Dvdev_raidz.c1911 logical_rs.rs_start = zio->io_offset;
1963 rm = vdev_raidz_map_alloc(zio->io_abd, zio->io_size, zio->io_offset,
H A Dvdev_indirect.c1284 vdev_indirect_remap(zio->io_vd, zio->io_offset, zio->io_size,
H A Dvdev.c1312 zio->io_offset, zio->io_size, zio->io_abd,
/freebsd-11-stable/sys/dev/dpt/
H A Ddpt_pci.c102 dpt->io_offset = 0x10;
H A Ddpt_scsi.c88 bus_read_4((dpt)->io_res, (dpt)->io_offset + port)
90 bus_read_1((dpt)->io_res, (dpt)->io_offset + port)
92 bus_write_4((dpt)->io_res, (dpt)->io_offset + port, value)
94 bus_write_1((dpt)->io_res, (dpt)->io_offset + port, value)
H A Ddpt.h1026 int io_offset; member in struct:dpt_softc
/freebsd-11-stable/sys/dev/sound/isa/
H A Dgusc.c473 static int io_offset[3] = {0x0 , 0x100, 0x10c}; variable
506 base + io_offset[i],
507 base + io_offset[i] + io_range[i] - 1
/freebsd-11-stable/sys/dev/bhnd/bhndb/
H A Dbhndb.c1746 bus_size_t io_offset; \
1752 offset, _io_size, &io_offset); \
1772 v = bus_read_ ## _name (io_res, io_offset); \
1785 bus_write_ ## _name (io_res, io_offset, value); \
1797 bus_ ## _op ## _ ## _size (io_res, io_offset, \
1837 bus_barrier(io_res, io_offset + offset, length, flags);
/freebsd-11-stable/usr.sbin/camdd/
H A Dcamdd.c2189 off_t io_offset; local
2229 io_offset = buf->lba * dev->sector_size;
2275 buf->len, io_offset);
2279 db_len, io_offset);
2282 data->fill_len, io_offset);
2285 data->sg_count, io_offset);
2339 (uintmax_t)io_offset);
2344 (uintmax_t)io_offset);
2351 (uintmax_t)io_offset);
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_backend_block.c211 uint64_t io_offset; member in struct:ctl_be_block_io
647 xuio.uio_offset = beio->io_offset;
878 xuio.uio_offset = beio->io_offset;
1108 if (beio->io_offset == -1) {
1123 beio->io_offset, beio->io_len, TRUE);
1152 cur_offset = beio->io_offset;
1242 beio->io_offset = lbalen->lba * cbe_lun->blocksize;
1298 beio->io_offset = lbalen->lba * cbe_lun->blocksize;
1358 beio->io_offset = lbalen->lba * cbe_lun->blocksize;
1396 beio->io_offset
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzio.h458 uint64_t io_offset; member in struct:zio

Completed in 355 milliseconds

12