zram refactor zram_read_write functions