Lines Matching defs:ioflag
153 ext2fs_bufrd(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t cred)
231 error = ext2fs_post_read_update(vp, ioflag, error);
236 ext2fs_post_read_update(struct vnode *vp, int ioflag, int oerror)
243 if ((ioflag & IO_SYNC) == IO_SYNC)
271 int blkoffset, error, ioflag, resid;
278 ioflag = ap->a_ioflag;
279 advice = IO_ADV_DECODE(ioflag);
289 if (ioflag & IO_APPEND)
345 if (error == 0 && ioflag & IO_SYNC) {
352 error = ext2fs_post_write_update(vp, uio, ioflag, ap->a_cred, osize,
361 ext2fs_bufwr(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t cred)
375 KASSERT(vp->v_type != VDIR || ISSET(ioflag, IO_SYNC));
390 flags = ioflag & IO_SYNC ? B_SYNC : 0;
422 if (ioflag & IO_SYNC)
432 error = ext2fs_post_write_update(vp, uio, ioflag, cred, osize, resid,
438 ext2fs_post_write_update(struct vnode *vp, struct uio *uio, int ioflag,
473 (void) ext2fs_truncate(vp, osize, ioflag & IO_SYNC, cred);
476 } else if (resid > uio->uio_resid && (ioflag & IO_SYNC) == IO_SYNC)