Home
last modified time | relevance | path

Searched refs:zram (Results 1 – 6 of 6) sorted by relevance

/drivers/block/zram/
Dzram_drv.c56 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 …]
DKconfig16 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.
DMakefile2 zram-y := zcomp.o zram_drv.o
4 obj-$(CONFIG_ZRAM) += zram.o
Dzram_drv.h106 struct zram { struct
/drivers/block/
DMakefile35 obj-$(CONFIG_ZRAM) += zram/
DKconfig108 source "drivers/block/zram/Kconfig"