Lines Matching refs:limit
112 * Safe limit for the number of bytes that may be overwritten
302 * The TRBE buffer spans from the base pointer till the limit pointer. When enabled,
303 * it starts writing trace data from the write pointer onward till the limit pointer.
304 * When the write pointer reaches the address just before the limit pointer, it gets
321 * The base and limit pointers always needs to be PAGE_SIZE aligned. But the write
403 u64 limit = bufsize;
460 * trbe_base limit trbe_base + nr_pages
472 * trbe_base limit = trbe_base + nr_pages
485 * trbe_base limit = trbe_base + nr_pages
493 limit = round_down(tail, PAGE_SIZE);
507 * trbe_base limit trbe_base + nr_pages
510 limit = min(limit, round_up(wakeup, PAGE_SIZE));
513 * There are two situation when this can happen i.e limit is before
522 * limit head tail
534 * limit head wakeup tail
540 if (limit > head)
541 return limit;
550 u64 limit = __trbe_normal_offset(handle);
554 * If the head is too close to the limit and we don't
561 while (limit && ((limit - head) < trbe_min_trace_buf_size(handle))) {
562 trbe_pad_buf(handle, limit - head);
563 limit = __trbe_normal_offset(handle);
566 return limit;
686 * wrapped and should be treated as limit.
697 * on WRAP and limit the data to LIMIT.