Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dfrontswap.c31 static struct frontswap_ops *frontswap_ops __read_mostly;
34 for ((ops) = frontswap_ops; (ops); (ops) = (ops)->next)
114 void frontswap_register_ops(struct frontswap_ops *ops) in frontswap_register_ops()
141 ops->next = frontswap_ops; in frontswap_register_ops()
142 } while (cmpxchg(&frontswap_ops, ops->next, ops) != ops->next); in frontswap_register_ops()
194 struct frontswap_ops *ops; in __frontswap_init()
253 struct frontswap_ops *ops; in __frontswap_store()
255 VM_BUG_ON(!frontswap_ops); in __frontswap_store()
302 struct frontswap_ops *ops; in __frontswap_load()
304 VM_BUG_ON(!frontswap_ops); in __frontswap_load()
[all …]
Dzswap.c1243 static struct frontswap_ops zswap_frontswap_ops = {
/Linux-v4.19/include/linux/
Dfrontswap.h10 struct frontswap_ops { struct
16 struct frontswap_ops *next; /* private pointer to next ops */ argument
19 extern void frontswap_register_ops(struct frontswap_ops *ops);
/Linux-v4.19/drivers/xen/
Dtmem.c364 static struct frontswap_ops tmem_frontswap_ops = {
/Linux-v4.19/Documentation/vm/
Dfrontswap.rst27 frontswap_ops funcs appropriately and the functions it provides must