Home
last modified time | relevance | path

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

/drivers/mtd/tests/
Dmtd_torturetest.c46 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 …]
Dmtd_speedtest.c48 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()
Dmtd_readtest.c43 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()
Dmtd_oobtest.c44 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()
Dmtd_stresstest.c51 static int pgcnt; variable
258 pgcnt = mtd->erasesize / pgsize; in mtd_stresstest_init()
264 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_stresstest_init()
Dmtd_pagetest.c47 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()
Dmtd_subpagetest.c45 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/
Dexynos-iommu.c877 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/
Dlpfc_crtn.h390 extern unsigned int pgcnt;