Lines Matching refs:bytes
72 /* Discard any unused bytes beyond that submitted to hw. */
195 unsigned int bytes)
200 if (intel_ring_update_space(ring) >= bytes)
209 if (bytes <= __intel_ring_space(target->postfix,
226 GEM_BUG_ON(ring->space < bytes);
234 const unsigned int bytes = num_dwords * sizeof(u32);
242 total_bytes = bytes + rq->reserved_space;
248 if (bytes > remain_usable) {
300 GEM_BUG_ON(ring->emit > ring->size - bytes);
301 GEM_BUG_ON(ring->space < bytes);
304 memset32(cs, POISON_INUSE, bytes / sizeof(*cs));
305 ring->emit += bytes;
306 ring->space -= bytes;