Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dfrontswap.c29 static struct frontswap_ops *frontswap_ops __read_mostly;
32 for ((ops) = frontswap_ops; (ops); (ops) = (ops)->next)
112 void frontswap_register_ops(struct frontswap_ops *ops) in frontswap_register_ops()
139 ops->next = frontswap_ops; in frontswap_register_ops()
140 } while (cmpxchg(&frontswap_ops, ops->next, ops) != ops->next); in frontswap_register_ops()
190 struct frontswap_ops *ops; in __frontswap_init()
249 struct frontswap_ops *ops; in __frontswap_store()
255 if (!frontswap_ops) in __frontswap_store()
304 struct frontswap_ops *ops; in __frontswap_load()
306 if (!frontswap_ops) in __frontswap_load()
[all …]
Dzswap.c1171 static struct frontswap_ops zswap_frontswap_ops = {
/linux-4.4.14/include/linux/
Dfrontswap.h8 struct frontswap_ops { struct
14 struct frontswap_ops *next; /* private pointer to next ops */ argument
18 extern void frontswap_register_ops(struct frontswap_ops *ops);
/linux-4.4.14/drivers/xen/
Dtmem.c360 static struct frontswap_ops tmem_frontswap_ops = {
/linux-4.4.14/Documentation/vm/
Dfrontswap.txt20 frontswap_ops funcs appropriately and the functions it provides must