Lines Matching defs:zram
67 static inline bool init_done(struct zram *zram) in init_done()
81 struct zram *zram = dev_to_zram(dev); in compact_store() local
101 struct zram *zram = dev_to_zram(dev); in disksize_show() local
110 struct zram *zram = dev_to_zram(dev); in initstate_show() local
122 struct zram *zram = dev_to_zram(dev); in orig_data_size_show() local
133 struct zram *zram = dev_to_zram(dev); in mem_used_total_show() local
150 struct zram *zram = dev_to_zram(dev); in max_comp_streams_show() local
163 struct zram *zram = dev_to_zram(dev); in mem_limit_show() local
178 struct zram *zram = dev_to_zram(dev); in mem_limit_store() local
195 struct zram *zram = dev_to_zram(dev); in mem_used_max_show() local
211 struct zram *zram = dev_to_zram(dev); in mem_used_max_store() local
232 struct zram *zram = dev_to_zram(dev); in max_comp_streams_store() local
261 struct zram *zram = dev_to_zram(dev); in comp_algorithm_show() local
273 struct zram *zram = dev_to_zram(dev); in comp_algorithm_store() local
325 static inline int valid_io_request(struct zram *zram, in valid_io_request()
397 static inline bool zram_meta_get(struct zram *zram) in zram_meta_get()
404 static inline void zram_meta_put(struct zram *zram) in zram_meta_put()
452 static void zram_free_page(struct zram *zram, size_t index) in zram_free_page()
479 static int zram_decompress_page(struct zram *zram, char *mem, u32 index) in zram_decompress_page()
514 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, in zram_bvec_read()
564 static inline void update_used_max(struct zram *zram, in update_used_max()
579 static int zram_bvec_write(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_write()
706 static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_rw()
740 static void zram_bio_discard(struct zram *zram, u32 index, in zram_bio_discard()
774 static void zram_reset_device(struct zram *zram) in zram_reset_device()
824 struct zram *zram = dev_to_zram(dev); in disksize_store() local
881 struct zram *zram; in reset_store() local
922 static void __zram_make_request(struct zram *zram, struct bio *bio) in __zram_make_request()
981 struct zram *zram = queue->queuedata; in zram_make_request() local
1004 struct zram *zram; in zram_slot_free_notify() local
1021 struct zram *zram; in zram_rw_page() local
1078 struct zram *zram = dev_to_zram(dev); in io_stat_show() local
1096 struct zram *zram = dev_to_zram(dev); in mm_stat_show() local
1161 static int create_device(struct zram *zram, int device_id) in create_device()
1248 struct zram *zram; in destroy_devices() local