Home
last modified time | relevance | path

Searched refs:poll_stat (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/block/
A Dblk-stat.c237 struct blk_rq_stat *poll_stat; in blk_stats_alloc_enable() local
239 poll_stat = kcalloc(BLK_MQ_POLL_STATS_BKTS, sizeof(*poll_stat), in blk_stats_alloc_enable()
241 if (!poll_stat) in blk_stats_alloc_enable()
244 if (cmpxchg(&q->poll_stat, NULL, poll_stat) != NULL) { in blk_stats_alloc_enable()
245 kfree(poll_stat); in blk_stats_alloc_enable()
A Dblk-mq-debugfs.c33 if (!q->poll_stat) in queue_poll_stat_show()
38 print_stat(m, &q->poll_stat[2 * bucket]); in queue_poll_stat_show()
42 print_stat(m, &q->poll_stat[2 * bucket + 1]); in queue_poll_stat_show()
A Dblk-core.c266 if (q->poll_stat) in blk_free_queue()
271 kfree(q->poll_stat); in blk_free_queue()
A Dblk-mq.c4760 if (q->poll_stat) in blk_poll_stats_enable()
4772 if (!q->poll_stat || blk_stat_is_active(q->poll_cb)) in blk_mq_poll_stats_start()
4785 q->poll_stat[bucket] = cb->stat[bucket]; in blk_mq_poll_stats_fn()
4815 if (q->poll_stat[bucket].nr_samples) in blk_mq_poll_nsecs()
4816 ret = (q->poll_stat[bucket].mean + 1) / 2; in blk_mq_poll_nsecs()
/linux-6.3-rc2/include/linux/
A Dblkdev.h474 struct blk_rq_stat *poll_stat; member

Completed in 29 milliseconds