Searched refs:CIRBUF_GET_FREELEN (Results 1 – 3 of 3) sorted by relevance
64 #define CIRBUF_GET_FREELEN(cirbuf) ((cirbuf)->maxlen - (cirbuf)->len) macro
34 if (!cbuf || !c || !n || n > CIRBUF_GET_FREELEN(cbuf)) in cirbuf_add_buf_head()65 if (!cbuf || !c || !n || n > CIRBUF_GET_FREELEN(cbuf)) in cirbuf_add_buf_tail()
586 while ( len >= CIRBUF_GET_FREELEN(&rdl->history) ) { in rdline_add_history()