Lines Matching defs:blk_mq_hw_ctx
21 struct blk_mq_hw_ctx { struct
22 struct {
25 } ____cacheline_aligned_in_smp;
27 unsigned long state; /* BLK_MQ_S_* flags */
28 struct delayed_work run_work;
29 struct delayed_work delay_work;
30 cpumask_var_t cpumask;
31 int next_cpu;
32 int next_cpu_batch;
34 unsigned long flags; /* BLK_MQ_F_* flags */
36 struct request_queue *queue;
37 struct blk_flush_queue *fq;
39 void *driver_data;
41 struct blk_mq_ctxmap ctx_map;
43 unsigned int nr_ctx;
44 struct blk_mq_ctx **ctxs;
46 atomic_t wait_index;
48 struct blk_mq_tags *tags;
50 unsigned long queued;
51 unsigned long run;
53 unsigned long dispatched[BLK_MQ_MAX_DISPATCH_ORDER];
55 unsigned int numa_node;
56 unsigned int queue_num;
58 atomic_t nr_active;
60 struct blk_mq_cpu_notifier cpu_notifier;
61 struct kobject kobj;
63 unsigned long poll_invoked;
64 unsigned long poll_success;