Searched refs:nr_regions (Results 1 – 14 of 14) sorted by relevance
/Linux-v4.19/drivers/mtd/chips/ |
D | jedec_probe.c | 272 const uint8_t nr_regions; member 305 .nr_regions = 1, 317 .nr_regions = 4, 332 .nr_regions = 4, 347 .nr_regions = 4, 362 .nr_regions = 4, 377 .nr_regions = 4, 393 .nr_regions = 6, 410 .nr_regions = 6, 427 .nr_regions = 4, [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-switch.c | 44 unsigned long nr_regions; /* Number of regions making up the device */ member 80 sector_t nr_regions = ti->len; in alloc_region_table() local 99 if (sector_div(nr_regions, sctx->region_size)) in alloc_region_table() 100 nr_regions++; in alloc_region_table() 102 if (nr_regions >= ULONG_MAX) { in alloc_region_table() 106 sctx->nr_regions = nr_regions; in alloc_region_table() 108 nr_slots = nr_regions; in alloc_region_table() 198 for (region_nr = 0; region_nr < sctx->nr_regions; region_nr++) { in initialise_region_table() 414 unlikely(region_index + num_write >= sctx->nr_regions)) { in process_set_region_mappings() 416 region_index, num_write, sctx->nr_regions); in process_set_region_mappings() [all …]
|
D | dm-log.c | 208 __le64 nr_regions; member 214 uint64_t nr_regions; member 284 disk->nr_regions = cpu_to_le64(core->nr_regions); in header_to_disk() 291 core->nr_regions = le64_to_cpu(disk->nr_regions); in header_from_disk() 330 log->header.nr_regions = 0; in read_header() 605 lc->header.nr_regions = 0; in disk_resume() 610 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume() 614 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume() 629 lc->header.nr_regions = lc->region_count; in disk_resume()
|
D | dm-raid1.c | 70 region_t nr_regions; member 342 if (key == (ms->nr_regions - 1)) { in recover() 404 (log->type->get_sync_count(log) == ms->nr_regions)) { in do_recovery() 900 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context() 917 dl, region_size, ms->nr_regions); in alloc_context() 1415 (unsigned long long)ms->nr_regions, buffer); in mirror_status()
|
D | dm-region-hash.c | 168 region_t nr_regions) in dm_region_hash_create() argument 179 max_buckets = nr_regions >> 6; in dm_region_hash_create()
|
/Linux-v4.19/virt/kvm/arm/vgic/ |
D | vgic-mmio-v2.c | 483 dev->nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); in vgic_v2_init_dist_iodev() 509 iodev.nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); in vgic_v2_has_attr_regs() 514 iodev.nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers); in vgic_v2_has_attr_regs() 537 .nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers), in vgic_v2_cpuif_uaccess() 549 .nr_regions = ARRAY_SIZE(vgic_v2_dist_registers), in vgic_v2_dist_uaccess()
|
D | vgic-mmio-v3.c | 595 dev->nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_init_dist_iodev() 647 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rdbase_registers); in vgic_register_redist_iodev() 662 sgi_dev->nr_regions = ARRAY_SIZE(vgic_v3_sgibase_registers); in vgic_register_redist_iodev() 832 iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_has_attr_regs() 837 iodev.nr_regions = ARRAY_SIZE(vgic_v3_rdbase_registers); in vgic_v3_has_attr_regs() 985 .nr_regions = ARRAY_SIZE(vgic_v3_dist_registers), in vgic_v3_dist_uaccess() 996 .nr_regions = ARRAY_SIZE(vgic_v3_rdbase_registers), in vgic_v3_redist_uaccess() 1001 .nr_regions = ARRAY_SIZE(vgic_v3_sgibase_registers), in vgic_v3_redist_uaccess()
|
D | vgic-mmio.c | 624 int nr_regions, unsigned int offset) in vgic_find_mmio_region() argument 626 return bsearch((void *)(uintptr_t)offset, regions, nr_regions, in vgic_find_mmio_region() 742 region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, in vgic_get_mmio_region()
|
D | vgic-mmio.h | 222 int nr_regions, unsigned int offset);
|
D | vgic-its.c | 1666 iodev->nr_regions = ARRAY_SIZE(its_registers); in vgic_register_its_iodev()
|
/Linux-v4.19/drivers/pci/controller/ |
D | pcie-iproc.h | 42 unsigned int nr_regions; member
|
D | pcie-iproc.c | 1108 for (region_idx = 0; region_idx < ib->nr_regions; region_idx++) { in iproc_pcie_setup_ib() 1372 pcie->ib.nr_regions = ARRAY_SIZE(paxb_v2_ib_map); in iproc_pcie_rev_init()
|
/Linux-v4.19/include/linux/ |
D | dm-region-hash.h | 42 region_t nr_regions);
|
/Linux-v4.19/include/kvm/ |
D | arm_vgic.h | 172 int nr_regions; member
|