Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/drbd/
Ddrbd_req.c33 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new()
101 if (s & RQ_WRITE) in drbd_req_destroy()
113 if (s & RQ_WRITE) { in drbd_req_destroy()
526 (req->rq_state & RQ_WRITE) ? "WRITE" : "READ", in drbd_report_io_error()
541 (RQ_WRITE|RQ_NET_PENDING|RQ_EXP_WRITE_ACK|RQ_EXP_RECEIVE_ACK)) in is_pending_write_protocol_A()
542 == (RQ_WRITE|RQ_NET_PENDING); in is_pending_write_protocol_A()
604 if (req->rq_state & RQ_WRITE) in __req_mod()
830 if (!(req->rq_state & RQ_WRITE) && !req->w.cb) { in __req_mod()
849 rv = req->rq_state & RQ_WRITE ? MR_WRITE : MR_READ; in __req_mod()
857 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.c184 if (!(s & RQ_WRITE)) in tl_release()
196 if (!(s & RQ_WRITE)) in tl_release()