Home
last modified time | relevance | path

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

/xnu-10002.81.5/bsd/sys/
H A Dbuf.h676 buf_t buf_clone(buf_t bp, int io_offset, int io_size, void (*iodone)(buf_t, void *), void *arg);
/xnu-10002.81.5/bsd/vfs/
H A Dvfs_bio.c809 buf_clone(buf_t bp, int io_offset, int io_size, void (*iodone)(buf_t, void *), void *arg) in buf_clone() argument
814 if (io_offset < 0 || io_size < 0) { in buf_clone()
818 if ((unsigned)(io_offset + io_size) > (unsigned)bp->b_bcount) { in buf_clone()
823 if (io_offset && ((bp->b_uploffset + io_offset) & PAGE_MASK)) { in buf_clone()
827 if (os_add_overflow(io_offset, io_size, &add1) || os_add_overflow(add1, bp->b_uploffset, &add2)) { in buf_clone()
845 io_bp->b_uploffset = bp->b_uploffset + io_offset; in buf_clone()
847 io_bp->b_datap = (uintptr_t)(((char *)bp->b_datap) + io_offset); in buf_clone()
H A Dvfs_cluster.c3222 cluster_zero_range(upl_t upl, upl_page_info_t *pl, int flags, int io_offset, off_t zero_off, off_t … in cluster_zero_range() argument
3240 cluster_zero(upl, io_offset, bytes_to_zero, NULL); in cluster_zero_range()
3542 int io_offset; in cluster_write_copy() local
3832 io_offset = start_offset; in cluster_write_copy()
3841 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off, upl_f_offset, bytes_to_zer… in cluster_write_copy()
3846 io_offset += bytes_to_zero; in cluster_write_copy()
3854 retval = cluster_copy_upl_data(uio, upl, io_offset, (int *)&io_requested); in cluster_write_copy()
3864 io_offset += bytes_to_move; in cluster_write_copy()
3874 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off1, upl_f_offset, bytes_to_ze… in cluster_write_copy()
3879 io_offset += bytes_to_zero; in cluster_write_copy()