Lines Matching refs:dev_to_zram
80 static inline struct zram *dev_to_zram(struct device *dev) in dev_to_zram() function
222 struct zram *zram = dev_to_zram(dev); in initstate_show()
234 struct zram *zram = dev_to_zram(dev); in disksize_show()
244 struct zram *zram = dev_to_zram(dev); in mem_limit_store()
262 struct zram *zram = dev_to_zram(dev); in mem_used_max_store()
309 struct zram *zram = dev_to_zram(dev); in idle_store()
348 struct zram *zram = dev_to_zram(dev); in writeback_limit_enable_store()
369 struct zram *zram = dev_to_zram(dev); in writeback_limit_enable_show()
383 struct zram *zram = dev_to_zram(dev); in writeback_limit_store()
404 struct zram *zram = dev_to_zram(dev); in writeback_limit_show()
437 struct zram *zram = dev_to_zram(dev); in backing_dev_show()
475 struct zram *zram = dev_to_zram(dev); in backing_dev_store()
601 struct zram *zram = dev_to_zram(dev); in writeback_store()
1024 struct zram *zram = dev_to_zram(dev); in comp_algorithm_show()
1034 struct zram *zram = dev_to_zram(dev); in comp_algorithm_store()
1046 struct zram *zram = dev_to_zram(dev); in recomp_algorithm_show()
1066 struct zram *zram = dev_to_zram(dev); in recomp_algorithm_store()
1106 struct zram *zram = dev_to_zram(dev); in compact_store()
1123 struct zram *zram = dev_to_zram(dev); in io_stat_show()
1140 struct zram *zram = dev_to_zram(dev); in mm_stat_show()
1178 struct zram *zram = dev_to_zram(dev); in bd_stat_show()
1197 struct zram *zram = dev_to_zram(dev); in debug_stat_show()
1714 struct zram *zram = dev_to_zram(dev); in recompress_store()
2018 struct zram *zram = dev_to_zram(dev); in disksize_store()
2083 zram = dev_to_zram(dev); in reset_store()