Searched refs:map (Results 1 - 8 of 8) sorted by relevance

/block/
H A Dblk-mq-cpumap.c34 int blk_mq_update_queue_map(unsigned int *map, unsigned int nr_queues) argument
55 map[i] = 0;
65 map[i] = cpu_to_queue_index(nr_cpus, nr_queues, queue);
77 map[i] = cpu_to_queue_index(nr_uniq_cpus, nr_queues,
81 map[i] = map[first_sibling];
90 unsigned int *map; local
92 /* If cpus are offline, map them to first hctx */
93 map = kzalloc_node(sizeof(*map) * num_possible_cpu
[all...]
H A Dblk-mq.h53 extern int blk_mq_update_queue_map(unsigned int *map, unsigned int nr_queues);
54 extern int blk_mq_hw_queue_to_node(unsigned int *map, unsigned int);
H A Dblk-mq-tag.c9 * between multiple submitters when a shared tag map is used.
27 struct blk_align_bitmap *bm = &bt->map[i];
149 * exhaust the map.
173 * until the map is exhausted.
188 tag = __bt_get_word(&bt->map[index], TAG_TO_BIT(bt, last_tag));
347 clear_bit_unlock(TAG_TO_BIT(bt, tag), &bt->map[index].word);
400 struct blk_align_bitmap *bm = &bt->map[i];
431 struct blk_align_bitmap *bm = &bt->map[i];
449 bt->map[i].depth = min(map_depth, tags_per_word);
450 map_depth -= bt->map[
[all...]
H A Dblk-mq-tag.h25 struct blk_align_bitmap *map; member in struct:blk_mq_bitmap_tags
32 * Tag address space map.
H A DMakefile6 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
H A Dblk-mq.c45 if (hctx->ctx_map.map[i].word)
54 return &hctx->ctx_map.map[ctx->index_hw / hctx->ctx_map.bits_per_word];
658 struct blk_align_bitmap *bm = &hctx->ctx_map.map[i];
1408 kfree(bitmap->map);
1418 bitmap->map = kzalloc_node(num_maps * sizeof(struct blk_align_bitmap),
1420 if (!bitmap->map)
1427 bitmap->map[i].depth = min(total, bitmap->bits_per_word);
1428 total -= bitmap->map[i].depth;
1780 unsigned int *map; local
1803 map
[all...]
/block/partitions/
H A Dldm.h109 u8 map; /* Which portions are in use */ member in struct:frag
H A Dldm.c1336 f->map = 0xFF << num;
1344 if (f->map & (1 << rec)) {
1346 f->map &= 0x7F; /* Mark the group as broken */
1349 f->map |= (1 << rec);
1397 if (f->map != 0xFF) {
1399 f->group, f->map);

Completed in 912 milliseconds