Lines Matching defs:io_flags

165 static int cluster_ioerror(upl_t upl, int upl_offset, int abort_size, int error, int io_flags);
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);
548 cluster_ioerror(upl_t upl, int upl_offset, int abort_size, int error, int io_flags)
554 if ((io_flags & (B_PHYS | B_CACHE)) == (B_PHYS | B_CACHE))
560 if (io_flags & B_PAGEIO) {
561 if (io_flags & B_READ)
566 if (io_flags & B_CACHE)
917 int io_flags;
990 io_flags = B_READ;
996 io_flags = B_WRITE;
1052 io_flags |= B_AGE;
1054 io_flags |= B_PAGEIO;
1056 io_flags |= B_IOSTREAMING;
1058 io_flags |= B_COMMIT_UPL;
1060 io_flags |= B_PHYS;
1062 io_flags |= B_CACHE;
1064 io_flags |= B_PASSIVE;
1066 io_flags |= B_ENCRYPTED_IO;
1068 io_flags |= B_META;
1466 cbp->b_flags |= io_flags;
1558 if ( !(io_flags & B_READ))
1642 upl_flags = cluster_ioerror(upl, upl_offset - pg_offset, abort_size, error, io_flags);
3349 wbp->cl_clusters[wbp->cl_number].io_flags = 0;
3352 wbp->cl_clusters[wbp->cl_number].io_flags |= CLW_IONOCACHE;
3355 wbp->cl_clusters[wbp->cl_number].io_flags |= CLW_IOPASSIVE;
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)
5200 l_clusters[cl_index].io_flags = wbp->cl_clusters[min_index].io_flags;
5241 flags = io_flags & (IO_PASSIVE|IO_CLOSE);
5246 if (l_clusters[cl_index].io_flags & CLW_IONOCACHE)
5249 if (l_clusters[cl_index].io_flags & CLW_IOPASSIVE)
5291 wbp->cl_clusters[cl_index1].io_flags = l_clusters[cl_index].io_flags;
5318 wbp->cl_clusters[cl_index1].io_flags = l_clusters[cl_index].io_flags;
5345 int io_flags;
5478 io_flags = CL_THROTTLE | CL_COMMIT | CL_AGE | bflag;
5481 io_flags |= CL_ASYNC;
5484 io_flags |= CL_CLOSE;
5487 io_flags |= CL_NOCACHE;
5490 io_flags, (buf_t)NULL, (struct clios *)NULL, 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);