Searched refs:cbuf_getused (Results 1 – 3 of 3) sorted by relevance
251 if (channel->writefd >= 0 && cbuf_getused(channel->writebuf) > 0) { in write_pending()254 cbuf_getused(channel->extrabuf) > 0) { in write_pending()268 cbuf_getused(channel->writebuf), in check_close()269 channel->extrabuf ? cbuf_getused(channel->extrabuf) : 0)) in check_close()459 if ((channel->writefd >= 0 && cbuf_getused(channel->writebuf) > 0 ) in setchannelfds()465 && cbuf_getused(channel->extrabuf) > 0 ) { in setchannelfds()
41 unsigned int cbuf_getused(circbuffer * cbuf); /* how much data stored */
55 unsigned int cbuf_getused(circbuffer * cbuf) { in cbuf_getused() function