(us []uint32)
| 460 | } |
| 461 | |
| 462 | func debugStats(us []uint32) (DebugStats, error) { |
| 463 | if l := len(us); l != 1 { |
| 464 | return DebugStats{}, fmt.Errorf("incorrect number of values for XFS debug stats: %d", l) |
| 465 | } |
| 466 | |
| 467 | return DebugStats{ |
| 468 | Enabled: us[0], |
| 469 | }, nil |
| 470 | } |
| 471 | |
| 472 | // btreeAllocBlocks2Stats handles abtb2 stats. |
| 473 | func btreeAllocBlocks2Stats(us []uint32) (BtreeAllocBlocks2Stats, error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…