Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dfrontswap.c30 static struct frontswap_ops *frontswap_ops __read_mostly;
33 for ((ops) = frontswap_ops; (ops); (ops) = (ops)->next)
117 void frontswap_register_ops(struct frontswap_ops *ops) in frontswap_register_ops()
144 ops->next = frontswap_ops; in frontswap_register_ops()
145 } while (cmpxchg(&frontswap_ops, ops->next, ops) != ops->next); in frontswap_register_ops()
197 struct frontswap_ops *ops; in __frontswap_init()
256 struct frontswap_ops *ops; in __frontswap_store()
258 VM_BUG_ON(!frontswap_ops); in __frontswap_store()
305 struct frontswap_ops *ops; in __frontswap_load()
307 VM_BUG_ON(!frontswap_ops); in __frontswap_load()
[all …]
Dzswap.c1381 static struct frontswap_ops zswap_frontswap_ops = {
/Linux-v5.15/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.15/Documentation/vm/
Dfrontswap.rst27 frontswap_ops funcs appropriately and the functions it provides must