-static int blocks_free(unsigned int *map, unsigned int idx,
- unsigned int nr_blocks)
-{
- return blocks_iter(map, idx, nr_blocks, mask_cmp);
-}
-
-static void set_blocks(unsigned int *map, unsigned int idx,
- unsigned int nr_blocks)
+static int blocks_free(struct pool *pool, unsigned int pool_idx,
+ unsigned int idx, unsigned int nr_blocks)