Lines Matching refs:io_flags

165 static int cluster_ioerror(upl_t upl, int upl_offset, int abort_size, int error, int io_flags, vnode_t vp);
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);
511 cluster_ioerror(upl_t upl, int upl_offset, int abort_size, int error, int io_flags, vnode_t vp)
517 if ((io_flags & (B_PHYS | B_CACHE)) == (B_PHYS | B_CACHE))
523 if (io_flags & B_PAGEIO) {
524 if (io_flags & B_READ)
529 if (io_flags & B_CACHE)
889 int io_flags;
962 io_flags = B_READ;
968 io_flags = B_WRITE;
1024 io_flags |= B_AGE;
1026 io_flags |= B_PAGEIO;
1028 io_flags |= B_IOSTREAMING;
1030 io_flags |= B_COMMIT_UPL;
1032 io_flags |= B_PHYS;
1034 io_flags |= B_CACHE;
1036 io_flags |= B_PASSIVE;
1038 io_flags |= B_ENCRYPTED_IO;
1040 io_flags |= B_META;
1438 cbp->b_flags |= io_flags;
1530 if ( !(io_flags & B_READ))
1614 upl_flags = cluster_ioerror(upl, upl_offset - pg_offset, abort_size, error, io_flags, vp);
3321 wbp->cl_clusters[wbp->cl_number].io_flags = 0;
3324 wbp->cl_clusters[wbp->cl_number].io_flags |= CLW_IONOCACHE;
3327 wbp->cl_clusters[wbp->cl_number].io_flags |= CLW_IOPASSIVE;
5131 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)
5173 l_clusters[cl_index].io_flags = wbp->cl_clusters[min_index].io_flags;
5214 flags = io_flags & (IO_PASSIVE|IO_CLOSE);
5219 if (l_clusters[cl_index].io_flags & CLW_IONOCACHE)
5222 if (l_clusters[cl_index].io_flags & CLW_IOPASSIVE)
5264 wbp->cl_clusters[cl_index1].io_flags = l_clusters[cl_index].io_flags;
5291 wbp->cl_clusters[cl_index1].io_flags = l_clusters[cl_index].io_flags;
5318 int io_flags;
5451 io_flags = CL_THROTTLE | CL_COMMIT | CL_AGE | bflag;
5454 io_flags |= CL_ASYNC;
5457 io_flags |= CL_CLOSE;
5460 io_flags |= CL_NOCACHE;
5463 io_flags, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
5513 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)
5531 cluster_push_now(vp, &cl, EOF, io_flags & (IO_PASSIVE|IO_CLOSE), callback, callback_arg);