Searched refs:qtail (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c289 * the queue at state.qtail and the LRU entry is
291 * from the qtail to the qhead. Everytime a config
292 * is accessed it is moved to qtail.
297 for (cp = state.qtail, prev = NULL; cp != NULL;
305 if (state.qtail != cp) {
314 cp->qnext = state.qtail;
315 state.qtail = cp;
347 if (state.qtail == NULL) {
348 state.qtail = state.qhead = cp;
353 cp->qnext = state.qtail;
[all...]
H A Dad_common.h105 nssad_cfg_t *qtail; member in struct:nssad_state
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.c601 for (entry = nscdb->qtail, i = 0; entry; entry = entry->qnext) {
611 if (nscdb->qtail == entry)
612 nscdb->qtail = entry->qnext;
631 assert(nscdb->qtail || entry->qnext == NULL &&
634 assert(nscdb->qtail && nscdb->qhead ||
635 nscdb->qtail == NULL && nscdb->qhead == NULL);
638 nscdb->qtail == entry);
642 if (nscdb->qtail == entry)
646 if (nscdb->qtail == NULL) {
647 nscdb->qhead = nscdb->qtail
[all...]
H A Dcache.h244 nsc_entry_t *qtail; member in struct:nsc_db
/illumos-gate/usr/src/tools/cscope-fast/
H A Dcgrep.c209 #define ADD(N) if (qtail) qtail = qtail->next = NEW(N); \
210 else qtail = qhead = NEW(N)
212 qtail = NULL; _l->next = froot; froot = _l; }
1412 Link *qhead = NULL, *qtail = NULL; local
1468 Link *qhead = NULL, *qtail = NULL; local
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c1027 int qtail; local
1225 qtail = QTAIL(q);
1276 rc = nsc_alloc_buf(group->diskqfd, qtail, iofbas,
1294 "qtail: %d, len: %d contents: %c%c%c%c%c",
1295 (void *) qbuf, qhead, qtail, iofbas,
1305 DTRACE_PROBE2(rdc_diskq_nswrite_start, int, qtail, nsc_size_t, iofbas);
1306 rc = nsc_write(qbuf, qtail, iofbas, 0);
1307 DTRACE_PROBE2(rdc_diskq_nswrite_end, int, qtail, nsc_size_t, iofbas);
2535 " , nitems %" NSC_SZFMT ", qhead %p qtail %p",
2568 " , qhead %p qtail
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dstrsubr.c150 * and `qtail' pointers, syncqs use `sqhead' and `sqtail' pointers and freebs
175 static struct queue *qtail; variable in typeref:struct:queue
1348 * Remove queue from qhead/qtail if it is enabled.
1367 RMQ(qp, qhead, qtail, q_link, q_chase, q_curr, removed);
1394 * Try to remove queues from qhead/qtail list.
3743 DQ(q, qhead, qtail, q_link);
3749 ASSERT(qhead == NULL && qtail == NULL);
8237 * Append the queue to qhead/qtail list.
8242 qtail->q_link = q;
8243 qtail
[all...]

Completed in 91 milliseconds