Home
last modified time | relevance | path

Searched refs:RQ_WRITE (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/block/drbd/
Ddrbd_req.c61 req->rq_state = bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0; in drbd_req_new()
127 if (s & RQ_WRITE) in drbd_req_destroy()
139 if (s & RQ_WRITE) { in drbd_req_destroy()
547 (req->rq_state & RQ_WRITE) ? "WRITE" : "READ", in drbd_report_io_error()
562 (RQ_WRITE|RQ_NET_PENDING|RQ_EXP_WRITE_ACK|RQ_EXP_RECEIVE_ACK)) in is_pending_write_protocol_A()
563 == (RQ_WRITE|RQ_NET_PENDING); in is_pending_write_protocol_A()
622 if (req->rq_state & RQ_WRITE) in __req_mod()
847 if (!(req->rq_state & RQ_WRITE) && !req->w.cb) { in __req_mod()
866 rv = req->rq_state & RQ_WRITE ? MR_WRITE : MR_READ; in __req_mod()
874 if (!(req->rq_state & RQ_WRITE)) in __req_mod()
Ddrbd_req.h247 #define RQ_WRITE (1UL << __RQ_WRITE) macro
Ddrbd_debugfs.c104 (s & RQ_WRITE) ? "W" : "R"); in seq_print_one_request()
Ddrbd_main.c206 if (!(s & RQ_WRITE)) in tl_release()
218 if (!(s & RQ_WRITE)) in tl_release()