| vtzerotruncate, vtzeroextend, vtzeroscore \- Venti block truncation |
| uint vtzerotruncate(int type, uchar *buf, uint size) |
| void vtzeroextend(int type, uchar *buf, uint size, uint newsize) |
| extern uchar vtzeroscore[VtScoreSize]; |
| These utility functions compute how to truncate or replace |
| trailing zeros (for data blocks) or trailing zero scores |
| (for pointer blocks) to canonicalize the blocks before |
| ignoring trailing zeros or zero scores, |
| with zeros or zero scores, |
| is the score of the zero-length block. |
| .B \*9/src/libventi/zero.c |
| .B \*9/src/libventi/zeroscore.c |