Searched refs:zram (Results 1 – 6 of 6) sorted by relevance
/drivers/block/zram/ |
D | zram_drv.c | 56 static void zram_free_page(struct zram *zram, size_t index); 57 static int zram_read_page(struct zram *zram, struct page *page, u32 index, 60 static int zram_slot_trylock(struct zram *zram, u32 index) in zram_slot_trylock() argument 62 return bit_spin_trylock(ZRAM_LOCK, &zram->table[index].flags); in zram_slot_trylock() 65 static void zram_slot_lock(struct zram *zram, u32 index) in zram_slot_lock() argument 67 bit_spin_lock(ZRAM_LOCK, &zram->table[index].flags); in zram_slot_lock() 70 static void zram_slot_unlock(struct zram *zram, u32 index) in zram_slot_unlock() argument 72 bit_spin_unlock(ZRAM_LOCK, &zram->table[index].flags); in zram_slot_unlock() 75 static inline bool init_done(struct zram *zram) in init_done() argument 77 return zram->disksize; in init_done() [all …]
|
D | Kconfig | 16 See Documentation/admin-guide/blockdev/zram.rst for more information. 19 prompt "Default zram compressor" 70 See Documentation/admin-guide/blockdev/zram.rst for more information. 78 /sys/kernel/debug/zram/zramX/block_state. 80 See Documentation/admin-guide/blockdev/zram.rst for more information.
|
D | Makefile | 2 zram-y := zcomp.o zram_drv.o 4 obj-$(CONFIG_ZRAM) += zram.o
|
D | zram_drv.h | 106 struct zram { struct
|
/drivers/block/ |
D | Makefile | 35 obj-$(CONFIG_ZRAM) += zram/
|
D | Kconfig | 108 source "drivers/block/zram/Kconfig"
|