Lines Matching refs:nbusy
187 int nbusy; /* The number of line segments in buffer[] that are */ member
279 glh->nbusy = 0; in _new_GlHistory()
1660 glh->nbusy = 0; in _glh_resize_history()
1681 glh->nbusy = 0; in _glh_resize_history()
1688 int nbusy; /* The number of used line segments in the new buffer */ in _glh_resize_history() local
1693 while(glh->list.head && glh->nbusy > nbuff) in _glh_resize_history()
1706 nbusy = 0; in _glh_resize_history()
1712 hnode->head = buffer + nbusy; in _glh_resize_history()
1714 buffer[nbusy] = *seg; in _glh_resize_history()
1715 buffer[nbusy].next = seg->next ? &buffer[nbusy+1] : NULL; in _glh_resize_history()
1716 nbusy++; in _glh_resize_history()
1723 for(i=nbusy; i<nbuff-1; i++) in _glh_resize_history()
1736 glh->nbusy = nbusy; in _glh_resize_history()
1737 glh->nfree = nbuff - nbusy; in _glh_resize_history()
1738 glh->unused = glh->nfree > 0 ? (buffer + nbusy) : NULL; in _glh_resize_history()
1841 glh->nbusy = 0; in _glh_clear_history()
1844 glh->nbusy = glh->nfree = 0; in _glh_clear_history()
2129 *buff_size = (glh->nbusy + glh->nfree) * GLH_SEG_SIZE; in _glh_size_of_history()
2134 *buff_used = glh->nbusy * GLH_SEG_SIZE; in _glh_size_of_history()
2197 while(glh->nfree < nseg && glh->nbusy > 0) in _glh_acquire_copy()
2226 glh->nbusy += nseg; in _glh_acquire_copy()
2302 glh->nbusy -= nseg; in _glh_discard_copy()