Lines Matching refs:nb_blocs
53 int nb_blocs[4]; member
74 if (ret.nb_blocs[0] == 0 && ret.sector_len[0] == 0) { in expand_config_defaults()
76 ret.nb_blocs[0] = UNIFORM_FLASH_SIZE / UNIFORM_FLASH_SECTOR_SIZE; in expand_config_defaults()
283 config->nb_blocs[0], in test_geometry()
285 config->nb_blocs[1], in test_geometry()
287 config->nb_blocs[2], in test_geometry()
289 config->nb_blocs[3], in test_geometry()
320 !!c->nb_blocs[0] + !!c->nb_blocs[1] + !!c->nb_blocs[2] + in test_geometry()
321 !!c->nb_blocs[3]); in test_geometry()
350 g_assert_cmphex(nb_sectors, ==, c->nb_blocs[region]); in test_geometry()
408 for (uint32_t i = 0; i < c->nb_blocs[region]; ++i) { in test_geometry()
448 for (int i = 0; i < config->nb_blocs[region]; ++i) { in test_geometry()
460 if (c->nb_blocs[region] > 1) { in test_geometry()
463 byte_addr += c->sector_len[region] * c->nb_blocs[region]; in test_geometry()
470 for (int i = 0; i < config->nb_blocs[region]; ++i) { in test_geometry()
626 .nb_blocs = { 127, 1, 2, 1 },
632 .nb_blocs = { 1, 2, 1, 127 },
662 config->nb_blocs[0], in main()
664 config->nb_blocs[1], in main()
666 config->nb_blocs[2], in main()
668 config->nb_blocs[3], in main()