Searched refs:pgcnt (Results 1 – 9 of 9) sorted by relevance
/drivers/mtd/tests/ |
D | mtd_torturetest.c | 46 static int pgcnt; variable 47 module_param(pgcnt, int, S_IRUGO); 48 MODULE_PARM_DESC(pgcnt, "number of pages per eraseblock to torture (0 => all)"); 135 if (pgcnt) { in check_eraseblock() 136 addr = (ebnum + 1) * mtd->erasesize - pgcnt * pgsize; in check_eraseblock() 137 len = pgcnt * pgsize; in check_eraseblock() 189 if (pgcnt) { in write_pattern() 190 addr = (ebnum + 1) * mtd->erasesize - pgcnt * pgsize; in write_pattern() 191 len = pgcnt * pgsize; in write_pattern() 227 if (pgcnt) in tort_init() [all …]
|
D | mtd_speedtest.c | 48 static int pgcnt; variable 145 for (i = 0; i < pgcnt; i++) { in write_eraseblock_by_page() 164 int i, n = pgcnt / 2, err = 0; in write_eraseblock_by_2pages() 180 if (pgcnt % 2) { in write_eraseblock_by_2pages() 219 for (i = 0; i < pgcnt; i++) { in read_eraseblock_by_page() 241 int i, n = pgcnt / 2, err = 0; in read_eraseblock_by_2pages() 260 if (pgcnt % 2) { in read_eraseblock_by_2pages() 374 pgcnt = mtd->erasesize / pgsize; in mtd_speedtest_init() 380 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_speedtest_init()
|
D | mtd_readtest.c | 43 static int pgcnt; variable 53 for (i = 0; i < pgcnt; i++) { in read_eraseblock_by_page() 117 for (pg = 0, i = 0; pg < pgcnt; pg++) in dump_eraseblock() 197 pgcnt = mtd->erasesize / pgsize; in mtd_readtest_init() 203 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_readtest_init()
|
D | mtd_oobtest.c | 44 static int pgcnt; variable 113 for (i = 0; i < pgcnt; ++i, addr += mtd->writesize) { in write_eraseblock() 166 for (i = 0; i < pgcnt; ++i, addr += mtd->writesize) { in verify_eraseblock() 256 size_t len = mtd->ecclayout->oobavail * pgcnt; in verify_eraseblock_in_one_go() 373 pgcnt = mtd->erasesize / mtd->writesize; in mtd_oobtest_init() 379 mtd->writesize, ebcnt, pgcnt, mtd->oobsize); in mtd_oobtest_init()
|
D | mtd_stresstest.c | 51 static int pgcnt; variable 258 pgcnt = mtd->erasesize / pgsize; in mtd_stresstest_init() 264 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_stresstest_init()
|
D | mtd_pagetest.c | 47 static int pgcnt; variable 110 for (j = 0; j < pgcnt - 1; ++j, addr += pgsize) { in verify_eraseblock() 507 pgcnt = mtd->erasesize / mtd->writesize; in mtd_pagetest_init() 514 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_pagetest_init()
|
D | mtd_subpagetest.c | 45 static int pgcnt; variable 385 pgcnt = mtd->erasesize / mtd->writesize; in mtd_subpagetest_init() 391 mtd->writesize, subpgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_subpagetest_init()
|
/drivers/iommu/ |
D | exynos-iommu.c | 877 static int lv1set_section(unsigned long *sent, phys_addr_t paddr, short *pgcnt) in lv1set_section() argument 883 if (*pgcnt != NUM_LV2ENTRIES) in lv1set_section() 888 *pgcnt = 0; in lv1set_section() 899 short *pgcnt) in lv2set_page() argument 907 *pgcnt -= 1; in lv2set_page() 919 *pgcnt -= SPAGES_PER_LPAGE; in lv2set_page()
|
/drivers/scsi/lpfc/ |
D | lpfc_crtn.h | 390 extern unsigned int pgcnt;
|