Home
last modified time | relevance | path

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

/linux-6.1.9/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()
525 (req->rq_state & RQ_WRITE) ? "WRITE" : "READ", in drbd_report_io_error()
540 (RQ_WRITE|RQ_NET_PENDING|RQ_EXP_WRITE_ACK|RQ_EXP_RECEIVE_ACK)) in is_pending_write_protocol_A()
541 == (RQ_WRITE|RQ_NET_PENDING); in is_pending_write_protocol_A()
600 if (req->rq_state & RQ_WRITE) in __req_mod()
826 if (!(req->rq_state & RQ_WRITE) && !req->w.cb) { in __req_mod()
845 rv = req->rq_state & RQ_WRITE ? MR_WRITE : MR_READ; in __req_mod()
853 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.c185 if (!(s & RQ_WRITE)) in tl_release()
197 if (!(s & RQ_WRITE)) in tl_release()