Searched refs:io_resid (Results 1 – 4 of 4) sorted by relevance
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_cluster.c | 198 static int cluster_copy_ubc_data_internal(vnode_t vp, struct uio *uio, int *io_resid, int mark_dirt… 3517 int io_resid; in cluster_write_copy() local 3534 io_resid = io_req_size; in cluster_write_copy() 3539 io_resid = 0; in cluster_write_copy() 3623 while ((total_size = (io_resid + zero_cnt + zero_cnt1)) && retval == 0) { in cluster_write_copy() 3630 } else if (io_resid) { in cluster_write_copy() 3662 io_resid -= (total_size - xfer_resid); in cluster_write_copy() 3818 if (xfer_resid && io_resid) { in cluster_write_copy() 3821 bytes_to_move = min(io_resid, xfer_resid); in cluster_write_copy() 3832 io_resid -= bytes_to_move; in cluster_write_copy() [all …]
|
| H A D | vfs_bio.c | 1290 int io_resid; in buf_strategy_fragmented() local 1316 io_resid = bp->b_bcount; in buf_strategy_fragmented() 1355 io_resid -= (io_contig_bytes - io_bp->b_resid); in buf_strategy_fragmented() 1359 if ((io_resid -= io_contig_bytes) == 0) { in buf_strategy_fragmented() 1368 …if ((error = VNOP_BLOCKMAP(vp, f_offset, io_resid, &io_blkno, &io_contig_bytes, NULL, bmap_flags, … in buf_strategy_fragmented() 1377 bp->b_resid = io_resid; in buf_strategy_fragmented()
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfs_bio.c | 2094 int64_t io_resid; in nfs_bioread() local 2206 io_resid = uio_resid(uio); in nfs_bioread() 2208 if (diff < io_resid) { in nfs_bioread() 2209 io_resid = diff; in nfs_bioread() 2211 if (io_resid > 0) { in nfs_bioread() 2212 int count = (io_resid > INT_MAX) ? INT_MAX : (int)io_resid; in nfs_bioread() 2264 io_resid = uio_resid(uio); in nfs_bioread() 2265 n = (io_resid > (biosize - on)) ? (biosize - on) : io_resid; in nfs_bioread()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | decmpfs.c | 1859 int io_resid = icount; 1860 err = cluster_copy_upl_data(uio, upl, (int)uplOff, &io_resid); 1861 int copied = icount - io_resid;
|