| 162 | } |
| 163 | |
| 164 | void InoTable::dump(Formatter *f) const |
| 165 | { |
| 166 | f->open_object_section("inotable"); |
| 167 | |
| 168 | f->open_array_section("projected_free"); |
| 169 | for (interval_set<inodeno_t>::const_iterator i = projected_free.begin(); i != projected_free.end(); ++i) { |
| 170 | f->open_object_section("range"); |
| 171 | f->dump_int("start", (*i).first); |
| 172 | f->dump_int("len", (*i).second); |
| 173 | f->close_section(); |
| 174 | } |
| 175 | f->close_section(); |
| 176 | |
| 177 | f->open_array_section("free"); |
| 178 | for (interval_set<inodeno_t>::const_iterator i = free.begin(); i != free.end(); ++i) { |
| 179 | f->open_object_section("range"); |
| 180 | f->dump_int("start", (*i).first); |
| 181 | f->dump_int("len", (*i).second); |
| 182 | f->close_section(); |
| 183 | } |
| 184 | f->close_section(); |
| 185 | |
| 186 | f->close_section(); |
| 187 | } |
| 188 | |
| 189 | |
| 190 | std::list<InoTable> InoTable::generate_test_instances() |
nothing calls this directly
no test coverage detected