Lines Matching refs:zswap_entry

181 struct zswap_entry {  struct
277 zswap_entry_cache = KMEM_CACHE(zswap_entry, 0); in zswap_entry_cache_create()
286 static struct zswap_entry *zswap_entry_cache_alloc(gfp_t gfp) in zswap_entry_cache_alloc()
288 struct zswap_entry *entry; in zswap_entry_cache_alloc()
297 static void zswap_entry_cache_free(struct zswap_entry *entry) in zswap_entry_cache_free()
305 static struct zswap_entry *zswap_rb_search(struct rb_root *root, pgoff_t offset) in zswap_rb_search()
308 struct zswap_entry *entry; in zswap_rb_search()
311 entry = rb_entry(node, struct zswap_entry, rbnode); in zswap_rb_search()
326 static int zswap_rb_insert(struct rb_root *root, struct zswap_entry *entry, in zswap_rb_insert()
327 struct zswap_entry **dupentry) in zswap_rb_insert()
330 struct zswap_entry *myentry; in zswap_rb_insert()
334 myentry = rb_entry(parent, struct zswap_entry, rbnode); in zswap_rb_insert()
349 static void zswap_rb_erase(struct rb_root *root, struct zswap_entry *entry) in zswap_rb_erase()
361 static void zswap_free_entry(struct zswap_entry *entry) in zswap_free_entry()
379 static void zswap_entry_get(struct zswap_entry *entry) in zswap_entry_get()
388 struct zswap_entry *entry) in zswap_entry_put()
400 static struct zswap_entry *zswap_entry_find_get(struct rb_root *root, in zswap_entry_find_get()
403 struct zswap_entry *entry; in zswap_entry_find_get()
948 struct zswap_entry *entry; in zswap_writeback_entry()
1101 struct zswap_entry *entry, *dupentry; in zswap_frontswap_store()
1288 struct zswap_entry *entry; in zswap_frontswap_load()
1364 struct zswap_entry *entry; in zswap_frontswap_invalidate_page()
1388 struct zswap_entry *entry, *n; in zswap_frontswap_invalidate_area()