Searched refs:index (Results 1 – 5 of 5) sorted by relevance
86 int blk_mq_hw_queue_to_node(struct blk_mq_queue_map *qmap, unsigned int index) in blk_mq_hw_queue_to_node() argument91 if (index == qmap->mq_map[i]) in blk_mq_hw_queue_to_node()
1595 int index = of_cft(of)->private; in tg_set_limit() local1603 v[0] = tg->bps_conf[READ][index]; in tg_set_limit()1604 v[1] = tg->bps_conf[WRITE][index]; in tg_set_limit()1605 v[2] = tg->iops_conf[READ][index]; in tg_set_limit()1606 v[3] = tg->iops_conf[WRITE][index]; in tg_set_limit()1649 tg->bps_conf[READ][index] = v[0]; in tg_set_limit()1650 tg->bps_conf[WRITE][index] = v[1]; in tg_set_limit()1651 tg->iops_conf[READ][index] = v[2]; in tg_set_limit()1652 tg->iops_conf[WRITE][index] = v[3]; in tg_set_limit()1654 if (index == LIMIT_MAX) { in tg_set_limit()[all …]
357 int index, ret = 0; in register_blkdev() local363 for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) { in register_blkdev()364 if (major_names[index] == NULL) in register_blkdev()368 if (index == 0) { in register_blkdev()374 major = index; in register_blkdev()395 index = major_to_index(major); in register_blkdev()397 for (n = &major_names[index]; *n; n = &(*n)->next) { in register_blkdev()422 int index = major_to_index(major); in unregister_blkdev() local425 for (n = &major_names[index]; *n; n = &(*n)->next) in unregister_blkdev()
50 static inline struct hlist_head *bsg_dev_idx_hash(int index) in bsg_dev_idx_hash() argument52 return &bsg_device_list[index & (BSG_LIST_ARRAY_SIZE - 1)]; in bsg_dev_idx_hash()
6354 static int bfq_init_hctx(struct blk_mq_hw_ctx *hctx, unsigned int index) in bfq_init_hctx() argument