Lines Matching refs:disksize
76 if (!zram->disksize) {
82 zram->disksize = default_disksize_perc_ram *
86 if (zram->disksize > 2 * (totalram_bytes)) {
96 totalram_bytes >> 10, zram->disksize
100 zram->disksize &= PAGE_MASK;
106 s->disksize = zram->disksize;
419 (bio->bi_sector >= (zram->disksize >> SECTOR_SHIFT)) ||
477 for (index = 0; index < zram->disksize >> PAGE_SHIFT; index++) {
502 zram->disksize = 0;
531 num_pages = zram->disksize >> PAGE_SHIFT;
536 zram->disksize = 0;
542 set_capacity(zram->disk, zram->disksize >> SECTOR_SHIFT);
593 zram->disksize = disksize_kb << 10;