Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/drbd/
Ddrbd_req.c52 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new()
121 if (s & RQ_WRITE) in drbd_req_destroy()
133 if (s & RQ_WRITE) { in drbd_req_destroy()
534 (req->rq_state & RQ_WRITE) ? "WRITE" : "READ", in drbd_report_io_error()
549 (RQ_WRITE|RQ_NET_PENDING|RQ_EXP_WRITE_ACK|RQ_EXP_RECEIVE_ACK)) in is_pending_write_protocol_A()
550 == (RQ_WRITE|RQ_NET_PENDING); in is_pending_write_protocol_A()
609 if (req->rq_state & RQ_WRITE) in __req_mod()
834 if (!(req->rq_state & RQ_WRITE) && !req->w.cb) { in __req_mod()
853 rv = req->rq_state & RQ_WRITE ? MR_WRITE : MR_READ; in __req_mod()
861 if (!(req->rq_state & RQ_WRITE)) in __req_mod()
Ddrbd_req.h242 #define RQ_WRITE (1UL << __RQ_WRITE) macro
Ddrbd_debugfs.c105 (s & RQ_WRITE) ? "W" : "R"); in seq_print_one_request()
Ddrbd_main.c197 if (!(s & RQ_WRITE)) in tl_release()
209 if (!(s & RQ_WRITE)) in tl_release()