Searched refs:pgcnt (Results 1 – 9 of 9) sorted by relevance
/drivers/mtd/tests/ |
D | torturetest.c | 48 static int pgcnt; variable 49 module_param(pgcnt, int, S_IRUGO); 50 MODULE_PARM_DESC(pgcnt, "number of pages per eraseblock to torture (0 => all)"); 108 if (pgcnt) { in check_eraseblock() 109 addr = (loff_t)(ebnum + 1) * mtd->erasesize - pgcnt * pgsize; in check_eraseblock() 110 len = pgcnt * pgsize; in check_eraseblock() 162 if (pgcnt) { in write_pattern() 163 addr = (loff_t)(ebnum + 1) * mtd->erasesize - pgcnt * pgsize; in write_pattern() 164 len = pgcnt * pgsize; in write_pattern() 200 if (pgcnt) in tort_init() [all …]
|
D | speedtest.c | 51 static int pgcnt; variable 95 for (i = 0; i < pgcnt; i++) { in write_eraseblock_by_page() 109 int i, n = pgcnt / 2, err = 0; in write_eraseblock_by_2pages() 120 if (pgcnt % 2) in write_eraseblock_by_2pages() 139 for (i = 0; i < pgcnt; i++) { in read_eraseblock_by_page() 153 int i, n = pgcnt / 2, err = 0; in read_eraseblock_by_2pages() 164 if (pgcnt % 2) in read_eraseblock_by_2pages() 230 pgcnt = mtd->erasesize / pgsize; in mtd_speedtest_init() 236 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_speedtest_init()
|
D | readtest.c | 45 static int pgcnt; variable 54 for (i = 0; i < pgcnt; i++) { in read_eraseblock_by_page() 112 for (pg = 0, i = 0; pg < pgcnt; pg++) in dump_eraseblock() 157 pgcnt = mtd->erasesize / pgsize; in mtd_readtest_init() 163 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_readtest_init()
|
D | oobtest.c | 49 static int pgcnt; variable 75 prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); in write_eraseblock() 76 for (i = 0; i < pgcnt; ++i, addr += mtd->writesize) { in write_eraseblock() 185 prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); in verify_eraseblock() 186 for (i = 0; i < pgcnt; ++i, addr += mtd->writesize) { in verify_eraseblock() 278 size_t len = mtd->oobavail * pgcnt; in verify_eraseblock_in_one_go() 306 for (i = 0; i < pgcnt; ++i, addr += mtd->writesize) { in verify_eraseblock_in_one_go() 382 pgcnt = mtd->erasesize / mtd->writesize; in mtd_oobtest_init() 388 mtd->writesize, ebcnt, pgcnt, mtd->oobsize); in mtd_oobtest_init()
|
D | stresstest.c | 53 static int pgcnt; variable 182 pgcnt = mtd->erasesize / pgsize; in mtd_stresstest_init() 188 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_stresstest_init()
|
D | pagetest.c | 49 static int pgcnt; variable 78 for (j = 0; j < pgcnt - 1; ++j, addr += pgsize) { in verify_eraseblock() 363 pgcnt = mtd->erasesize / mtd->writesize; in mtd_pagetest_init() 370 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_pagetest_init()
|
D | subpagetest.c | 47 static int pgcnt; variable 314 pgcnt = mtd->erasesize / mtd->writesize; in mtd_subpagetest_init() 320 mtd->writesize, subpgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_subpagetest_init()
|
/drivers/iommu/ |
D | exynos-iommu.c | 963 phys_addr_t paddr, short *pgcnt) in lv1set_section() argument 972 if (*pgcnt != NUM_LV2ENTRIES) { in lv1set_section() 979 *pgcnt = 0; in lv1set_section() 1000 short *pgcnt) in lv2set_page() argument 1007 *pgcnt -= 1; in lv2set_page() 1027 *pgcnt -= SPAGES_PER_LPAGE; in lv2set_page()
|
/drivers/scsi/lpfc/ |
D | lpfc_crtn.h | 399 extern unsigned int pgcnt;
|