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

Method frag

src/msg/async/dpdk/Packet.h:228–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 unsigned memory() const { return len() + sizeof(Packet::impl); }
227
228 fragment frag(unsigned idx) const { return _impl->frags[idx]; }
229 fragment& frag(unsigned idx) { return _impl->frags[idx]; }
230
231 unsigned nr_frags() const { return _impl->_nr_frags; }

Callers 4

check_frag0Method · 0.80
zero_copy_readMethod · 0.80
from_packet_zcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected