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()
1658 int index = of_cft(of)->private; in tg_set_limit() local1666 v[0] = tg->bps_conf[READ][index]; in tg_set_limit()1667 v[1] = tg->bps_conf[WRITE][index]; in tg_set_limit()1668 v[2] = tg->iops_conf[READ][index]; in tg_set_limit()1669 v[3] = tg->iops_conf[WRITE][index]; in tg_set_limit()1712 tg->bps_conf[READ][index] = v[0]; in tg_set_limit()1713 tg->bps_conf[WRITE][index] = v[1]; in tg_set_limit()1714 tg->iops_conf[READ][index] = v[2]; in tg_set_limit()1715 tg->iops_conf[WRITE][index] = v[3]; in tg_set_limit()1717 if (index == LIMIT_MAX) { in tg_set_limit()[all …]
443 int index, ret = 0; in register_blkdev() local449 for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) { in register_blkdev()450 if (major_names[index] == NULL) in register_blkdev()454 if (index == 0) { in register_blkdev()460 major = index; in register_blkdev()481 index = major_to_index(major); in register_blkdev()483 for (n = &major_names[index]; *n; n = &(*n)->next) { in register_blkdev()508 int index = major_to_index(major); in unregister_blkdev() local511 for (n = &major_names[index]; *n; n = &(*n)->next) in unregister_blkdev()
51 static inline struct hlist_head *bsg_dev_idx_hash(int index) in bsg_dev_idx_hash() argument53 return &bsg_device_list[index & (BSG_LIST_ARRAY_SIZE - 1)]; in bsg_dev_idx_hash()
6394 static int bfq_init_hctx(struct blk_mq_hw_ctx *hctx, unsigned int index) in bfq_init_hctx() argument