Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/vfs/
H A Dvfs_cluster.c204 static int cluster_copy_ubc_data_internal(vnode_t vp, struct uio *uio, int *io_resid, int mark_dirt…
4180 int io_resid; in cluster_write_copy() local
4197 io_resid = io_req_size; in cluster_write_copy()
4202 io_resid = 0; in cluster_write_copy()
4286 while ((total_size = (io_resid + zero_cnt + zero_cnt1)) && retval == 0) { in cluster_write_copy()
4293 } else if (io_resid) { in cluster_write_copy()
4325 io_resid -= (total_size - xfer_resid); in cluster_write_copy()
4481 if (xfer_resid && io_resid) { in cluster_write_copy()
4484 bytes_to_move = min(io_resid, xfer_resid); in cluster_write_copy()
4495 io_resid -= bytes_to_move; in cluster_write_copy()
[all …]
H A Dvfs_bio.c1484 int io_resid; in buf_strategy_fragmented() local
1510 io_resid = bp->b_bcount; in buf_strategy_fragmented()
1549 io_resid -= (io_contig_bytes - io_bp->b_resid); in buf_strategy_fragmented()
1553 if ((io_resid -= io_contig_bytes) == 0) { in buf_strategy_fragmented()
1562 …if ((error = VNOP_BLOCKMAP(vp, f_offset, io_resid, &io_blkno, &io_contig_bytes, NULL, bmap_flags, … in buf_strategy_fragmented()
1571 bp->b_resid = io_resid; in buf_strategy_fragmented()
/xnu-12377.81.4/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;