Return the number of RAM/ROM entries found in the guest's address space that can be accessed through the memory walk filter
#include <qvm/gasp.h>
unsigned gasp_walk_count_filtered(const struct guest_system *gsp, uint64_t max_length, unsigned flags, gasp_walk_filter_t filter)
Use this function to find out how much memory you will need for storing the information about the ranges of the guest's address space that are accessible through the walk filter. This amount is max_length multiplied by the function's return value.
The number of RAM/ROM entries found in the guest's address space that can be accessed through the walk filter. This corresponds to how many successful gasp_walk_next_filtered() calls you can make, assuming the same length was passed into gasp_walk_init_filtered().