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

Method reset

src/client/FSCrypt.cc:364–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void FSCryptKeyHandler::reset(int64_t _epoch, FSCryptKeyRef k)
365{
366 std::unique_lock wl{lock};
367
368 // clear any previous crypto key with overwrite of 0s
369 key->get_key().zero();
370 epoch = _epoch;
371 key = k;
372}
373
374int64_t FSCryptKeyHandler::get_epoch()
375{

Callers 15

~InodeMethod · 0.45
unlinkMethod · 0.45
createMethod · 0.45
invalidateMethod · 0.45
ClientMethod · 0.45
tear_down_cacheMethod · 0.45
_pre_initMethod · 0.45
_finish_initMethod · 0.45
shutdownMethod · 0.45
trim_cacheMethod · 0.45
handle_fs_mapMethod · 0.45
handle_fs_map_userMethod · 0.45

Calls 2

zeroMethod · 0.45
get_keyMethod · 0.45

Tested by

no test coverage detected