Lines Matching refs:dm_block_t
50 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result);
51 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie);
54 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll);
67 dm_block_t index;
78 dm_block_t nr_blocks;
79 dm_block_t nr_allocated;
84 dm_block_t bitmap_root;
86 dm_block_t ref_count_root;
117 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
118 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
119 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
120 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
121 dm_block_t end, dm_block_t *result);
123 dm_block_t begin, dm_block_t end, dm_block_t *result);
130 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, int32_t *nr_allocations);
131 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations);
132 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations);