Lines Matching refs:nbusy
189 int nbusy; /* The number of line segments in buffer[] that are */ member
281 glh->nbusy = 0; in _new_GlHistory()
1662 glh->nbusy = 0; in _glh_resize_history()
1683 glh->nbusy = 0; in _glh_resize_history()
1690 int nbusy; /* The number of used line segments in the new buffer */ in _glh_resize_history() local
1695 while(glh->list.head && glh->nbusy > nbuff) in _glh_resize_history()
1708 nbusy = 0; in _glh_resize_history()
1714 hnode->head = buffer + nbusy; in _glh_resize_history()
1716 buffer[nbusy] = *seg; in _glh_resize_history()
1717 buffer[nbusy].next = seg->next ? &buffer[nbusy+1] : NULL; in _glh_resize_history()
1718 nbusy++; in _glh_resize_history()
1725 for(i=nbusy; i<nbuff-1; i++) in _glh_resize_history()
1738 glh->nbusy = nbusy; in _glh_resize_history()
1739 glh->nfree = nbuff - nbusy; in _glh_resize_history()
1740 glh->unused = glh->nfree > 0 ? (buffer + nbusy) : NULL; in _glh_resize_history()
1843 glh->nbusy = 0; in _glh_clear_history()
1846 glh->nbusy = glh->nfree = 0; in _glh_clear_history()
2131 *buff_size = (glh->nbusy + glh->nfree) * GLH_SEG_SIZE; in _glh_size_of_history()
2136 *buff_used = glh->nbusy * GLH_SEG_SIZE; in _glh_size_of_history()
2199 while(glh->nfree < nseg && glh->nbusy > 0) in _glh_acquire_copy()
2228 glh->nbusy += nseg; in _glh_acquire_copy()
2304 glh->nbusy -= nseg; in _glh_discard_copy()