Lines Matching refs:mapptr
78 unsigned int mapptr; in lookup_zone() local
83 mapptr = start + idlen; in lookup_zone()
90 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in lookup_zone()
92 mapptr = (mapptr & ~31) + 32; in lookup_zone()
93 if (mapptr >= mapsize) in lookup_zone()
95 v = le32_to_cpu(_map[mapptr >> 5]); in lookup_zone()
98 mapptr += 1 + ffz(~v); in lookup_zone()
104 start = mapptr; in lookup_zone()
105 } while (mapptr < mapsize); in lookup_zone()
110 frag, start, mapptr); in lookup_zone()
115 int length = mapptr - start; in lookup_zone()
138 unsigned int start = 8, mapptr; in scan_free_map() local
161 mapptr = start + idlen; in scan_free_map()
168 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in scan_free_map()
170 mapptr = (mapptr & ~31) + 32; in scan_free_map()
171 if (mapptr >= mapsize) in scan_free_map()
173 v = le32_to_cpu(_map[mapptr >> 5]); in scan_free_map()
176 mapptr += 1 + ffz(~v); in scan_free_map()
179 total += mapptr - start; in scan_free_map()