Searched refs:io_offset (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.1.9/bsd/vfs/ |
| H A D | vfs_bio.c | 972 buf_clone(buf_t bp, int io_offset, int io_size, void (*iodone)(buf_t, void *), void *arg) in buf_clone() argument 977 if (io_offset < 0 || io_size < 0) { in buf_clone() 981 if ((unsigned)(io_offset + io_size) > (unsigned)bp->b_bcount) { in buf_clone() 986 if (io_offset && ((bp->b_uploffset + io_offset) & PAGE_MASK)) { in buf_clone() 990 if (os_add_overflow(io_offset, io_size, &add1) || os_add_overflow(add1, bp->b_uploffset, &add2)) { in buf_clone() 1008 io_bp->b_uploffset = bp->b_uploffset + io_offset; in buf_clone() 1010 io_bp->b_datap = (uintptr_t)(((char *)bp->b_datap) + io_offset); in buf_clone()
|
| H A D | vfs_cluster.c | 3836 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 3854 cluster_zero(upl, io_offset, bytes_to_zero, NULL); in cluster_zero_range() 4156 int io_offset; in cluster_write_copy() local 4446 io_offset = start_offset; in cluster_write_copy() 4455 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off, upl_f_offset, bytes_to_zer… in cluster_write_copy() 4460 io_offset += bytes_to_zero; in cluster_write_copy() 4468 retval = cluster_copy_upl_data(uio, upl, io_offset, (int *)&io_requested); in cluster_write_copy() 4478 io_offset += bytes_to_move; in cluster_write_copy() 4488 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off1, upl_f_offset, bytes_to_ze… in cluster_write_copy() 4493 io_offset += bytes_to_zero; in cluster_write_copy()
|
| /xnu-12377.1.9/bsd/sys/ |
| H A D | buf.h | 682 buf_t buf_clone(buf_t bp, int io_offset, int io_size, void (*iodone)(buf_t, void *), void *arg);
|