Searched refs:cleancache_ops (Results 1 – 3 of 3) sorted by relevance
24 static const struct cleancache_ops *cleancache_ops __read_mostly;51 int cleancache_register_ops(const struct cleancache_ops *ops) in cleancache_register_ops()53 if (cmpxchg(&cleancache_ops, NULL, ops)) in cleancache_register_ops()117 if (cleancache_ops) { in __cleancache_init_fs()118 pool_id = cleancache_ops->init_fs(PAGE_SIZE); in __cleancache_init_fs()131 if (cleancache_ops) { in __cleancache_init_shared_fs()132 pool_id = cleancache_ops->init_shared_fs(&sb->s_uuid, PAGE_SIZE); in __cleancache_init_shared_fs()182 if (!cleancache_ops) { in __cleancache_get_page()195 ret = cleancache_ops->get_page(pool_id, key, page->index, page); in __cleancache_get_page()220 if (!cleancache_ops) { in __cleancache_put_page()[all …]
29 struct cleancache_ops { struct41 extern int cleancache_register_ops(const struct cleancache_ops *ops); argument
38 passing a pointer to a cleancache_ops structure with funcs set appropriately.