Lines Matching defs:set
110 /* if it was a write, we may have to set the corresponding
114 /* Set out-of-sync unless both OK flags are set
116 * Other places where we set out-of-sync:
190 * If m->bio is set, the error status to be returned is placed in m->error.
413 int clear, int set)
421 set |= RQ_COMPLETION_SUSP;
426 req->rq_state |= set;
436 if (!(s & RQ_LOCAL_PENDING) && (set & RQ_LOCAL_PENDING))
439 if (!(s & RQ_NET_PENDING) && (set & RQ_NET_PENDING)) {
444 if (!(s & RQ_NET_QUEUED) && (set & RQ_NET_QUEUED)) {
449 if (!(s & RQ_EXP_BARR_ACK) && (set & RQ_EXP_BARR_ACK))
452 if (!(s & RQ_NET_SENT) && (set & RQ_NET_SENT)) {
462 if (!(s & RQ_COMPLETION_SUSP) && (set & RQ_COMPLETION_SUSP))
470 if (!(s & RQ_LOCAL_ABORTED) && (set & RQ_LOCAL_ABORTED)) {
495 if (!(s & RQ_NET_DONE) && (set & RQ_NET_DONE)) {
535 * --> If so, clear PENDING and set NET_OK below.
537 * (and we must not set RQ_NET_OK) */
682 * __drbd_make_request, because we now may set the bit
739 /* Was not set PENDING, no longer QUEUED, so is now DONE
835 /* If RQ_NET_OK is already set, we got a P_WRITE_ACK or P_RECV_ACK
842 * in that case we must not set RQ_NET_PENDING. */
868 * we need to filter, and only set RQ_NET_DONE for those that
1032 /* If this returns false, and req->private_bio is still set,
1035 * If it returns false, but req->private_bio is not set,
1257 * which either returns EIO, or, if OND_SUSPEND_IO is set, suspends IO,