Home
last modified time | relevance | path

Searched refs:ntotal (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dchrqueue.c79 int ntotal; /* The total number of characters that have been */ member
110 cq->nflush = cq->ntotal = 0; in _new_GlCharQueue()
184 int boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
208 boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
255 cq->ntotal += nnew; in _glq_append_chars()
281 cq->nflush = cq->ntotal = 0; in _glq_empty_queue()
295 return (cq && cq->buffers.head) ? (cq->ntotal - cq->nflush) : 0; in _glq_char_count()
344 int nmodulo = cq->ntotal % GL_CQ_SIZE; in _glq_flush_queue()
H A Dgetline.c1790 gl->ntotal = 0; in new_GetLine()
5018 mark = gl->buff_mark > gl->ntotal ? gl->ntotal : gl->buff_mark; in KT_KEY_FN()
7783 buff_curpos = gl->vi.command ? gl->ntotal-1 : gl->ntotal; in gl_place_cursor()
7813 gl->vi.undo.ntotal = gl->ntotal; in gl_save_for_undo()
7849 if(gl->ntotal > gl->vi.undo.ntotal) { in KT_KEY_FN()
7859 gl->vi.undo.ntotal = gl->ntotal; in KT_KEY_FN()
10423 gl_truncate_buffer(gl, gl->ntotal < 0 ? 0 : gl->ntotal);
10458 gl->ntotal = 0;
12062 gl->ntotal += n;
12082 gl->ntotal -= n;
[all …]
H A Dfreelist.c48 long ntotal; /* The total number of nodes in the free list */ member
104 fl->ntotal = 0; in _new_FreeList()
319 return fl ? (fl->ntotal - fl->nbusy) : 0; in _idle_FreeListNodes()
362 fl->ntotal += fl->blocking_factor; in _new_FreeListBlock()