Lines Matching refs:dev_to_zram
79 static inline struct zram *dev_to_zram(struct device *dev) in dev_to_zram() function
231 struct zram *zram = dev_to_zram(dev); in initstate_show()
243 struct zram *zram = dev_to_zram(dev); in disksize_show()
253 struct zram *zram = dev_to_zram(dev); in mem_limit_store()
271 struct zram *zram = dev_to_zram(dev); in mem_used_max_store()
290 struct zram *zram = dev_to_zram(dev); in idle_store()
324 struct zram *zram = dev_to_zram(dev); in writeback_limit_enable_store()
345 struct zram *zram = dev_to_zram(dev); in writeback_limit_enable_show()
359 struct zram *zram = dev_to_zram(dev); in writeback_limit_store()
380 struct zram *zram = dev_to_zram(dev); in writeback_limit_show()
417 struct zram *zram = dev_to_zram(dev); in backing_dev_show()
455 struct zram *zram = dev_to_zram(dev); in backing_dev_store()
623 struct zram *zram = dev_to_zram(dev); in writeback_store()
976 struct zram *zram = dev_to_zram(dev); in comp_algorithm_show()
988 struct zram *zram = dev_to_zram(dev); in comp_algorithm_store()
1016 struct zram *zram = dev_to_zram(dev); in compact_store()
1033 struct zram *zram = dev_to_zram(dev); in io_stat_show()
1051 struct zram *zram = dev_to_zram(dev); in mm_stat_show()
1088 struct zram *zram = dev_to_zram(dev); in bd_stat_show()
1107 struct zram *zram = dev_to_zram(dev); in debug_stat_show()
1711 struct zram *zram = dev_to_zram(dev); in disksize_store()
1770 zram = dev_to_zram(dev); in reset_store()