Searched refs:map (Results 1 – 9 of 9) sorted by relevance
/block/ |
D | blk-mq-cpumap.c | 34 int blk_mq_update_queue_map(unsigned int *map, unsigned int nr_queues, in blk_mq_update_queue_map() argument 56 map[i] = 0; in blk_mq_update_queue_map() 66 map[i] = cpu_to_queue_index(nr_cpus, nr_queues, queue); in blk_mq_update_queue_map() 78 map[i] = cpu_to_queue_index(nr_uniq_cpus, nr_queues, in blk_mq_update_queue_map() 82 map[i] = map[first_sibling]; in blk_mq_update_queue_map() 91 unsigned int *map; in blk_mq_make_queue_map() local 94 map = kzalloc_node(sizeof(*map) * nr_cpu_ids, GFP_KERNEL, in blk_mq_make_queue_map() 96 if (!map) in blk_mq_make_queue_map() 99 if (!blk_mq_update_queue_map(map, set->nr_hw_queues, cpu_online_mask)) in blk_mq_make_queue_map() 100 return map; in blk_mq_make_queue_map() [all …]
|
D | blk-mq-tag.c | 27 struct blk_align_bitmap *bm = &bt->map[i]; in bt_has_free_tags() 204 tag = __bt_get_word(&bt->map[index], TAG_TO_BIT(bt, last_tag), in __bt_get() 386 clear_bit(TAG_TO_BIT(bt, tag), &bt->map[index].word); in bt_clear_tag() 431 struct blk_align_bitmap *bm = &bt->map[i]; in bt_for_each() 455 struct blk_align_bitmap *bm = &bt->map[i]; in bt_tags_for_each() 513 struct blk_align_bitmap *bm = &bt->map[i]; in bt_unused_tags() 531 bt->map[i].depth = min(map_depth, tags_per_word); in bt_update_count() 532 map_depth -= bt->map[i].depth; in bt_update_count() 573 bt->map = kzalloc_node(nr * sizeof(struct blk_align_bitmap), in bt_alloc() 575 if (!bt->map) in bt_alloc() [all …]
|
D | blk-mq.h | 51 extern int blk_mq_update_queue_map(unsigned int *map, unsigned int nr_queues, 53 extern int blk_mq_hw_queue_to_node(unsigned int *map, unsigned int);
|
D | blk-mq.c | 46 if (hctx->ctx_map.map[i].word) in blk_mq_hctx_has_pending() 55 return &hctx->ctx_map.map[ctx->index_hw / hctx->ctx_map.bits_per_word]; in get_bm() 713 struct blk_align_bitmap *bm = &hctx->ctx_map.map[i]; in flush_busy_ctxs() 1565 kfree(bitmap->map); in blk_mq_free_bitmap() 1575 bitmap->map = kzalloc_node(num_maps * sizeof(struct blk_align_bitmap), in blk_mq_alloc_bitmap() 1577 if (!bitmap->map) in blk_mq_alloc_bitmap() 1582 bitmap->map[i].depth = min(total, bitmap->bits_per_word); in blk_mq_alloc_bitmap() 1583 total -= bitmap->map[i].depth; in blk_mq_alloc_bitmap() 1853 struct blk_mq_ctxmap *map = &hctx->ctx_map; in blk_mq_map_swqueue() local 1879 map->size = DIV_ROUND_UP(hctx->nr_ctx, map->bits_per_word); in blk_mq_map_swqueue() [all …]
|
D | Makefile | 6 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
|
D | blk-mq-tag.h | 25 struct blk_align_bitmap *map; member
|
/block/partitions/ |
D | ldm.c | 1336 f->map = 0xFF << num; in ldm_frag_add() 1344 if (f->map & (1 << rec)) { in ldm_frag_add() 1346 f->map &= 0x7F; /* Mark the group as broken */ in ldm_frag_add() 1349 f->map |= (1 << rec); in ldm_frag_add() 1397 if (f->map != 0xFF) { in ldm_frag_commit() 1399 f->group, f->map); in ldm_frag_commit()
|
D | ldm.h | 109 u8 map; /* Which portions are in use */ member
|
D | Kconfig | 112 bool "Macintosh partition map support" if PARTITION_ADVANCED
|