Home
last modified time | relevance | path

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

/block/
Dblk-mq-tag.c306 int i, j, ret = 0; in blk_mq_reinit_tagset() local
317 for (j = 0; j < tags->nr_tags; j++) { in blk_mq_reinit_tagset()
318 if (!tags->rqs[j]) in blk_mq_reinit_tagset()
322 tags->rqs[j]); in blk_mq_reinit_tagset()
Dbio.c1261 int j; in bio_map_user_iov() local
1315 for (j = cur_page; j < page_limit; j++) { in bio_map_user_iov()
1316 if (!pages[j]) in bio_map_user_iov()
1318 put_page(pages[j]); in bio_map_user_iov()
1325 for (j = cur_page; j < page_limit; j++) { in bio_map_user_iov()
1338 if (bio_add_pc_page(q, bio, pages[j], bytes, offset) < in bio_map_user_iov()
1347 put_page(pages[j]); in bio_map_user_iov()
1353 cur_page = j; in bio_map_user_iov()
1357 while (j < page_limit) in bio_map_user_iov()
1358 put_page(pages[j++]); in bio_map_user_iov()
[all …]
Dblk-mq.c1465 unsigned int i, j, entries_per_page, max_order = 4; in blk_mq_init_rq_map() local
1528 for (j = 0; j < to_do; j++) { in blk_mq_init_rq_map()
1907 int i, j; in blk_mq_realloc_hw_ctxs() local
1945 for (j = i; j < q->nr_hw_queues; j++) { in blk_mq_realloc_hw_ctxs()
1946 struct blk_mq_hw_ctx *hctx = hctxs[j]; in blk_mq_realloc_hw_ctxs()
1950 blk_mq_free_rq_map(set, hctx->tags, j); in blk_mq_realloc_hw_ctxs()
1951 set->tags[j] = NULL; in blk_mq_realloc_hw_ctxs()
1953 blk_mq_exit_hctx(q, set, hctx, j); in blk_mq_realloc_hw_ctxs()
1958 hctxs[j] = NULL; in blk_mq_realloc_hw_ctxs()
Dblk-mq-sysfs.c400 int i, j; in __blk_mq_unregister_dev() local
405 hctx_for_each_ctx(hctx, ctx, j) in __blk_mq_unregister_dev()
Dcfq-iosched.c810 #define for_each_cfqg_st(cfqg, i, j, st) \ argument
812 for (j = 0, st = i < IDLE_WORKLOAD ? &cfqg->service_trees[i][j]\
814 (i < IDLE_WORKLOAD && j <= SYNC_WORKLOAD) || \
815 (i == IDLE_WORKLOAD && j == 0); \
816 j++, st = i < IDLE_WORKLOAD ? \
817 &cfqg->service_trees[i][j]: NULL) \
1552 int i, j; in cfq_init_cfqg_base() local
1554 for_each_cfqg_st(cfqg, i, j, st) in cfq_init_cfqg_base()
2763 int i, j; in cfq_get_next_queue_forced() local
2773 for_each_cfqg_st(cfqg, i, j, st) in cfq_get_next_queue_forced()