Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dzswap.c160 struct zswap_entry { struct
248 zswap_entry_cache = KMEM_CACHE(zswap_entry, 0); in zswap_entry_cache_create()
257 static struct zswap_entry *zswap_entry_cache_alloc(gfp_t gfp) in zswap_entry_cache_alloc()
259 struct zswap_entry *entry; in zswap_entry_cache_alloc()
268 static void zswap_entry_cache_free(struct zswap_entry *entry) in zswap_entry_cache_free()
276 static struct zswap_entry *zswap_rb_search(struct rb_root *root, pgoff_t offset) in zswap_rb_search()
279 struct zswap_entry *entry; in zswap_rb_search()
282 entry = rb_entry(node, struct zswap_entry, rbnode); in zswap_rb_search()
297 static int zswap_rb_insert(struct rb_root *root, struct zswap_entry *entry, in zswap_rb_insert()
298 struct zswap_entry **dupentry) in zswap_rb_insert()
[all …]