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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dcafe_ccic.c153 int next_buf; /* Next to consume (dev_lock) */ member in struct:cafe_camera
203 cam->next_buf = -1;
980 if (cam->next_buf < 0) {
985 bufno = cam->next_buf;
987 if (++(cam->next_buf) >= cam->nbufs)
988 cam->next_buf = 0;
989 if (! test_bit(cam->next_buf, &cam->flags))
990 cam->next_buf = -1;
1050 if (cam->next_buf >= 0) {
1081 wait_event_timeout(cam->iowait, cam->next_buf >
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/arcnet/
H A Darcnet.c259 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5)
281 if (lp->next_buf >= 5)
282 lp->next_buf -= 5;
284 if (lp->next_buf == lp->first_free_buf)
287 buf = lp->buf_queue[lp->next_buf++];
288 lp->next_buf %= 5;
295 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5)
420 lp->next_buf = lp->first_free_buf = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/
H A Dehca_classes.h229 u64 next_buf; member in struct:ehca_mr_pginfo
H A Dehca_mrmw.c1698 pbuf = pginfo->phys_buf_array + pginfo->next_buf;
1740 (pginfo->next_buf)++;
1834 "num_4k=%lx next_buf=%lx next_4k=%lx number=%x "
1839 pginfo->next_buf, pginfo->next_4k, number, kpage,
1871 tmp_pbuf = pginfo->phys_buf_array + pginfo->next_buf;
1890 (pginfo->next_buf)++;
1963 "num_4k=%lx next_buf=%lx next_4k=%lx rpage=%p "
1967 pginfo->num_4k, pginfo->next_buf, pginfo->next_4k,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Darcdevice.h278 * If next_buf == first_free_buf, the queue is empty. Since there are
283 int next_buf, first_free_buf; member in struct:arcnet_local

Completed in 98 milliseconds