Lines Matching defs:bufs
286 struct pipe_buffer *buf = &pipe->bufs[tail & mask];
458 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask];
520 buf = &pipe->bufs[head & mask];
620 count += pipe->bufs[tail & mask].len;
806 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer),
809 if (pipe->bufs) {
841 struct pipe_buffer *buf = pipe->bufs + i;
851 kfree(pipe->bufs);
1257 struct pipe_buffer *bufs;
1260 bufs = kcalloc(nr_slots, sizeof(*bufs),
1262 if (unlikely(!bufs))
1273 kfree(bufs);
1285 memcpy(bufs, pipe->bufs + t,
1290 memcpy(bufs + tsize, pipe->bufs,
1292 memcpy(bufs, pipe->bufs + t,
1300 kfree(pipe->bufs);
1301 pipe->bufs = bufs;