| 2745 | } |
| 2746 | |
| 2747 | static uint32_t bitmap_total_entry_count(struct bitmap_index *bitmap_git) |
| 2748 | { |
| 2749 | uint32_t total = 0; |
| 2750 | do { |
| 2751 | total = st_add(total, bitmap_git->entry_count); |
| 2752 | bitmap_git = bitmap_git->base; |
| 2753 | } while (bitmap_git); |
| 2754 | |
| 2755 | return total; |
| 2756 | } |
| 2757 | |
| 2758 | static void bitmap_test_data_prepare(struct bitmap_test_data *tdata, |
| 2759 | struct bitmap_index *bitmap_git) |