Lines Matching full:num_ranges
184 uint32 numBoxes = sbuf->map.num_ranges;
260 assert(sbuf->map.num_ranges);
271 for (i = 0; i < sbuf->map.num_ranges; ++i) {
286 sbuf->map.num_ranges = 0;
327 if (sbuf->map.num_ranges < SVGA_BUFFER_MAX_RANGES) {
328 nearest_range = sbuf->map.num_ranges;
339 for (i = 0; i < sbuf->map.num_ranges; ++i) {
385 if (sbuf->map.num_ranges < SVGA_BUFFER_MAX_RANGES) {
390 sbuf->map.ranges[sbuf->map.num_ranges].start = start;
391 sbuf->map.ranges[sbuf->map.num_ranges].end = end;
392 ++sbuf->map.num_ranges;
402 assert(nearest_range < sbuf->map.num_ranges);
473 assert(sbuf->map.num_ranges);
478 for (i = 0; i < sbuf->map.num_ranges; ++i) {
532 sbuf->map.num_ranges = 0;
568 if (sbuf->map.num_ranges) {
609 sbuf->map.num_ranges = 0;
620 assert(!sbuf->map.num_ranges || sbuf->dma.pending);