Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/block/drbd/
Ddrbd_req.c64 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new()
133 if (s & RQ_WRITE) in drbd_req_destroy()
145 if (s & RQ_WRITE) { in drbd_req_destroy()
546 (req->rq_state & RQ_WRITE) ? "WRITE" : "READ", in drbd_report_io_error()
561 (RQ_WRITE|RQ_NET_PENDING|RQ_EXP_WRITE_ACK|RQ_EXP_RECEIVE_ACK)) in is_pending_write_protocol_A()
562 == (RQ_WRITE|RQ_NET_PENDING); in is_pending_write_protocol_A()
621 if (req->rq_state & RQ_WRITE) in __req_mod()
846 if (!(req->rq_state & RQ_WRITE) && !req->w.cb) { in __req_mod()
865 rv = req->rq_state & RQ_WRITE ? MR_WRITE : MR_READ; in __req_mod()
873 if (!(req->rq_state & RQ_WRITE)) in __req_mod()
Ddrbd_req.h253 #define RQ_WRITE (1UL << __RQ_WRITE) macro
Ddrbd_debugfs.c105 (s & RQ_WRITE) ? "W" : "R"); in seq_print_one_request()
Ddrbd_main.c209 if (!(s & RQ_WRITE)) in tl_release()
221 if (!(s & RQ_WRITE)) in tl_release()