Searched refs:curbuf (Results 1 - 5 of 5) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dviocons.c89 int curbuf; member in struct:port_info
176 const char *curbuf; local
179 curbuf = buf;
187 if (pi->bufferBytes[pi->curbuf] == VIOCHAR_MAX_DATA) {
198 set_bit(pi->curbuf, &pi->used);
203 if (pi->buffer[pi->curbuf] == NULL) {
204 pi->buffer[pi->curbuf] =
206 if (pi->buffer[pi->curbuf] == NULL) {
208 pi->curbuf);
214 if (bleft < (VIOCHAR_MAX_DATA - pi->bufferBytes[pi->curbuf]))
359 const char *curbuf; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dpipe_fs_i.h21 unsigned int nrbufs, curbuf; member in struct:pipe_inode_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dpipe.c244 int curbuf = pipe->curbuf; local
245 struct pipe_buffer *buf = pipe->bufs + curbuf;
284 curbuf = (curbuf + 1) & (PIPE_BUFFERS-1);
285 pipe->curbuf = curbuf;
365 int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) &
413 int newbuf = (pipe->curbuf + bufs) & (PIPE_BUFFERS-1);
527 buf = pipe->curbuf;
[all...]
H A Dsplice.c198 int newbuf = (pipe->curbuf + pipe->nrbufs) & (PIPE_BUFFERS - 1);
688 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf;
716 pipe->curbuf = (pipe->curbuf + 1) & (PIPE_BUFFERS - 1);
1043 pipe->nrbufs = pipe->curbuf = 0;
1060 pipe->nrbufs = pipe->curbuf = 0;
1456 ibuf = ipipe->bufs + ((ipipe->curbuf + i) & (PIPE_BUFFERS - 1));
1457 nbuf = (opipe->curbuf + opipe->nrbufs) & (PIPE_BUFFERS - 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dadvansys.c3344 char *curbuf; local
3378 curbuf = buffer;
3392 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen);
3400 curbuf += cnt;
3409 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen);
3417 curbuf += cnt;
3426 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen);
3434 curbuf += cnt;
3446 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen);
3454 curbuf
7891 asc_proc_copy(off_t advoffset, off_t offset, char *curbuf, int leftlen, char *cp, int cplen) argument
[all...]

Completed in 99 milliseconds