Searched refs:nearest_range (Results 1 – 1 of 1) sorted by relevance
322 unsigned nearest_range; in svga_buffer_add_range() local328 nearest_range = sbuf->map.num_ranges; in svga_buffer_add_range()331 nearest_range = SVGA_BUFFER_MAX_RANGES - 1; in svga_buffer_add_range()368 nearest_range = i; in svga_buffer_add_range()401 assert(nearest_range < SVGA_BUFFER_MAX_RANGES); in svga_buffer_add_range()402 assert(nearest_range < sbuf->map.num_ranges); in svga_buffer_add_range()403 sbuf->map.ranges[nearest_range].start = MIN2(sbuf->map.ranges[nearest_range].start, start); in svga_buffer_add_range()404 sbuf->map.ranges[nearest_range].end = MAX2(sbuf->map.ranges[nearest_range].end, end); in svga_buffer_add_range()