Lines Matching refs:ISSET
269 if (ISSET(fbp->nb_flags, NB_META) && fbp->nb_data)
285 if (ISSET(bp->nb_flags, NB_DELWRI)) {
288 } else if (ISSET(bp->nb_flags, NB_META)) {
325 if (!ISSET(bp->nb_flags, NB_INVAL)) {
356 if (ISSET(bp->nb_lflags, NBL_BUSY)) {
389 if (ISSET(bp->nb_flags, NB_PAGELIST))
393 if (!ISSET(bp->nb_flags, NB_READ)) {
431 if (!ISSET(bp->nb_flags, NB_PAGELIST))
458 if (ISSET(bp->nb_flags, NB_CACHE)) {
481 if (!ISSET(bp->nb_flags, NB_PAGELIST))
546 if (ISSET(bp->nb_flags, NB_NEEDCOMMIT))
548 if (ISSET(bp->nb_flags, NB_NEEDCOMMIT)) {
681 if (ISSET(bp->nb_lflags, NBL_BUSY)) {
708 if (ISSET(bp->nb_flags, NB_PAGELIST))
774 if (ISSET(bp->nb_flags, NB_DELWRI))
793 if (!ISSET(bp->nb_flags, NB_META))
795 } else if (ISSET(bp->nb_flags, NB_META)) {
976 if (!ISSET(bp->nb_flags, NB_PAGELIST) && !ISSET(bp->nb_flags, NB_INVAL)) {
995 if (ISSET(bp->nb_flags, NB_ERROR) || (!bp->nb_dirty && (ISSET(bp->nb_flags, NB_INVAL) ||
996 (ISSET(bp->nb_flags, NB_NOCACHE) && !ISSET(bp->nb_flags, (NB_NEEDCOMMIT | NB_DELWRI)))))) {
997 if (ISSET(bp->nb_flags, (NB_READ | NB_INVAL | NB_NOCACHE)))
1048 if (ISSET(bp->nb_lflags, NBL_WANTED)) {
1054 if (ISSET(bp->nb_flags, NB_ERROR) ||
1055 (ISSET(bp->nb_flags, NB_NOCACHE) && !ISSET(bp->nb_flags, (NB_NEEDCOMMIT | NB_DELWRI))))
1058 if ((bp->nb_bufsize <= 0) || ISSET(bp->nb_flags, NB_INVAL)) {
1067 if (ISSET(bp->nb_flags, NB_DELWRI)) {
1079 if (ISSET(bp->nb_flags, NB_META)) {
1086 } else if (ISSET(bp->nb_flags, NB_DELWRI)) {
1100 if (ISSET(bp->nb_flags, NB_META)) {
1140 while (!ISSET(bp->nb_flags, NB_DONE))
1148 if (ISSET(bp->nb_flags, NB_EINTR)) {
1151 } else if (ISSET(bp->nb_flags, NB_ERROR))
1165 if (ISSET(bp->nb_flags, NB_DONE))
1168 if (!ISSET(bp->nb_flags, NB_READ)) {
1176 if (ISSET(bp->nb_flags, NB_ASYNC)) { /* if async, release it */
1203 if (!ISSET(bp->nb_flags, NB_DELWRI)) {
1257 if (!ISSET(bp->nb_flags, NB_NEEDCOMMIT))
1263 if (!ISSET(bp->nb_flags, NB_STALEWVERF) && (bp->nb_verf == nmp->nm_verf))
1304 if (ISSET(bp->nb_lflags, NBL_BUSY)) {
1340 if (!ISSET(bp->nb_lflags, NBL_BUSY))
1342 if (ISSET(bp->nb_lflags, NBL_WANTED)) {
1435 thd = ISSET(bp->nb_flags, NB_ASYNC) ? NULL : current_thread();
1438 if (!ISSET(bp->nb_flags, NB_READ))
1440 if (ISSET(bp->nb_flags, NB_DONE))
1467 if (!ISSET(bp->nb_flags, NB_ERROR)) {
1553 if (ISSET(bp->nb_flags, NB_ERROR)) {
1569 if (ISSET(bp->nb_flags, NB_ERROR)) {
1582 if (ISSET(bp->nb_flags, NB_MULTASYNCRPC)) {
1638 if (error || ISSET(bp->nb_flags, NB_ERROR)) {
1687 } else if (((int)rlen < length) && !ISSET(bp->nb_flags, NB_ERROR)) {
1732 multasyncrpc = ISSET(bp->nb_flags, NB_MULTASYNCRPC);
1776 if ((ioflag & IO_NOCACHE) && ISSET(bp->nb_flags, NB_CACHE) &&
1777 !bp->nb_dirty && !ISSET(bp->nb_flags, (NB_DELWRI|NB_NCRDAHEAD))) {
1783 !ISSET(bp->nb_flags, (NB_CACHE|NB_DELWRI))) {
1860 if (ISSET(np->n_flag, NUPDATESIZE))
2046 if ((ioflag & IO_NOCACHE) && ISSET(bp->nb_flags, NB_CACHE)) {
2058 if (!ISSET(bp->nb_flags, NB_NCRDAHEAD)) {
2200 if (!ISSET(bp->nb_flags, NB_CACHE)) {
2235 if (!ISSET(bp->nb_flags, NB_CACHE)) {
2242 if (error == 0 && ISSET(bp->nb_flags, NB_INVAL)) {
2381 if (!ISSET(bp->nb_lflags, NBL_BUSY))
2385 async = ISSET(bp->nb_flags, NB_ASYNC);
2389 if (ISSET(oldflags, NB_DELWRI)) {
2398 if (ISSET(oldflags, (NB_ASYNC|NB_DELWRI))) {
2411 if (!IS_VALID_CRED(cred) && ISSET(bp->nb_flags, NB_READ))
2418 if (!ISSET(bp->nb_flags, NB_META) && UBCINFOEXISTS(NFSTOV(np))) {
2419 if (!ISSET(bp->nb_flags, NB_PAGELIST)) {
2433 if (ISSET(bp->nb_flags, NB_NEEDCOMMIT))
2435 if (ISSET(bp->nb_flags, NB_NEEDCOMMIT)) {
2605 if (!ISSET(bp->nb_flags, NB_NEEDCOMMIT)) {
2614 } else if (ISSET(bp->nb_flags, NB_NEEDCOMMIT)) {
2635 if (!ISSET(bp->nb_flags, NB_DELWRI)) {
2646 if (ISSET(bp->nb_flags, NB_ASYNC)) {
2840 if (ISSET(bp->nb_flags, NB_ERROR)) {
2871 if (ISSET(bp->nb_flags, NB_MULTASYNCRPC)) {
2929 if (error || ISSET(bp->nb_flags, NB_ERROR)) {
3033 multasyncrpc = ISSET(bp->nb_flags, NB_MULTASYNCRPC);
3111 if (ISSET(bp->nb_flags, NB_NEEDCOMMIT))
3125 if (!ISSET(bp->nb_flags, NB_PAGELIST)) {
3246 if (ISSET(bp->nb_flags, NB_DELWRI)) {
3374 if (ISSET(bp->nb_flags, NB_NEEDCOMMIT))
3376 if (!ISSET(bp->nb_flags, NB_DELWRI)) {
3383 ISSET(bp->nb_flags, NB_NEEDCOMMIT)) {
3389 if (ISSET(bp->nb_flags, NB_ERROR)) {
3536 if (!ISSET(bp->nb_flags, NB_PAGELIST)) {
3568 if (!ISSET(bp->nb_flags, NB_PAGELIST))
3800 if (ISSET(bp->nb_flags, NB_DONE))