zram refactor zram read_write functions