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

Method zero

src/common/buffer.cc:624–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622 }
623
624 void buffer::ptr::zero(bool crc_reset)
625 {
626 if (crc_reset)
627 _raw->invalidate_crc();
628 // FIPS zeroization audit 20191115: this memset is not security related.
629 memset(c_str(), 0, _len);
630 }
631
632 void buffer::ptr::zero(unsigned o, unsigned l, bool crc_reset)
633 {

Callers 9

resetMethod · 0.45
finishMethod · 0.45
_read_syncMethod · 0.45
_fallocateMethod · 0.45
play_traceMethod · 0.45
create_objectsMethod · 0.45
object_rwMethod · 0.45
prepend_zeroMethod · 0.45
append_zeroMethod · 0.45

Calls 2

invalidate_crcMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected