Lines Matching defs:count
28 * Extensions do not appear in this count until after commit has
31 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
38 * have blocks with a zero reference count that will not be
41 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
46 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
89 static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
91 return sm->get_nr_blocks(sm, count);
94 static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
96 return sm->get_nr_free(sm, count);
112 uint32_t count)
114 return sm->set_count(sm, b, count);