Searched refs:rw_flags (Results 1 – 3 of 3) sorted by relevance
974 static struct request *__get_request(struct request_list *rl, int rw_flags, in __get_request() argument982 const bool is_sync = rw_is_sync(rw_flags) != 0; in __get_request()988 may_queue = elv_may_queue(q, rw_flags); in __get_request()1046 rw_flags |= REQ_ELVPRIV; in __get_request()1053 rw_flags |= REQ_IO_STAT; in __get_request()1063 rq->cmd_flags = rw_flags | REQ_ALLOCED; in __get_request()1066 if (rw_flags & REQ_ELVPRIV) { in __get_request()1092 trace_block_getrq(q, bio, rw_flags & 1); in __get_request()1122 freed_request(rl, rw_flags); in __get_request()1151 static struct request *get_request(struct request_queue *q, int rw_flags, in get_request() argument[all …]
183 struct request *rq, unsigned int rw_flags) in blk_mq_rq_ctx_init() argument186 rw_flags |= REQ_IO_STAT; in blk_mq_rq_ctx_init()192 rq->cmd_flags |= rw_flags; in blk_mq_rq_ctx_init()227 ctx->rq_dispatched[rw_is_sync(rw_flags)]++; in blk_mq_rq_ctx_init()
643 static inline bool rw_is_sync(unsigned int rw_flags) in rw_is_sync() argument645 return !(rw_flags & REQ_WRITE) || (rw_flags & REQ_SYNC); in rw_is_sync()