Lines Matching defs:buf_end
94 u32 buf_start, buf_end;
111 div_u64_rem(new_end, log->len_total, &buf_end);
112 /* new_end and buf_end are exclusive indices, so if buf_end is
116 if (buf_end == 0)
117 buf_end = log->len_total;
119 /* if buf_start > buf_end, we wrapped around;
120 * if buf_start == buf_end, then we fill ubuf completely; we
121 * can't have buf_start == buf_end to mean that there is
125 if (buf_start < buf_end) {
129 buf_end - buf_start))
138 log->kbuf + n - buf_end,
139 buf_end))