Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dfrontswap.c30 static struct frontswap_ops *frontswap_ops __read_mostly;
33 for ((ops) = frontswap_ops; (ops); (ops) = (ops)->next)
113 void frontswap_register_ops(struct frontswap_ops *ops) in frontswap_register_ops()
140 ops->next = frontswap_ops; in frontswap_register_ops()
141 } while (cmpxchg(&frontswap_ops, ops->next, ops) != ops->next); in frontswap_register_ops()
193 struct frontswap_ops *ops; in __frontswap_init()
252 struct frontswap_ops *ops; in __frontswap_store()
254 VM_BUG_ON(!frontswap_ops); in __frontswap_store()
301 struct frontswap_ops *ops; in __frontswap_load()
303 VM_BUG_ON(!frontswap_ops); in __frontswap_load()
[all …]
Dzswap.c1252 static struct frontswap_ops zswap_frontswap_ops = {
/Linux-v5.10/include/linux/
Dfrontswap.h17 struct frontswap_ops { struct
23 struct frontswap_ops *next; /* private pointer to next ops */ argument
26 extern void frontswap_register_ops(struct frontswap_ops *ops);
/Linux-v5.10/Documentation/vm/
Dfrontswap.rst27 frontswap_ops funcs appropriately and the functions it provides must