Lines Matching defs:unused
175 GlhLineSeg *unused; /* The list of free nodes in buffer[] */
270 glh->unused = NULL;
305 * All nodes of the buffer are currently unused, so link them all into
306 * a list and make glh->unused point to the head of this list.
308 glh->unused = glh->buffer;
310 GlhLineSeg *seg = glh->unused + i;
313 glh->unused[i].next = NULL;
361 glh->unused = NULL;
1665 * Link the currently unused nodes of the buffer into a list.
1667 glh->unused = glh->buffer;
1669 GlhLineSeg *seg = glh->unused + i;
1672 glh->unused[i].next = NULL;
1680 glh->unused = NULL;
1723 * Make a list of the new buffer's unused segments.
1740 glh->unused = glh->nfree > 0 ? (buffer + nbusy) : NULL;
1833 * Move all line segment nodes back onto the list of unused segments.
1836 glh->unused = glh->buffer;
1838 GlhLineSeg *seg = glh->unused + i;
1841 glh->unused[i].next = NULL;
1845 glh->unused = NULL;
2208 * Record the line in the first 'nseg' segments of the list of unused segments.
2211 for(i=0,seg=glh->unused; i<nseg-1; i++,seg=seg->next, offset+=GLH_SEG_SIZE)
2222 * Move the copy of the line from the list of unused segments to
2225 hnode->head = glh->unused;
2226 glh->unused = seg->next;
2287 * Return the line segments of the hash-node to the list of unused segments.
2300 * list of unused line segments.
2302 tail->next = glh->unused;
2303 glh->unused = hnode->head;