Home
last modified time | relevance | path

Searched refs:index (Results 1 – 4 of 4) sorted by relevance

/block/
Dblk-mq-cpumap.c46 int blk_mq_hw_queue_to_node(struct blk_mq_queue_map *qmap, unsigned int index) in blk_mq_hw_queue_to_node() argument
51 if (index == qmap->mq_map[i]) in blk_mq_hw_queue_to_node()
Dblk-throttle.c1572 int index = of_cft(of)->private; in tg_set_limit() local
1583 v[0] = tg->bps_conf[READ][index]; in tg_set_limit()
1584 v[1] = tg->bps_conf[WRITE][index]; in tg_set_limit()
1585 v[2] = tg->iops_conf[READ][index]; in tg_set_limit()
1586 v[3] = tg->iops_conf[WRITE][index]; in tg_set_limit()
1629 tg->bps_conf[READ][index] = v[0]; in tg_set_limit()
1630 tg->bps_conf[WRITE][index] = v[1]; in tg_set_limit()
1631 tg->iops_conf[READ][index] = v[2]; in tg_set_limit()
1632 tg->iops_conf[WRITE][index] = v[3]; in tg_set_limit()
1634 if (index == LIMIT_MAX) { in tg_set_limit()
[all …]
Dgenhd.c218 int index, ret = 0; in __register_blkdev() local
224 for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) { in __register_blkdev()
225 if (major_names[index] == NULL) in __register_blkdev()
229 if (index == 0) { in __register_blkdev()
235 major = index; in __register_blkdev()
259 index = major_to_index(major); in __register_blkdev()
262 for (n = &major_names[index]; *n; n = &(*n)->next) { in __register_blkdev()
287 int index = major_to_index(major); in unregister_blkdev() local
291 for (n = &major_names[index]; *n; n = &(*n)->next) in unregister_blkdev()
Dbfq-iosched.c7132 static int bfq_init_hctx(struct blk_mq_hw_ctx *hctx, unsigned int index) in bfq_init_hctx() argument