Home
last modified time | relevance | path

Searched refs:ddir (Results 1 – 2 of 2) sorted by relevance

/block/
Dmq-deadline.c183 static inline int deadline_check_fifo(struct deadline_data *dd, int ddir) in deadline_check_fifo() argument
185 struct request *rq = rq_entry_fifo(dd->fifo_list[ddir].next); in deadline_check_fifo()
656 #define DEADLINE_DEBUGFS_DDIR_ATTRS(ddir, name) \ argument
665 return seq_list_start(&dd->fifo_list[ddir], *pos); \
674 return seq_list_next(v, &dd->fifo_list[ddir], pos); \
698 struct request *rq = dd->next_rq[ddir]; \
Dblk-mq.c48 int ddir, sectors, bucket; in blk_mq_poll_stats_bkt() local
50 ddir = rq_data_dir(rq); in blk_mq_poll_stats_bkt()
53 bucket = ddir + 2 * ilog2(sectors); in blk_mq_poll_stats_bkt()
58 return ddir + BLK_MQ_POLL_STATS_BKTS - 2; in blk_mq_poll_stats_bkt()