Lines Matching refs:frontswap_ops
30 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()
338 struct frontswap_ops *ops; in __frontswap_invalidate_page()
340 VM_BUG_ON(!frontswap_ops); in __frontswap_invalidate_page()
360 struct frontswap_ops *ops; in __frontswap_invalidate_area()
362 VM_BUG_ON(!frontswap_ops); in __frontswap_invalidate_area()