Home | History | Annotate | Download | only in memcheck

Lines Matching refs:map

15  * tree (a map) of module memory mapping ranges in the guest system. The map is
16 * organized in such a way, that each entry in the map describes a virtual
18 * Map considers two ranges to be equal if their address ranges intersect in
32 /* Memory mapping range map. */
34 /* Head of the map. */
39 // Map API
42 /* Initializes the map.
44 * map - Map to initialize.
46 void mmrangemap_init(MMRangeMap* map);
48 /* Inserts new (or replaces existing) entry in the map.
51 * a matching entry already exists in the map. If 'replaced' parameter is not
52 * NULL, and a matching entry exists in the map, content of the existing entry
54 * entry will be removed from the map, and new entry will be inserted.
56 * map - Map where to insert new, or replace existing entry.
57 * desc - Descriptor to insert to the map.
59 * that has been replaced in the map with the new entry. Note that if this
66 RBTMapResult mmrangemap_insert(MMRangeMap* map,
70 /* Finds an entry in the map that matches the given address.
72 * map - Map where to search for an entry.
76 * Pointer to the descriptor found in a map entry, or NULL if no matching
77 * entry has been found in the map.
79 MMRangeDesc* mmrangemap_find(const MMRangeMap* map,
83 /* Pulls (finds and removes) an entry from the map that matches the given
86 * map - Map where to search for an entry.
90 * map.
93 * if no matching entry has been found in the map.
95 int mmrangemap_pull(MMRangeMap* map,
100 /* Copies content of one memory map to another.
102 * to - Map where to copy entries to.
103 * from - Map where to copy entries from.
109 /* Empties the map.
111 * map - Map to empty.
113 * Number of entries removed from the map.
115 int mmrangemap_empty(MMRangeMap* map);