Lines Matching defs:set
112 /* if it was a write, we may have to set the corresponding
116 /* Set out-of-sync unless both OK flags are set
118 * Other places where we set out-of-sync:
191 * If m->bio is set, the error status to be returned is placed in m->error.
402 int clear, int set)
410 set |= RQ_COMPLETION_SUSP;
415 req->rq_state |= set;
425 if (!(s & RQ_LOCAL_PENDING) && (set & RQ_LOCAL_PENDING))
428 if (!(s & RQ_NET_PENDING) && (set & RQ_NET_PENDING)) {
433 if (!(s & RQ_NET_QUEUED) && (set & RQ_NET_QUEUED)) {
438 if (!(s & RQ_EXP_BARR_ACK) && (set & RQ_EXP_BARR_ACK))
441 if (!(s & RQ_NET_SENT) && (set & RQ_NET_SENT)) {
451 if (!(s & RQ_COMPLETION_SUSP) && (set & RQ_COMPLETION_SUSP))
459 if (!(s & RQ_LOCAL_ABORTED) && (set & RQ_LOCAL_ABORTED)) {
484 if (!(s & RQ_NET_DONE) && (set & RQ_NET_DONE)) {
526 * --> If so, clear PENDING and set NET_OK below.
528 * (and we must not set RQ_NET_OK) */
670 * __drbd_make_request, because we now may set the bit
727 /* Was not set PENDING, no longer QUEUED, so is now DONE
822 /* If RQ_NET_OK is already set, we got a P_WRITE_ACK or P_RECV_ACK
829 * in that case we must not set RQ_NET_PENDING. */
855 * we need to filter, and only set RQ_NET_DONE for those that
1021 /* If this returns false, and req->private_bio is still set,
1024 * If it returns false, but req->private_bio is not set,
1244 * which either returns EIO, or, if OND_SUSPEND_IO is set, suspends IO,