Searched refs:frontswap_ops (Results 1 – 5 of 5) sorted by relevance
31 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 …]
1243 static struct frontswap_ops zswap_frontswap_ops = {
10 struct frontswap_ops { struct16 struct frontswap_ops *next; /* private pointer to next ops */ argument19 extern void frontswap_register_ops(struct frontswap_ops *ops);
364 static struct frontswap_ops tmem_frontswap_ops = {
27 frontswap_ops funcs appropriately and the functions it provides must