Lines Matching refs:zswap_entry

144 struct zswap_entry {  struct
223 zswap_entry_cache = KMEM_CACHE(zswap_entry, 0); in zswap_entry_cache_create()
232 static struct zswap_entry *zswap_entry_cache_alloc(gfp_t gfp) in zswap_entry_cache_alloc()
234 struct zswap_entry *entry; in zswap_entry_cache_alloc()
243 static void zswap_entry_cache_free(struct zswap_entry *entry) in zswap_entry_cache_free()
251 static struct zswap_entry *zswap_rb_search(struct rb_root *root, pgoff_t offset) in zswap_rb_search()
254 struct zswap_entry *entry; in zswap_rb_search()
257 entry = rb_entry(node, struct zswap_entry, rbnode); in zswap_rb_search()
272 static int zswap_rb_insert(struct rb_root *root, struct zswap_entry *entry, in zswap_rb_insert()
273 struct zswap_entry **dupentry) in zswap_rb_insert()
276 struct zswap_entry *myentry; in zswap_rb_insert()
280 myentry = rb_entry(parent, struct zswap_entry, rbnode); in zswap_rb_insert()
295 static void zswap_rb_erase(struct rb_root *root, struct zswap_entry *entry) in zswap_rb_erase()
307 static void zswap_free_entry(struct zswap_entry *entry) in zswap_free_entry()
317 static void zswap_entry_get(struct zswap_entry *entry) in zswap_entry_get()
326 struct zswap_entry *entry) in zswap_entry_put()
338 static struct zswap_entry *zswap_entry_find_get(struct rb_root *root, in zswap_entry_find_get()
341 struct zswap_entry *entry; in zswap_entry_find_get()
842 struct zswap_entry *entry; in zswap_writeback_entry()
966 struct zswap_entry *entry, *dupentry; in zswap_frontswap_store()
1078 struct zswap_entry *entry; in zswap_frontswap_load()
1117 struct zswap_entry *entry; in zswap_frontswap_invalidate_page()
1141 struct zswap_entry *entry, *n; in zswap_frontswap_invalidate_area()