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

Method is_aligned

src/common/buffer.cc:1030–1038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028 }
1029
1030 bool buffer::list::is_aligned(const unsigned align) const
1031 {
1032 for (const auto& node : _buffers) {
1033 if (!node.is_aligned(align)) {
1034 return false;
1035 }
1036 }
1037 return true;
1038 }
1039
1040 bool buffer::list::is_n_align_sized(const unsigned align) const
1041 {

Callers 6

TESTFunction · 0.45
TESTFunction · 0.45
create_bufFunction · 0.45

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.36
TESTFunction · 0.36
create_bufFunction · 0.36