Home
last modified time | relevance | path

Searched refs:io_resid (Results 1 – 3 of 3) sorted by relevance

/xnu-10002.1.13/bsd/vfs/
H A Dvfs_cluster.c198 static int cluster_copy_ubc_data_internal(vnode_t vp, struct uio *uio, int *io_resid, int mark_dirt…
4004 int io_resid; in cluster_write_copy() local
4021 io_resid = io_req_size; in cluster_write_copy()
4026 io_resid = 0; in cluster_write_copy()
4110 while ((total_size = (io_resid + zero_cnt + zero_cnt1)) && retval == 0) { in cluster_write_copy()
4117 } else if (io_resid) { in cluster_write_copy()
4149 io_resid -= (total_size - xfer_resid); in cluster_write_copy()
4305 if (xfer_resid && io_resid) { in cluster_write_copy()
4308 bytes_to_move = min(io_resid, xfer_resid); in cluster_write_copy()
4319 io_resid -= bytes_to_move; in cluster_write_copy()
[all …]
H A Dvfs_bio.c1309 int io_resid; in buf_strategy_fragmented() local
1335 io_resid = bp->b_bcount; in buf_strategy_fragmented()
1374 io_resid -= (io_contig_bytes - io_bp->b_resid); in buf_strategy_fragmented()
1378 if ((io_resid -= io_contig_bytes) == 0) { in buf_strategy_fragmented()
1387 …if ((error = VNOP_BLOCKMAP(vp, f_offset, io_resid, &io_blkno, &io_contig_bytes, NULL, bmap_flags, … in buf_strategy_fragmented()
1396 bp->b_resid = io_resid; in buf_strategy_fragmented()
/xnu-10002.1.13/bsd/kern/
H A Ddecmpfs.c1889 int io_resid = icount;
1890 err = cluster_copy_upl_data(uio, upl, (int)uplOff, &io_resid);
1891 int copied = icount - io_resid;