Searched refs:pgsize (Results 1 - 10 of 10) sorted by relevance
/drivers/mtd/tests/ |
H A D | pagetest.c | 46 static int pgsize; variable 78 for (j = 0; j < pgcnt - 1; ++j, addr += pgsize) { 90 if (memcmp(twopages, writebuf + (j * pgsize), bufsize)) { 97 if (addr <= addrn - pgsize - pgsize && !bbt[ebnum + 1]) { 111 memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize); 112 prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize); 130 pp1 = kmalloc(pgsize * [all...] |
H A D | torturetest.c | 81 static int pgsize; variable 108 addr = (ebnum + 1) * mtd->erasesize - pgcnt * pgsize; 109 len = pgcnt * pgsize; 162 addr = (ebnum + 1) * mtd->erasesize - pgcnt * pgsize; 163 len = pgcnt * pgsize; 214 pgsize = 512; 216 pgsize = mtd->writesize; 218 if (pgcnt && (pgcnt > mtd->erasesize / pgsize || pgcnt < 0)) { 248 for (i = 0; i < mtd->erasesize / pgsize; i++) { 250 memset(patt_5A5 + i * pgsize, [all...] |
H A D | speedtest.c | 48 static int pgsize; variable 95 err = mtdtest_write(mtd, addr, pgsize, buf); 98 addr += pgsize; 99 buf += pgsize; 107 size_t sz = pgsize * 2; 120 err = mtdtest_write(mtd, addr, pgsize, buf); 139 err = mtdtest_read(mtd, addr, pgsize, buf); 142 addr += pgsize; 143 buf += pgsize; 151 size_t sz = pgsize * [all...] |
H A D | readtest.c | 43 static int pgsize; variable 55 memset(buf, 0 , pgsize); 56 ret = mtdtest_read(mtd, addr, pgsize, buf); 84 addr += pgsize; 85 buf += pgsize; 150 pgsize = 512; 152 pgsize = mtd->writesize; 157 pgcnt = mtd->erasesize / pgsize; 163 pgsize, ebcnt, pgcnt, mtd->oobsize);
|
H A D | stresstest.c | 50 static int pgsize; variable 116 len = ((len + pgsize - 1) / pgsize) * pgsize; 175 pgsize = 512; 177 pgsize = mtd->writesize; 182 pgcnt = mtd->erasesize / pgsize; 188 pgsize, ebcnt, pgcnt, mtd->oobsize);
|
/drivers/s390/char/ |
H A D | sclp_diag.h | 35 * @pgsize: page size (0 = 4kB, 1 = large page size) 50 u8 pgsize; member in struct:sclp_diag_ftp
|
H A D | sclp_ftp.c | 107 sccb->evbuf.mdd.ftp.pgsize = 0;
|
/drivers/iommu/ |
H A D | iommu.c | 998 size_t pgsize; local 1011 pgsize = (1UL << (pgsize_idx + 1)) - 1; 1014 pgsize &= domain->ops->pgsize_bitmap; 1017 BUG_ON(!pgsize); 1020 pgsize_idx = __fls(pgsize); 1021 pgsize = 1UL << pgsize_idx; 1023 return pgsize; 1055 size_t pgsize = iommu_pgsize(domain, iova | paddr, size); local 1057 pr_debug("mapping: iova 0x%lx pa %pa pgsize 0x%zx\n", 1058 iova, &paddr, pgsize); 1109 size_t pgsize = iommu_pgsize(domain, iova, size - unmapped); local [all...] |
/drivers/infiniband/hw/ehca/ |
H A D | ehca_mrmw.h | 120 void ehca_mrmw_set_pgsize_hipz_acl(u32 pgsize, u32 *hipz_acl);
|
H A D | ehca_mrmw.c | 106 static u32 ehca_encode_hwpage_size(u32 pgsize) argument 108 int log = ilog2(pgsize); 274 /* for kernel space we try most possible pgsize */ 2182 void ehca_mrmw_set_pgsize_hipz_acl(u32 pgsize, u32 *hipz_acl) /*INOUT*/ argument 2184 *hipz_acl |= (ehca_encode_hwpage_size(pgsize) << 24);
|
Completed in 140 milliseconds