MCPcopy Create free account
hub / github.com/ceph/ceph / __ceph_plugin_init

Function __ceph_plugin_init

src/librbd/plugin/ParentCache.cc:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18int __ceph_plugin_init(CephContext *cct, const std::string& type,
19 const std::string& name) {
20 auto plugin_registry = cct->get_plugin_registry();
21 return plugin_registry->add(
22 type, name, new librbd::plugin::ParentCache<librbd::ImageCtx>(cct));
23}
24
25} // extern "C"
26

Callers

nothing calls this directly

Calls 2

get_plugin_registryMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected