Searched refs:nr_regions (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/mtd/chips/
H A Djedec_probe.c270 const uint8_t nr_regions; member in struct:amd_flash_info
303 .nr_regions = 1,
315 .nr_regions = 4,
330 .nr_regions = 4,
345 .nr_regions = 4,
360 .nr_regions = 4,
375 .nr_regions = 4,
391 .nr_regions = 6,
408 .nr_regions = 6,
425 .nr_regions = 4,
440 .nr_regions = 4,
455 .nr_regions = 4,
470 .nr_regions = 1,
482 .nr_regions = 1,
494 .nr_regions = 1,
506 .nr_regions = 1,
518 .nr_regions = 1,
530 .nr_regions = 4,
545 .nr_regions = 4,
560 .nr_regions = 4,
575 .nr_regions = 1,
587 .nr_regions = 1,
600 .nr_regions = 2,
613 .nr_regions = 2,
626 .nr_regions = 2,
639 .nr_regions = 2,
652 .nr_regions = 4,
667 .nr_regions = 4,
682 .nr_regions = 1,
694 .nr_regions = 4,
709 .nr_regions = 1,
721 .nr_regions = 2,
734 .nr_regions = 2,
747 .nr_regions = 4,
762 .nr_regions = 4,
777 .nr_regions = 4,
792 .nr_regions = 4,
807 .nr_regions = 4,
822 .nr_regions = 4,
837 .nr_regions = 4,
852 .nr_regions = 2,
865 .nr_regions = 2,
878 .nr_regions = 2,
891 .nr_regions = 2,
904 .nr_regions = 2,
917 .nr_regions = 2,
930 .nr_regions = 1,
942 .nr_regions = 1,
954 .nr_regions = 1,
966 .nr_regions = 2,
979 .nr_regions = 2,
992 .nr_regions = 2,
1005 .nr_regions = 1,
1017 .nr_regions = 2,
1030 .nr_regions = 2,
1043 .nr_regions = 2,
1056 .nr_regions = 2,
1069 .nr_regions = 2,
1082 .nr_regions = 2,
1095 .nr_regions = 2,
1108 .nr_regions = 2,
1121 .nr_regions = 1,
1133 .nr_regions = 1,
1145 .nr_regions = 1,
1157 .nr_regions = 4,
1172 .nr_regions = 3,
1186 .nr_regions = 4,
1201 .nr_regions = 1,
1213 .nr_regions = 1,
1225 .nr_regions = 4,
1240 .nr_regions = 4,
1255 .nr_regions = 4,
1270 .nr_regions = 1,
1282 .nr_regions = 1,
1294 .nr_regions = 1,
1306 .nr_regions = 2,
1319 .nr_regions = 1,
1331 .nr_regions = 1,
1343 .nr_regions = 1,
1354 .nr_regions = 1,
1365 .nr_regions = 1,
1377 .nr_regions = 1,
1389 .nr_regions = 1,
1401 .nr_regions = 1,
1413 .nr_regions = 1,
1425 .nr_regions = 1,
1438 .nr_regions = 1,
1450 .nr_regions = 1,
1462 .nr_regions = 1,
1474 .nr_regions = 1,
1486 .nr_regions = 1,
1498 .nr_regions = 2,
1511 .nr_regions = 2,
1525 .nr_regions = 2,
1539 .nr_regions = 2,
1552 .nr_regions = 4,
1567 .nr_regions = 1,
1579 .nr_regions = 4,
1594 .nr_regions = 4,
1609 .nr_regions = 4,
1624 .nr_regions = 4,
1639 .nr_regions = 4,
1654 .nr_regions = 4,
1669 .nr_regions = 4,
1684 .nr_regions = 1,
1696 .nr_regions = 1,
1708 .nr_regions = 1,
1720 .nr_regions = 1,
1732 .nr_regions = 1,
1744 .nr_regions = 4,
1759 .nr_regions = 4,
1774 .nr_regions = 1,
1786 .nr_regions = 4,
1801 .nr_regions = 4,
1816 .nr_regions = 2,
1829 .nr_regions = 2,
1842 .nr_regions = 2,
1855 .nr_regions = 2,
1868 .nr_regions = 4,
1951 num_erase_regions = jedec_table[index].nr_regions; cfi_jedec_setup()
1962 cfi->cfiq->NumEraseRegions = jedec_table[index].nr_regions; cfi_jedec_setup()
/linux-4.4.14/drivers/md/
H A Ddm-switch.c44 unsigned long nr_regions; /* Number of regions making up the device */ member in struct:switch_ctx
80 sector_t nr_regions = ti->len; alloc_region_table() local
99 if (sector_div(nr_regions, sctx->region_size)) alloc_region_table()
100 nr_regions++; alloc_region_table()
102 if (nr_regions >= ULONG_MAX) { alloc_region_table()
106 sctx->nr_regions = nr_regions; alloc_region_table()
108 nr_slots = nr_regions; alloc_region_table()
197 for (region_nr = 0; region_nr < sctx->nr_regions; region_nr++) { initialise_region_table()
413 unlikely(region_index + num_write >= sctx->nr_regions)) { process_set_region_mappings()
415 region_index, num_write, sctx->nr_regions); process_set_region_mappings()
449 if (unlikely(region_index >= sctx->nr_regions)) { process_set_region_mappings()
450 DMWARN("invalid set_region_mappings region number: %lu >= %lu", region_index, sctx->nr_regions); process_set_region_mappings()
H A Ddm-log.c208 __le64 nr_regions; member in struct:log_header_disk
214 uint64_t nr_regions; member in struct:log_header_core
284 disk->nr_regions = cpu_to_le64(core->nr_regions); header_to_disk()
291 core->nr_regions = le64_to_cpu(disk->nr_regions); header_from_disk()
328 log->header.nr_regions = 0; read_header()
603 lc->header.nr_regions = 0; disk_resume()
608 for (i = lc->header.nr_regions; i < lc->region_count; i++) disk_resume()
612 for (i = lc->header.nr_regions; i < lc->region_count; i++) disk_resume()
627 lc->header.nr_regions = lc->region_count; disk_resume()
H A Ddm-raid1.c68 region_t nr_regions; member in struct:mirror_set
342 if (key == (ms->nr_regions - 1)) { recover()
410 (log->type->get_sync_count(log) == ms->nr_regions)) { do_recovery()
904 ms->nr_regions = dm_sector_div_up(ti->len, region_size); alloc_context()
921 dl, region_size, ms->nr_regions); alloc_context()
1417 (unsigned long long)ms->nr_regions, buffer); mirror_status()
H A Ddm-region-hash.c167 region_t nr_regions) dm_region_hash_create()
177 max_buckets = nr_regions >> 6; dm_region_hash_create()
160 dm_region_hash_create( void *context, void (*dispatch_bios)(void *context, struct bio_list *bios), void (*wakeup_workers)(void *context), void (*wakeup_all_recovery_waiters)(void *context), sector_t target_begin, unsigned max_recovery, struct dm_dirty_log *log, uint32_t region_size, region_t nr_regions) dm_region_hash_create() argument
/linux-4.4.14/include/linux/
H A Ddm-region-hash.h42 region_t nr_regions);

Completed in 176 milliseconds