| 
    FreeBSD ZFS 
   The Zettabyte File System 
   | 
 
#include <zap.h>
Data Fields | |
| uint64_t | zs_ptrtbl_len | 
| Size of the pointer table (in number of entries).   | |
| uint64_t | zs_blocksize | 
| size of zap blocks   | |
| uint64_t | zs_num_blocks | 
| The number of blocks used.   | |
Pointer table values from zap_ptrtbl in the zap_phys_t  | |
| uint64_t | zs_ptrtbl_nextblk | 
| next (larger) copy start block   | |
| uint64_t | zs_ptrtbl_blks_copied | 
| number source blocks copied   | |
| uint64_t | zs_ptrtbl_zt_blk | 
| starting block number   | |
| uint64_t | zs_ptrtbl_zt_numblks | 
| number of blocks   | |
| uint64_t | zs_ptrtbl_zt_shift | 
| bits to index it   | |
Values of the other members of the zap_phys_t  | |
| uint64_t | zs_block_type | 
| ZBT_HEADER.   | |
| uint64_t | zs_magic | 
| ZAP_MAGIC.   | |
| uint64_t | zs_num_leafs | 
| The number of leaf blocks.   | |
| uint64_t | zs_num_entries | 
| The number of zap entries.   | |
| uint64_t | zs_salt | 
| salt to stir into hash function   | |
Histograms  | |
For all histograms, the last index (ZAP_HISTOGRAM_SIZE-1) includes any values which are greater than what can be represented. For example zs_leafs_with_n5_entries[ZAP_HISTOGRAM_SIZE-1] is the number of leafs with more than 45 entries.  | |
| uint64_t | zs_leafs_with_2n_pointers [ZAP_HISTOGRAM_SIZE] | 
| zs_leafs_with_n_pointers[n] is the number of leafs with 2^n pointers to it.   | |
| uint64_t | zs_blocks_with_n5_entries [ZAP_HISTOGRAM_SIZE] | 
| zs_leafs_with_n_entries[n] is the number of leafs with [n*5, (n+1)*5) entries.   | |
| uint64_t | zs_blocks_n_tenths_full [ZAP_HISTOGRAM_SIZE] | 
| zs_leafs_n_tenths_full[n] is the number of leafs whose fullness is in the range [n/10, (n+1)/10).   | |
| uint64_t | zs_entries_using_n_chunks [ZAP_HISTOGRAM_SIZE] | 
| zs_entries_using_n_chunks[n] is the number of entries which consume n 24-byte chunks.   | |
| uint64_t | zs_buckets_with_n_entries [ZAP_HISTOGRAM_SIZE] | 
| zs_buckets_with_n_entries[n] is the number of buckets (each leaf has 64 buckets) with n entries.   | |
| uint64_t zap_stats::zs_block_type | 
| uint64_t zap_stats::zs_blocks_n_tenths_full[ZAP_HISTOGRAM_SIZE] | 
| uint64_t zap_stats::zs_blocks_with_n5_entries[ZAP_HISTOGRAM_SIZE] | 
| uint64_t zap_stats::zs_blocksize | 
| uint64_t zap_stats::zs_buckets_with_n_entries[ZAP_HISTOGRAM_SIZE] | 
| uint64_t zap_stats::zs_entries_using_n_chunks[ZAP_HISTOGRAM_SIZE] | 
| uint64_t zap_stats::zs_leafs_with_2n_pointers[ZAP_HISTOGRAM_SIZE] | 
| uint64_t zap_stats::zs_magic | 
| uint64_t zap_stats::zs_num_blocks | 
| uint64_t zap_stats::zs_num_entries | 
| uint64_t zap_stats::zs_num_leafs | 
| uint64_t zap_stats::zs_ptrtbl_blks_copied | 
| uint64_t zap_stats::zs_ptrtbl_len | 
| uint64_t zap_stats::zs_ptrtbl_nextblk | 
| uint64_t zap_stats::zs_ptrtbl_zt_blk | 
| uint64_t zap_stats::zs_ptrtbl_zt_numblks | 
| uint64_t zap_stats::zs_ptrtbl_zt_shift | 
| uint64_t zap_stats::zs_salt | 
 1.7.3