Home
last modified time | relevance | path

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

/linux/drivers/block/zram/
H A Dzram_drv.h121 struct zram { struct
122 struct zram_table_entry *table; argument
132 * the number of pages zram can consume for storing compressed data argument
136 struct zram_stats stats; argument
144 * zram is claimed so open request will be failed argument
146 bool claim; /* Protected by disk->open_mutex */
148 struct file *backing_dev;
149 bool wb_limit_enable;
150 bool compressed_wb;
151 u32 wb_batch_size;
[all …]
H A Dzram_drv.c73 slot_trylock(struct zram * zram,unsigned long index) slot_trylock() argument
86 slot_lock(struct zram * zram,unsigned long index) slot_lock() argument
95 slot_unlock(struct zram * zram,unsigned long index) slot_unlock() argument
103 init_done(struct zram * zram) init_done() argument
113 get_slot_handle(struct zram * zram,unsigned long index) get_slot_handle() argument
118 set_slot_handle(struct zram * zram,unsigned long index,unsigned long handle) set_slot_handle() argument
124 test_slot_flag(struct zram * zram,unsigned long index,enum zram_pageflags flag) test_slot_flag() argument
130 set_slot_flag(struct zram * zram,unsigned long index,enum zram_pageflags flag) set_slot_flag() argument
136 clear_slot_flag(struct zram * zram,unsigned long index,enum zram_pageflags flag) clear_slot_flag() argument
142 get_slot_size(struct zram * zram,unsigned long index) get_slot_size() argument
147 set_slot_size(struct zram * zram,unsigned long index,size_t size) set_slot_size() argument
154 slot_allocated(struct zram * zram,unsigned long index) slot_allocated() argument
161 set_slot_comp_priority(struct zram * zram,unsigned long index,u32 prio) set_slot_comp_priority() argument
174 get_slot_comp_priority(struct zram * zram,unsigned long index) get_slot_comp_priority() argument
181 mark_slot_accessed(struct zram * zram,unsigned long index) mark_slot_accessed() argument
190 update_used_max(struct zram * zram,const unsigned long pages) update_used_max() argument
201 zram_can_store_page(struct zram * zram) zram_can_store_page() argument
255 release_pp_slot(struct zram * zram,struct zram_pp_slot * pps) release_pp_slot() argument
266 release_pp_ctl(struct zram * zram,struct zram_pp_ctl * ctl) release_pp_ctl() argument
287 place_pp_slot(struct zram * zram,struct zram_pp_ctl * ctl,unsigned long index) place_pp_slot() argument
359 struct zram *zram = dev_to_zram(dev); initstate_show() local
370 struct zram *zram = dev_to_zram(dev); disksize_show() local
381 struct zram *zram = dev_to_zram(dev); mem_limit_store() local
399 struct zram *zram = dev_to_zram(dev); mem_used_max_store() local
418 mark_idle(struct zram * zram,ktime_t cutoff) mark_idle() argument
455 struct zram *zram = dev_to_zram(dev); idle_store() local
516 struct zram *zram; global() member
534 struct zram *zram = dev_to_zram(dev); bd_stat_show() local
551 struct zram *zram = dev_to_zram(dev); compressed_writeback_store() local
572 struct zram *zram = dev_to_zram(dev); compressed_writeback_show() local
584 struct zram *zram = dev_to_zram(dev); writeback_limit_enable_store() local
601 struct zram *zram = dev_to_zram(dev); writeback_limit_enable_show() local
613 struct zram *zram = dev_to_zram(dev); writeback_limit_store() local
639 struct zram *zram = dev_to_zram(dev); writeback_limit_show() local
651 struct zram *zram = dev_to_zram(dev); writeback_batch_size_store() local
671 struct zram *zram = dev_to_zram(dev); writeback_batch_size_show() local
679 reset_bdev(struct zram * zram) reset_bdev() argument
697 struct zram *zram = dev_to_zram(dev); backing_dev_show() local
729 struct zram *zram = dev_to_zram(dev); backing_dev_store() local
799 zram_reserve_bdev_block(struct zram * zram) zram_reserve_bdev_block() argument
812 zram_release_bdev_block(struct zram * zram,unsigned long blk_idx) zram_release_bdev_block() argument
848 init_wb_ctl(struct zram * zram) init_wb_ctl() argument
897 zram_account_writeback_rollback(struct zram * zram) zram_account_writeback_rollback() argument
905 zram_account_writeback_submit(struct zram * zram) zram_account_writeback_submit() argument
913 zram_writeback_complete(struct zram * zram,struct zram_wb_req * req) zram_writeback_complete() argument
971 zram_submit_wb_request(struct zram * zram,struct zram_wb_ctl * wb_ctl,struct zram_wb_req * req) zram_submit_wb_request() argument
985 zram_complete_done_reqs(struct zram * zram,struct zram_wb_ctl * wb_ctl) zram_complete_done_reqs() argument
1029 zram_writeback_slots(struct zram * zram,struct zram_pp_ctl * ctl,struct zram_wb_ctl * wb_ctl) zram_writeback_slots() argument
1199 scan_slots_for_writeback(struct zram * zram,u32 mode,unsigned long lo,unsigned long hi,struct zram_pp_ctl * ctl) scan_slots_for_writeback() argument
1239 struct zram *zram = dev_to_zram(dev); writeback_store() local
1341 decompress_bdev_page(struct zram * zram,struct page * page,unsigned long index) decompress_bdev_page() argument
1383 struct zram *zram = req->zram; zram_deferred_decompress() local
1400 struct zram *zram = req->zram; zram_async_read_endio() local
1434 read_from_bdev_async(struct zram * zram,struct page * page,unsigned long index,unsigned long blk_idx,struct bio * parent) read_from_bdev_async() argument
1485 read_from_bdev_sync(struct zram * zram,struct page * page,unsigned long index,unsigned long blk_idx) read_from_bdev_sync() argument
1505 read_from_bdev(struct zram * zram,struct page * page,unsigned long index,unsigned long blk_idx,struct bio * parent) read_from_bdev() argument
1518 reset_bdev(struct zram * zram) reset_bdev() argument
1519 read_from_bdev(struct zram * zram,struct page * page,unsigned long index,unsigned long blk_idx,struct bio * parent) read_from_bdev() argument
1526 zram_release_bdev_block(struct zram * zram,unsigned long blk_idx) zram_release_bdev_block() argument
1551 struct zram *zram = file->private_data; read_block_state() local
1608 zram_debugfs_register(struct zram * zram) zram_debugfs_register() argument
1619 zram_debugfs_unregister(struct zram * zram) zram_debugfs_unregister() argument
1626 zram_debugfs_register(struct zram * zram) zram_debugfs_register() argument
1627 zram_debugfs_unregister(struct zram * zram) zram_debugfs_unregister() argument
1631 lookup_algo_priority(struct zram * zram,const char * algo,u32 min_prio) lookup_algo_priority() argument
1648 validate_algo_priority(struct zram * zram,const char * algo,u32 prio) validate_algo_priority() argument
1661 comp_algorithm_set(struct zram * zram,u32 prio,const char * alg) comp_algorithm_set() argument
1666 comp_params_reset(struct zram * zram,u32 prio) comp_params_reset() argument
1677 __comp_algorithm_store(struct zram * zram,u32 prio,const char * buf) __comp_algorithm_store() argument
1701 comp_params_store(struct zram * zram,u32 prio,s32 level,const char * dict_path,struct deflate_params * deflate_params) comp_params_store() argument
1741 struct zram *zram = dev_to_zram(dev); algorithm_params_store() local
1816 struct zram *zram = dev_to_zram(dev); comp_algorithm_show() local
1829 struct zram *zram = dev_to_zram(dev); comp_algorithm_store() local
1841 struct zram *zram = dev_to_zram(dev); recomp_algorithm_show() local
1861 struct zram *zram = dev_to_zram(dev); recomp_algorithm_store() local
1901 struct zram *zram = dev_to_zram(dev); compact_store() local
1915 struct zram *zram = dev_to_zram(dev); io_stat_show() local
1931 struct zram *zram = dev_to_zram(dev); mm_stat_show() local
1967 struct zram *zram = dev_to_zram(dev); debug_stat_show() local
1979 zram_meta_free(struct zram * zram,u64 disksize) zram_meta_free() argument
1997 zram_meta_alloc(struct zram * zram,u64 disksize) zram_meta_alloc() argument
2022 slot_free(struct zram * zram,unsigned long index) slot_free() argument
2075 read_same_filled_page(struct zram * zram,struct page * page,unsigned long index) read_same_filled_page() argument
2086 read_incompressible_page(struct zram * zram,struct page * page,unsigned long index) read_incompressible_page() argument
2102 read_compressed_page(struct zram * zram,struct page * page,unsigned long index) read_compressed_page() argument
2128 read_from_zspool_raw(struct zram * zram,struct page * page,unsigned long index) read_from_zspool_raw() argument
2161 read_from_zspool(struct zram * zram,struct page * page,unsigned long index) read_from_zspool() argument
2174 zram_read_page(struct zram * zram,struct page * page,unsigned long index,struct bio * parent) zram_read_page() argument
2206 zram_bvec_read_partial(struct zram * zram,struct bio_vec * bvec,unsigned long index,int offset) zram_bvec_read_partial() argument
2221 zram_bvec_read(struct zram * zram,struct bio_vec * bvec,unsigned long index,int offset,struct bio * bio) zram_bvec_read() argument
2229 write_same_filled_page(struct zram * zram,unsigned long fill,unsigned long index) write_same_filled_page() argument
2244 write_incompressible_page(struct zram * zram,struct page * page,unsigned long index) write_incompressible_page() argument
2285 zram_write_page(struct zram * zram,struct page * page,unsigned long index) zram_write_page() argument
2352 zram_bvec_write_partial(struct zram * zram,struct bio_vec * bvec,unsigned long index,int offset) zram_bvec_write_partial() argument
2370 zram_bvec_write(struct zram * zram,struct bio_vec * bvec,unsigned long index,int offset) zram_bvec_write() argument
2382 highest_priority_algorithm(struct zram * zram,u32 prio) highest_priority_algorithm() argument
2394 scan_slots_for_recompress(struct zram * zram,u32 mode,u32 prio,struct zram_pp_ctl * ctl) scan_slots_for_recompress() argument
2439 recompress_slot(struct zram * zram,unsigned long index,struct page * page,u64 * num_recomp_pages,u32 threshold,u32 prio) recompress_slot() argument
2550 struct zram *zram = dev_to_zram(dev); recompress_store() local
2690 zram_bio_discard(struct zram * zram,struct bio * bio) zram_bio_discard() argument
2728 zram_bio_read(struct zram * zram,struct bio * bio) zram_bio_read() argument
2759 zram_bio_write(struct zram * zram,struct bio * bio) zram_bio_write() argument
2794 struct zram *zram = bio->bi_bdev->bd_disk->private_data; zram_submit_bio() local
2816 struct zram *zram; zram_slot_free_notify() local
2830 zram_comp_params_reset(struct zram * zram) zram_comp_params_reset() argument
2839 zram_destroy_comps(struct zram * zram) zram_destroy_comps() argument
2859 zram_reset_device(struct zram * zram) zram_reset_device() argument
2882 struct zram *zram = dev_to_zram(dev); disksize_store() local
2936 struct zram *zram; reset_store() local
2973 struct zram *zram = disk->private_data; zram_open() local
3077 struct zram *zram; zram_add() local
3133 zram_remove(struct zram * zram) zram_remove() argument
3212 struct zram *zram; hot_remove_store() local
[all...]