Searched refs:rw_flags (Results 1 – 3 of 3) sorted by relevance
1060 static struct request *__get_request(struct request_list *rl, int rw_flags, in __get_request() argument1068 const bool is_sync = rw_is_sync(rw_flags) != 0; in __get_request()1074 may_queue = elv_may_queue(q, rw_flags); in __get_request()1127 rw_flags |= REQ_ELVPRIV; in __get_request()1134 rw_flags |= REQ_IO_STAT; in __get_request()1144 rq->cmd_flags = rw_flags | REQ_ALLOCED; in __get_request()1147 if (rw_flags & REQ_ELVPRIV) { in __get_request()1173 trace_block_getrq(q, bio, rw_flags & 1); in __get_request()1203 freed_request(rl, rw_flags); in __get_request()1232 static struct request *get_request(struct request_queue *q, int rw_flags, in get_request() argument[all …]
162 struct request *rq, unsigned int rw_flags) in blk_mq_rq_ctx_init() argument165 rw_flags |= REQ_IO_STAT; in blk_mq_rq_ctx_init()171 rq->cmd_flags |= rw_flags; in blk_mq_rq_ctx_init()206 ctx->rq_dispatched[rw_is_sync(rw_flags)]++; in blk_mq_rq_ctx_init()
615 static inline bool rw_is_sync(unsigned int rw_flags) in rw_is_sync() argument617 return !(rw_flags & REQ_WRITE) || (rw_flags & REQ_SYNC); in rw_is_sync()