Home
last modified time | relevance | path

Searched refs:first_free_buf (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/arcnet/
H A Darcnet.c291 lp->buf_queue[lp->first_free_buf++] = bufnum; in release_arcbuf()
292 lp->first_free_buf %= 5; in release_arcbuf()
297 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in release_arcbuf()
319 if (lp->next_buf == lp->first_free_buf) { in get_arcbuf()
330 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in get_arcbuf()
562 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
H A Darcdevice.h294 int next_buf, first_free_buf; member