Lines Matching defs:newEOF
143 static void cluster_syncup(vnode_t vp, off_t newEOF, int (*)(buf_t, void *), void *callback_arg);
155 static int cluster_write_copy(vnode_t vp, struct uio *uio, u_int32_t io_req_size, off_t oldEOF, off_t newEOF,
157 static int cluster_write_direct(vnode_t vp, struct uio *uio, off_t oldEOF, off_t newEOF,
159 static int cluster_write_contig(vnode_t vp, struct uio *uio, off_t newEOF,
385 cluster_syncup(vnode_t vp, off_t newEOF, int (*callback)(buf_t, void *), void *callback_arg)
394 cluster_try_push(wbp, vp, newEOF, PUSH_ALL | PUSH_SYNC, callback, callback_arg);
1761 cluster_write(vnode_t vp, struct uio *uio, off_t oldEOF, off_t newEOF, off_t headOff, off_t tailOff, int xflags)
1763 return cluster_write_ext(vp, uio, oldEOF, newEOF, headOff, tailOff, xflags, NULL, NULL);
1768 cluster_write_ext(vnode_t vp, struct uio *uio, off_t oldEOF, off_t newEOF, off_t headOff, off_t tailOff,
1794 retval = cluster_write_copy(vp, NULL, (u_int32_t)0, oldEOF, newEOF, headOff, tailOff, flags, callback, callback_arg);
1814 while ((cur_resid = uio_resid(uio)) && uio->uio_offset < newEOF && retval == 0) {
1845 retval = cluster_write_copy(vp, uio, write_length, oldEOF, newEOF, headOff, tailOff, zflags, callback, callback_arg);
1862 retval = cluster_write_contig(vp, uio, newEOF, &write_type, &write_length, callback, callback_arg, bflag);
1880 retval = cluster_write_direct(vp, uio, oldEOF, newEOF, &write_type, &write_length, flags, callback, callback_arg);
1893 cluster_write_direct(vnode_t vp, struct uio *uio, off_t oldEOF, off_t newEOF, int *write_type, u_int32_t *write_length,
1933 (int)uio->uio_offset, *write_length, (int)newEOF, 0, 0);
1980 while (io_req_size >= PAGE_SIZE && uio->uio_offset < newEOF && retval == 0) {
1983 cluster_syncup(vp, newEOF, callback, callback_arg);
2146 (int)uio->uio_offset, *write_length, (int)newEOF, 0, 0);
2183 retval = cluster_write_copy(vp, uio, io_req_size, oldEOF, newEOF, (off_t)0, (off_t)0, flags, callback, callback_arg);
2195 cluster_write_contig(vnode_t vp, struct uio *uio, off_t newEOF, int *write_type, u_int32_t *write_length,
2224 cluster_syncup(vp, newEOF, callback, callback_arg);
2413 cluster_write_copy(vnode_t vp, struct uio *uio, u_int32_t io_req_size, off_t oldEOF, off_t newEOF, off_t headOff,
2449 (int)uio->uio_offset, io_req_size, (int)oldEOF, (int)newEOF, 0);
2454 0, 0, (int)oldEOF, (int)newEOF, 0);
2479 } else if (headOff < newEOF) {
2480 zero_cnt = newEOF - headOff;
2605 if ((upl_f_offset + read_size) > newEOF)
2606 read_size = newEOF - upl_f_offset;
2641 if ((upl_f_offset + upl_offset + read_size) > newEOF)
2642 read_size = newEOF - (upl_f_offset + upl_offset);
2749 if ((upl_f_offset + io_size) >= newEOF && (u_int)io_size < upl_size) {
2806 sparse_cluster_add(wbp, vp, &cl, newEOF, callback, callback_arg);
2821 sparse_cluster_push(wbp, vp, newEOF, PUSH_ALL, callback, callback_arg);
2970 ret_cluster_try_push = cluster_try_push(wbp, vp, newEOF, (flags & IO_NOCACHE) ? 0 : PUSH_DELAY, callback, callback_arg);
2982 sparse_cluster_switch(wbp, vp, newEOF, callback, callback_arg);
2983 sparse_cluster_add(wbp, vp, &cl, newEOF, callback, callback_arg);
2998 cluster_try_push(wbp, vp, newEOF, 0, callback, callback_arg);
3028 retval = cluster_push_now(vp, &cl, newEOF, flags, callback, callback_arg);