Lines Matching refs:dm_block_t
51 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result);
52 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie);
55 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll);
68 dm_block_t index;
79 dm_block_t nr_blocks;
80 dm_block_t nr_allocated;
85 dm_block_t bitmap_root;
87 dm_block_t ref_count_root;
118 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
119 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
120 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
121 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
122 dm_block_t end, dm_block_t *result);
124 dm_block_t begin, dm_block_t end, dm_block_t *result);
131 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, int32_t *nr_allocations);
132 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations);
133 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations);