Searched refs:disksize (Results 1 – 2 of 2) sorted by relevance
76 return zram->disksize; in init_done()171 bound = zram->disksize >> SECTOR_SHIFT; in valid_io_request()245 return scnprintf(buf, PAGE_SIZE, "%llu\n", zram->disksize); in disksize_show()291 unsigned long nr_pages = zram->disksize >> PAGE_SHIFT; in idle_store()624 unsigned long nr_pages = zram->disksize >> PAGE_SHIFT; in writeback_store()869 unsigned long nr_pages = zram->disksize >> PAGE_SHIFT; in read_block_state()1128 static void zram_meta_free(struct zram *zram, u64 disksize) in zram_meta_free() argument1130 size_t num_pages = disksize >> PAGE_SHIFT; in zram_meta_free()1141 static bool zram_meta_alloc(struct zram *zram, u64 disksize) in zram_meta_alloc() argument1145 num_pages = disksize >> PAGE_SHIFT; in zram_meta_alloc()[all …]
109 u64 disksize; /* bytes */ member