/freebsd-9.3-release/tools/regression/aio/aiop/ |
H A D | aiop.c | 132 int io_size, nrun; local 147 io_size = atoi(argv[2]); 164 * being "io_size", so we can handle > 4 gig files. 194 abuf[i] = calloc(1, io_size * sizeof(char)); 200 offset = random() % (file_size / io_size); 201 offset *= io_size; 202 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]); 210 offset = random() % (file_size / io_size); 211 offset *= io_size; 212 set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abu [all...] |
/freebsd-9.3-release/sys/dev/drm2/ttm/ |
H A D | ttm_bo_vm.c | 405 size_t io_size; 438 io_size = bo->num_pages - kmap_offset; 439 io_size = (io_size << PAGE_SHIFT) - page_offset; 440 if (count < io_size) 441 io_size = count; 468 ret = copy_from_user(virtual, wbuf, io_size); 470 ret = copy_to_user(rbuf, virtual, io_size); 479 *f_pos += io_size; 481 return io_size; [all...] |
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_mirror.c | 199 ASSERT3U(zio->io_size, >=, pio->io_size); 200 bcopy(zio->io_data, pio->io_data, pio->io_size); 206 zio_buf_free(zio->io_data, zio->io_size); 286 zio_buf_alloc(zio->io_size), zio->io_size, 311 mc->mc_vd, mc->mc_offset, zio->io_data, zio->io_size, 398 mc->mc_vd, mc->mc_offset, zio->io_data, zio->io_size, 439 zio->io_data, zio->io_size,
|
H A D | vdev_cache.c | 221 bcopy(ve->ve_data + cache_phase, zio->io_data, zio->io_size); 235 ASSERT(fio->io_size == VCBS); 279 if (zio->io_size > zfs_vdev_cache_max) 285 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) 288 ASSERT(cache_phase + zio->io_size <= VCBS); 348 uint64_t io_end = io_start + zio->io_size;
|
H A D | vdev_queue.c | 366 ksio->nread += zio->io_size; 369 ksio->nwritten += zio->io_size; 383 aio->io_offset), pio->io_data, pio->io_size); 387 zio_buf_free(aio->io_data, aio->io_size); 499 * (lio->io_offset + lio->io_size) minus start of the first (fio->io_offset). 503 #define IO_SPAN(fio, lio) ((lio)->io_offset + (lio)->io_size - (fio)->io_offset) 638 aio->io_offset), dio->io_size); 642 dio->io_size);
|
H A D | zio.c | 327 zt->zt_orig_size = zio->io_size; 335 zio->io_size = size; 352 zio->io_size = zt->zt_orig_size; 367 ASSERT(zio->io_size > size); 378 zio->io_data, data, zio->io_size, size) != 0) 603 zio->io_orig_size = zio->io_size = size; 986 ASSERT(zio->io_orig_size == zio->io_size); 987 ASSERT(size <= zio->io_size); 996 zio->io_orig_size = zio->io_size = size; 1040 uint64_t lsize = zio->io_size; [all...] |
H A D | trim_map.c | 141 if (z1->io_offset + z1->io_size > z2->io_offset) 146 if (z1->io_offset < z2->io_offset + z2->io_size) 325 zsearch.io_size = end - start; 334 if (zs->io_offset + zs->io_size < end) 335 trim_map_free_locked(tm, zs->io_offset + zs->io_size, end, txg); 364 end = TRIM_ZIO_END(zio->io_vd, start, zio->io_size);
|
H A D | vdev_file.c | 189 UIO_READ : UIO_WRITE, vp, zio->io_data, zio->io_size,
|
H A D | zio_checksum.c | 199 uint64_t size = (bp == NULL ? zio->io_size :
|
H A D | vdev_geom.c | 807 bp->bio_length = zio->io_size; 822 bp->bio_length = zio->io_size;
|
H A D | vdev_disk.c | 766 bp->b_bcount = zio->io_size; 769 bp->b_bufsize = zio->io_size;
|
H A D | vdev_label.c | 904 ASSERT3U(zio->io_size, ==, VDEV_UBERBLOCK_SIZE(vd)); 922 zio_buf_free(zio->io_data, zio->io_size);
|
H A D | zfs_fm.c | 319 DATA_TYPE_UINT64, zio->io_size, NULL);
|
H A D | vdev_raidz.c | 1739 rm = vdev_raidz_map_alloc(zio->io_data, zio->io_size, zio->io_offset, 1747 ASSERT3U(rm->rm_asize, ==, vdev_psize_to_asize(vd, zio->io_size));
|
H A D | arc.c | 4720 buf->b_data, zio->io_size, arc_read_done, buf, 5255 zio->io_orig_size = zio->io_size = hdr->b_size; 5283 csize = zio->io_size; 5293 zio->io_orig_size = zio->io_size = hdr->b_size;
|
H A D | vdev.c | 1008 zio->io_offset, zio->io_size, zio->io_data, 1012 zio_buf_free(zio->io_data, zio->io_size); 1017 zio_buf_free(zio->io_data, zio->io_size);
|
H A D | dsl_scan.c | 1641 zio_data_buf_free(zio->io_data, zio->io_size);
|
H A D | spa.c | 1874 zio_data_buf_free(zio->io_data, zio->io_size);
|
/freebsd-9.3-release/sys/dev/mps/ |
H A D | mps_sas.c | 2426 uint32_t io_size, column; local 2446 io_size = (cm->cm_length >> sc->DD_block_exponent); 2458 if ((virtLBA + (uint64_t)io_size - 1) <= 2471 if ((stripe_offset + io_size) <= sc->DD_stripe_size) { 2524 io_size = (cm->cm_length >> sc->DD_block_exponent); 2543 if ((virtLBA + (uint64_t)io_size - 1) <= 2557 if ((stripe_offset + io_size) <= 2603 io_size = (cm->cm_length >> sc->DD_block_exponent); 2621 if ((virtLBA + (uint64_t)io_size - 1) <= 2635 if ((stripe_offset + io_size) < [all...] |
/freebsd-9.3-release/sys/powerpc/ps3/ |
H A D | ps3-hvcall.h | 102 int lv1_allocate_device_dma_region(uint64_t bus, uint64_t dev, uint64_t io_size, uint64_t io_pagesize, uint64_t flag, uint64_t *dma_region);
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | zio.h | 437 uint64_t io_size; member in struct:zio
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_videodev2.h | 978 __u32 io_size; member in struct:v4l2_sliced_vbi_format
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 2205 zio_data_buf_free(zio->io_data, zio->io_size);
|