Home
last modified time | relevance | path

Searched refs:ZRAM_PP_SLOT (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/block/zram/
H A Dzram_drv.h49 ZRAM_PP_SLOT, /* Selected for post-processing */ enumerator
H A Dzram_drv.c192 clear_slot_flag(zram, index, ZRAM_PP_SLOT); in mark_slot_accessed()
268 clear_slot_flag(zram, pps->index, ZRAM_PP_SLOT); in release_pp_slot()
311 set_slot_flag(zram, pps->index, ZRAM_PP_SLOT); in place_pp_slot()
941 * slot loses ZRAM_PP_SLOT flag. No concurrent post-processing can in zram_writeback_complete()
942 * set ZRAM_PP_SLOT on such slots until current post-processing in zram_writeback_complete()
945 if (!test_slot_flag(zram, index, ZRAM_PP_SLOT)) { in zram_writeback_complete()
1084 * scan_slots() sets ZRAM_PP_SLOT and releases slot lock, so in zram_writeback_slots()
1086 * freed they lose ZRAM_PP_SLOT flag and hence we don't in zram_writeback_slots()
1089 if (!test_slot_flag(zram, index, ZRAM_PP_SLOT)) in zram_writeback_slots()
2020 clear_slot_flag(zram, index, ZRAM_PP_SLOT); in slot_free()
[all...]