Home
last modified time | relevance | path

Searched refs:map (Results 1 – 9 of 9) sorted by relevance

/block/
Dblk-mq-cpumap.c37 unsigned int *map = qmap->mq_map; in blk_mq_map_queues() local
42 map[cpu] = -1; in blk_mq_map_queues()
51 map[cpu] = queue_index(qmap, nr_queues, q++); in blk_mq_map_queues()
55 if (map[cpu] != -1) in blk_mq_map_queues()
64 map[cpu] = queue_index(qmap, nr_queues, q++); in blk_mq_map_queues()
68 map[cpu] = queue_index(qmap, nr_queues, q++); in blk_mq_map_queues()
70 map[cpu] = map[first_sibling]; in blk_mq_map_queues()
Dblk-mq-rdma.c24 int blk_mq_rdma_map_queues(struct blk_mq_queue_map *map, in blk_mq_rdma_map_queues() argument
30 for (queue = 0; queue < map->nr_queues; queue++) { in blk_mq_rdma_map_queues()
36 map->mq_map[cpu] = map->queue_offset + queue; in blk_mq_rdma_map_queues()
42 return blk_mq_map_queues(map); in blk_mq_rdma_map_queues()
Dblk-mq.c2470 node = blk_mq_hw_queue_to_node(&set->map[HCTX_TYPE_DEFAULT], hctx_idx); in blk_mq_alloc_rq_map()
2522 node = blk_mq_hw_queue_to_node(&set->map[HCTX_TYPE_DEFAULT], hctx_idx); in blk_mq_alloc_rqs()
2983 if (!set->map[j].nr_queues) { in blk_mq_map_swqueue()
2988 hctx_idx = set->map[j].mq_map[i]; in blk_mq_map_swqueue()
2998 set->map[j].mq_map[i] = 0; in blk_mq_map_swqueue()
3312 node = blk_mq_hw_queue_to_node(&set->map[HCTX_TYPE_DEFAULT], i); in blk_mq_realloc_hw_ctxs()
3394 set->map[HCTX_TYPE_POLL].nr_queues) in blk_mq_init_allocated_queue()
3508 set->map[HCTX_TYPE_DEFAULT].nr_queues = set->nr_hw_queues; in blk_mq_update_queue_map()
3528 blk_mq_clear_mq_map(&set->map[i]); in blk_mq_update_queue_map()
3533 return blk_mq_map_queues(&set->map[HCTX_TYPE_DEFAULT]); in blk_mq_update_queue_map()
[all …]
DMakefile7 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
Dblk-mq.h98 return q->queue_hw_ctx[q->tag_set->map[type].mq_map[cpu]]; in blk_mq_map_queue_type()
Dblk-sysfs.c424 !q->tag_set->map[HCTX_TYPE_POLL].nr_queues) in queue_poll_store()
/block/partitions/
Dldm.c1267 f->map = 0xFF << num; in ldm_frag_add()
1275 if (f->map & (1 << rec)) { in ldm_frag_add()
1277 f->map &= 0x7F; /* Mark the group as broken */ in ldm_frag_add()
1280 f->map |= (1 << rec); in ldm_frag_add()
1328 if (f->map != 0xFF) { in ldm_frag_commit()
1330 f->group, f->map); in ldm_frag_commit()
Dldm.h92 u8 map; /* Which portions are in use */ member
DKconfig113 bool "Macintosh partition map support" if PARTITION_ADVANCED