Lines Matching refs:daddr_t
86 #define SWAPBLK_NONE ((daddr_t)-1)
121 #define SWAPBLK_NONE ((daddr_t)-1)
132 static daddr_t blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int count);
133 static daddr_t blst_meta_alloc(blmeta_t *scan, daddr_t blk,
134 daddr_t count, daddr_t radix, int skip);
135 static void blst_leaf_free(blmeta_t *scan, daddr_t relblk, int count);
136 static void blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count,
137 daddr_t radix, int skip, daddr_t blk);
138 static void blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix,
139 daddr_t skip, blist_t dest, daddr_t count);
140 static daddr_t blst_radix_init(blmeta_t *scan, daddr_t radix,
141 int skip, daddr_t count);
143 static void blst_radix_print(blmeta_t *scan, daddr_t blk,
144 daddr_t radix, int skip, int tab);
162 blist_create(daddr_t blocks)
217 daddr_t
218 blist_alloc(blist_t bl, daddr_t count)
220 daddr_t blk = SWAPBLK_NONE;
241 blist_free(blist_t bl, daddr_t blkno, daddr_t count)
262 blist_resize(blist_t *pbl, daddr_t count, int freenew)
315 static daddr_t
316 blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int count)
388 static daddr_t
389 blst_meta_alloc(blmeta_t *scan, daddr_t blk, daddr_t count, daddr_t radix,
411 if (scan[i].bm_bighint == (daddr_t)-1)
430 daddr_t r;
442 } else if (scan[i].bm_bighint == (daddr_t)-1) {
471 blst_leaf_free(blmeta_t *scan, daddr_t blk, int count)
512 blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count, daddr_t radix,
513 int skip, daddr_t blk)
535 if (scan[i].bm_bighint == (daddr_t)-1)
570 daddr_t v;
576 if (scan->bm_bighint == (daddr_t)-1)
600 static void blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix,
601 daddr_t skip, blist_t dest, daddr_t count)
649 if (scan[i].bm_bighint == (daddr_t)-1)
688 static daddr_t
689 blst_radix_init(blmeta_t *scan, daddr_t radix, int skip, daddr_t count)
693 daddr_t memindex = 0;
749 scan[i].bm_bighint = (daddr_t)-1;
761 blst_radix_print(blmeta_t *scan, daddr_t blk, daddr_t radix, int skip, int tab)
811 if (scan[i].bm_bighint == (daddr_t)-1) {
863 daddr_t da = 0;
864 daddr_t count = 0;
883 daddr_t blk = blist_alloc(bl, count);