Home
last modified time | relevance | path

Searched refs:devsize (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/fs/cramfs/
Dinode.c117 unsigned long devsize; in cramfs_read() local
142 devsize = mapping->host->i_size >> PAGE_CACHE_SHIFT; in cramfs_read()
147 devsize = blk_size[major][minor] >> 2; in cramfs_read()
154 if (blocknr + i < devsize) { in cramfs_read()
/linux-2.4.37.9/drivers/mtd/chips/
Dcfi_cmdset_0020.c189 unsigned long devsize = (1<<cfi->cfiq->DevSize) * cfi->interleave; in cfi_staa_setup() local
203 mtd->size = devsize * cfi->numchips; in cfi_staa_setup()
223 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_staa_setup()
230 if (offset != devsize) { in cfi_staa_setup()
232 …WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize); in cfi_staa_setup()
Dcfi_cmdset_0002.c149 unsigned long devsize = (1<<cfi->cfiq->DevSize) * cfi->interleave; in cfi_amdstd_setup() local
164 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup()
189 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_amdstd_setup()
195 if (offset != devsize) { in cfi_amdstd_setup()
197 …WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize); in cfi_amdstd_setup()
Dcfi_cmdset_0001.c208 unsigned long devsize = (1<<cfi->cfiq->DevSize) * cfi->interleave; local
221 mtd->size = devsize * cfi->numchips;
240 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset;
247 if (offset != devsize) {
249 …WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize);