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

Method _find

src/client/FSCrypt.cc:495–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495int FSCryptKeyStore::_find(const struct ceph_fscrypt_key_identifier& id, FSCryptKeyHandlerRef& kh)
496{
497 auto iter = m.find(id);
498 if (iter == m.end()) {
499 return -ENOKEY;
500 }
501
502 kh = iter->second;
503
504 return 0;
505}
506
507int FSCryptKeyStore::find(const struct ceph_fscrypt_key_identifier& id, FSCryptKeyHandlerRef& kh)
508{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected