Lines Matching defs:zram

67 static inline bool init_done(struct zram *zram)  in init_done()
117 static inline bool valid_io_request(struct zram *zram, in valid_io_request()
145 static inline void update_used_max(struct zram *zram, in update_used_max()
194 struct zram *zram = dev_to_zram(dev); in initstate_show() local
206 struct zram *zram = dev_to_zram(dev); in disksize_show() local
214 struct zram *zram = dev_to_zram(dev); in orig_data_size_show() local
225 struct zram *zram = dev_to_zram(dev); in mem_used_total_show() local
242 struct zram *zram = dev_to_zram(dev); in mem_limit_show() local
257 struct zram *zram = dev_to_zram(dev); in mem_limit_store() local
274 struct zram *zram = dev_to_zram(dev); in mem_used_max_show() local
290 struct zram *zram = dev_to_zram(dev); in mem_used_max_store() local
311 struct zram *zram = dev_to_zram(dev); in max_comp_streams_show() local
324 struct zram *zram = dev_to_zram(dev); in max_comp_streams_store() local
353 struct zram *zram = dev_to_zram(dev); in comp_algorithm_show() local
365 struct zram *zram = dev_to_zram(dev); in comp_algorithm_store() local
391 struct zram *zram = dev_to_zram(dev); in compact_store() local
410 struct zram *zram = dev_to_zram(dev); in io_stat_show() local
428 struct zram *zram = dev_to_zram(dev); in mm_stat_show() local
470 static inline bool zram_meta_get(struct zram *zram) in zram_meta_get()
477 static inline void zram_meta_put(struct zram *zram) in zram_meta_put()
536 static void zram_free_page(struct zram *zram, size_t index) in zram_free_page()
563 static int zram_decompress_page(struct zram *zram, char *mem, u32 index) in zram_decompress_page()
598 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, in zram_bvec_read()
648 static int zram_bvec_write(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_write()
778 static void zram_bio_discard(struct zram *zram, u32 index, in zram_bio_discard()
812 static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_rw()
841 static void __zram_make_request(struct zram *zram, struct bio *bio) in __zram_make_request()
899 struct zram *zram = queue->queuedata; in zram_make_request() local
925 struct zram *zram; in zram_slot_free_notify() local
942 struct zram *zram; in zram_rw_page() local
979 static void zram_reset_device(struct zram *zram) in zram_reset_device()
1029 struct zram *zram = dev_to_zram(dev); in disksize_store() local
1086 struct zram *zram; in reset_store() local
1129 struct zram *zram; in zram_open() local
1193 struct zram *zram; in zram_add() local
1293 static int zram_remove(struct zram *zram) in zram_remove()
1356 struct zram *zram; in hot_remove_store() local