Lines Matching defs:current
187 static int current; /* index of buffer in use */
322 current = 0;
338 /* Have emptied current buffer by sending to net and getting ack.
346 bfs[current].counter = BF_FREE; /* free old one */
347 current = !current; /* "incr" current */
349 b = &bfs[current]; /* look at new buffer */
424 bfs[current].counter = ct; /* set size of data to write */
425 current = !current; /* switch to other buffer */
426 if(bfs[current].counter != BF_FREE) /* if not free */
428 bfs[current].counter = BF_ALLOC; /* mark as alloc'd */
429 *dpp = &bfs[current].buf.hdr;
445 int c; /* current character */