Home
last modified time | relevance | path

Searched refs:delta_list (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/dm-vdo/indexer/
H A Ddelta-index.c142 static inline u64 get_delta_list_byte_start(const struct delta_list *delta_list) in get_delta_list_byte_start() argument
144 return delta_list->start / BITS_PER_BYTE; in get_delta_list_byte_start()
147 static inline u16 get_delta_list_byte_size(const struct delta_list *delta_list) in get_delta_list_byte_size() argument
149 unsigned int bit_offset = delta_list->start % BITS_PER_BYTE; in get_delta_list_byte_size()
151 return BITS_TO_BYTES(bit_offset + delta_list->size); in get_delta_list_byte_size()
157 struct delta_list *delta_list; in rebalance_delta_zone() local
162 delta_list = &delta_zone->delta_lists[first]; in rebalance_delta_zone()
164 if (delta_list->start != new_start) { in rebalance_delta_zone()
168 source = get_delta_list_byte_start(delta_list); in rebalance_delta_zone()
169 delta_list->start = new_start; in rebalance_delta_zone()
[all …]
H A Ddelta-index.h30 struct delta_list { struct
45 struct delta_list *delta_lists; argument
171 struct delta_list *delta_list; member
179 struct delta_list temp_delta_list;