Lines Matching defs:dmap
11 #define TREESIZE (256+64+16+4+1) /* size of a dmap tree */
12 #define LEAFIND (64+16+4+1) /* index of 1st leaf of a dmap tree */
13 #define LPERDMAP 256 /* num leaves per dmap tree */
14 #define L2LPERDMAP 8 /* l2 number of leaves per dmap tree */
18 #define BPERDMAP (LPERDMAP * DBWORD) /* num of blks per dmap */
19 #define L2BPERDMAP 13 /* l2 num of blks per dmap */
62 * convert disk block number to the logical block number of the dmap
65 * The calculation figures out how many logical pages are in front of the dmap.
69 * - 3 is added to account for the L2, L1, and L0 page for this dmap
81 * - the number of dmap pages preceding it
96 * - the number of dmap pages preceding it
130 * dmap summary tree
145 * dmap page per 8K blocks bitmap
147 struct dmap {
148 __le32 nblocks; /* 4: num blks covered by this dmap */
149 __le32 nfree; /* 4: num of free blks in this dmap */
150 __le64 start; /* 8: starting blkno for this dmap */
151 struct dmaptree tree; /* 360: dmap tree */
173 * common definition for dmaptree within dmap and dmapctl
270 /* convert a block number to a dmap control leaf index */