Lines Matching refs:bufs
306 struct pipe_buffer *buf = &pipe->bufs[tail & mask];
476 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask];
529 buf = &pipe->bufs[head & mask];
629 count += pipe->bufs[tail & mask].len;
815 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer),
818 if (pipe->bufs) {
851 struct pipe_buffer *buf = pipe->bufs + i;
861 kfree(pipe->bufs);
1267 struct pipe_buffer *bufs;
1270 bufs = kcalloc(nr_slots, sizeof(*bufs),
1272 if (unlikely(!bufs))
1283 kfree(bufs);
1295 memcpy(bufs, pipe->bufs + t,
1300 memcpy(bufs + tsize, pipe->bufs,
1302 memcpy(bufs, pipe->bufs + t,
1310 kfree(pipe->bufs);
1311 pipe->bufs = bufs;