Lines Matching refs:EOF

194 static int	cluster_push_now(vnode_t vp, struct cl_extent *, off_t EOF, int flags, int (*)(buf_t, void *), void *callback_arg);
196 static int cluster_try_push(struct cl_writebehind *, vnode_t vp, off_t EOF, int push_flag, int flags, int (*)(buf_t, void *), void *callback_arg);
198 static void sparse_cluster_switch(struct cl_writebehind *, vnode_t vp, off_t EOF, int (*)(buf_t, void *), void *callback_arg);
199 static void sparse_cluster_push(void **cmapp, vnode_t vp, off_t EOF, int push_flag, int io_flags, int (*)(buf_t, void *), void *callback_arg);
200 static void sparse_cluster_add(void **cmapp, vnode_t vp, struct cl_extent *, off_t EOF, int (*)(buf_t, void *), void *callback_arg);
957 * has blocks allocated to back the page beyond the EOF, we want to
958 * make sure to write out the zero's that are sitting beyond the EOF
960 * if a hole is created via a lseek/write beyond the current EOF,
1293 * if this upl contains the EOF and it is not a multiple of PAGE_SIZE
1299 * of the page beyond the EOF, since the delayed zero-fill won't kick in
1843 * or if we're starting beyond the EOF
1908 * or if we're starting beyond the EOF
2802 * so we zero fill the intervening space between the old EOF and the offset
2804 * routine to zero fill to the new EOF when growing a file... in this case, the
2992 * boundary... if it's not beyond the old EOF, then we'll also need to
3087 * hole starting at this EOF, we'll have zero's in the correct spot
4242 * let the UBC manage the zero-filling of the file past the EOF.
4246 * contains the EOF. The user will be responsible for not
4247 * interpreting data PAST the EOF in its buffer.
5158 cluster_try_push(struct cl_writebehind *wbp, vnode_t vp, off_t EOF, int push_flag, int io_flags, int (*callback)(buf_t, void *), void *callback_arg)
5258 cluster_push_now(vp, &cl, EOF, flags, callback, callback_arg);
5284 sparse_cluster_switch(wbp, vp, EOF, callback, callback_arg);
5304 sparse_cluster_switch(wbp, vp, EOF, callback, callback_arg);
5334 cluster_push_now(vnode_t vp, struct cl_extent *cl, off_t EOF, int flags, int (*callback)(buf_t, void *), void *callback_arg)
5359 (int)cl->b_addr, (int)cl->e_addr, (int)EOF, flags, 0);
5369 if (upl_f_offset + upl_size >= EOF) {
5371 if (upl_f_offset >= EOF) {
5375 * beyond the new EOF
5381 size = EOF - upl_f_offset;
5507 sparse_cluster_switch(struct cl_writebehind *wbp, vnode_t vp, off_t EOF, int (*callback)(buf_t, void *), void *callback_arg)
5523 sparse_cluster_add(&(wbp->cl_scmap), vp, &cl, EOF, callback, callback_arg);
5540 sparse_cluster_push(void **scmap, vnode_t vp, off_t EOF, int push_flag, int io_flags, int (*callback)(buf_t, void *), void *callback_arg)
5558 cluster_push_now(vp, &cl, EOF, io_flags & (IO_PASSIVE|IO_CLOSE), callback, callback_arg);
5571 sparse_cluster_add(void **scmap, vnode_t vp, struct cl_extent *cl, off_t EOF, int (*callback)(buf_t, void *), void *callback_arg)
5588 sparse_cluster_push(scmap, vp, EOF, 0, 0, callback, callback_arg);