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

Method prepend_zero

src/common/buffer.cc:1482–1489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1480 }
1481
1482 void buffer::list::prepend_zero(unsigned len)
1483 {
1484 auto bp = ptr_node::create(len);
1485 bp->zero(false);
1486 _len += len;
1487 _num += 1;
1488 _buffers.push_front(*bp.release());
1489 }
1490
1491 void buffer::list::append_zero2(unsigned len)
1492 {

Callers 4

_apply_paddingMethod · 0.80
generate_transactionsMethod · 0.80
do_zeroFunction · 0.80

Calls 4

createFunction · 0.70
zeroMethod · 0.45
push_frontMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected