Lines Matching refs:WRITE
65 if (rw == WRITE) {
210 int rw = req->master_bio ? bio_data_dir(req->master_bio) : WRITE;
261 if (rw == WRITE)
415 if (bio_data_dir(req->master_bio) == WRITE)
551 if (bio_data_dir(req->master_bio) == WRITE &&
717 if (rw == WRITE) {
755 if (rw == WRITE && local)
767 /* For WRITE request, we have to make sure that we have an
773 if (rw == WRITE && remote &&
815 if (rw == WRITE && remote &&
843 D_ASSERT(!(remote && rw == WRITE &&
870 if (rw == WRITE && _req_conflicts(req)) {
898 /* either WRITE and C_CONNECTED,
902 _req_mod(req, (rw == WRITE)
912 if (FAULT_ACTIVE(mdev, rw == WRITE ? DRBD_FAULT_DT_WR
927 if (rw == WRITE && local)
959 is_write ? "WRITE" : "READ");
987 if (drbd_fail_request_early(mdev, bio_data_dir(bio) & WRITE)) {