Lines Matching defs:dmap
24 #define TREESIZE (256+64+16+4+1) /* size of a dmap tree */
25 #define LEAFIND (64+16+4+1) /* index of 1st leaf of a dmap tree */
26 #define LPERDMAP 256 /* num leaves per dmap tree */
27 #define L2LPERDMAP 8 /* l2 number of leaves per dmap tree */
31 #define BPERDMAP (LPERDMAP * DBWORD) /* num of blks per dmap */
32 #define L2BPERDMAP 13 /* l2 num of blks per dmap */
75 * convert disk block number to the logical block number of the dmap
78 * The calculation figures out how many logical pages are in front of the dmap.
82 * - 3 is added to account for the L2, L1, and L0 page for this dmap
94 * - the number of dmap pages preceding it
109 * - the number of dmap pages preceding it
143 * dmap summary tree
158 * dmap page per 8K blocks bitmap
160 struct dmap {
161 __le32 nblocks; /* 4: num blks covered by this dmap */
162 __le32 nfree; /* 4: num of free blks in this dmap */
163 __le64 start; /* 8: starting blkno for this dmap */
164 struct dmaptree tree; /* 360: dmap tree */
186 * common definition for dmaptree within dmap and dmapctl
283 /* convert a block number to a dmap control leaf index */