Home
last modified time | relevance | path

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

/xnu-11215.61.5/bsd/vfs/
H A Dvfs_cluster.c200 static int cluster_copy_ubc_data_internal(vnode_t vp, struct uio *uio, int *io_resid, int mark_dirt…
3871 int io_resid; in cluster_write_copy() local
3888 io_resid = io_req_size; in cluster_write_copy()
3893 io_resid = 0; in cluster_write_copy()
3977 while ((total_size = (io_resid + zero_cnt + zero_cnt1)) && retval == 0) { in cluster_write_copy()
3984 } else if (io_resid) { in cluster_write_copy()
4016 io_resid -= (total_size - xfer_resid); in cluster_write_copy()
4172 if (xfer_resid && io_resid) { in cluster_write_copy()
4175 bytes_to_move = min(io_resid, xfer_resid); in cluster_write_copy()
4186 io_resid -= bytes_to_move; in cluster_write_copy()
[all …]
H A Dvfs_bio.c1321 int io_resid; in buf_strategy_fragmented() local
1347 io_resid = bp->b_bcount; in buf_strategy_fragmented()
1386 io_resid -= (io_contig_bytes - io_bp->b_resid); in buf_strategy_fragmented()
1390 if ((io_resid -= io_contig_bytes) == 0) { in buf_strategy_fragmented()
1399 …if ((error = VNOP_BLOCKMAP(vp, f_offset, io_resid, &io_blkno, &io_contig_bytes, NULL, bmap_flags, … in buf_strategy_fragmented()
1408 bp->b_resid = io_resid; in buf_strategy_fragmented()
/xnu-11215.61.5/bsd/kern/
H A Ddecmpfs.c1895 int io_resid = icount;
1896 err = cluster_copy_upl_data(uio, upl, (int)uplOff, &io_resid);
1897 int copied = icount - io_resid;