Lines Matching defs:async

1209 	if (ISSET(bp->nb_flags, NB_ASYNC)) {	/* if async, release it */
1261 * just fall back to doing the async write.
1266 /* issue async write */
1482 * For async I/O, the callbacks will finish up the
1541 int error = 0, nfsvers, async;
1573 /* Note: Can only do async I/O if nfsiods are configured. */
1574 async = (bp->nb_flags & NB_ASYNC);
1575 cb.rcb_func = async ? nfs_buf_read_rpc_finish : NULL;
1580 if (async && (nrpcs > 1)) {
1602 if (async)
1693 /* async request restarted */
1714 * For an async I/O request, handle a grace delay just like
1782 /* if !async we'll need to wait for this RPC to finish */
1809 * (Note: when there are multiple async RPCs issued for a
1835 * Initiate async I/O to read buffers not in cache.
2233 * limit the number of outstanding async I/O writes
2274 * For async requests, all the work beyond sending the initial
2280 int error = 0, oldflags, async;
2294 async = ISSET(bp->nb_flags, NB_ASYNC);
2327 thd = async ? NULL : current_thread();
2414 * then write FILESYNC; otherwise, write UNSTABLE if async and
2433 * For async I/O, the callbacks will finish up the
2443 /* note: bp is still valid only for !async case */
2445 if (!async) {
2690 int error = 0, nfsvers, async;
2711 /* Note: Can only do async I/O if nfsiods are configured. */
2712 async = (bp->nb_flags & NB_ASYNC) && (NFSIOD_MAX > 0);
2714 cb.rcb_func = async ? nfs_buf_write_rpc_finish : NULL;
2729 if (async && (nrpcs > 1)) {
2745 if (async && ((error = nfs_async_write_start(nmp))))
2751 if (async)
2757 if (async)
2845 /* async request restarted */
2866 * For an async I/O request, handle a grace delay just like
2951 /* if !async we'll need to wait for this RPC to finish */
2977 * (Note: when there are multiple async RPCs issued for a
3281 * On the first pass, start async/unstable writes on all
3738 * Add an async I/O request to the mount's async I/O queue and make
3804 * queue up async I/O request for resend