Home
last modified time | relevance | path

Searched defs:zram (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/block/zram/
Dzram_drv.h95 struct zram { struct
96 struct zram_meta *meta; argument
102 * the number of pages zram can consume for storing compressed data argument
107 struct zram_stats stats; argument
108 atomic_t refcount; /* refcount for zram_meta */ argument
118 * zram is claimed so open request will be failed argument
120 bool claim; /* Protected by bdev->bd_mutex */
Dzram_drv.c67 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
[all …]