Home
last modified time | relevance | path

Searched refs:qhead (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/cmd/ndmpd/tlm/
H A Dtlm_hardlink.c58 struct hardlink_q *qhead; in hardlink_q_init() local
60 qhead = (struct hardlink_q *)malloc(sizeof (struct hardlink_q)); in hardlink_q_init()
61 if (qhead) { in hardlink_q_init()
62 SLIST_INIT(qhead); in hardlink_q_init()
66 NDMP_LOG(LOG_DEBUG, "qhead = %p", qhead); in hardlink_q_init()
68 return (qhead); in hardlink_q_init()
/titanic_50/usr/src/uts/common/os/
H A Daio_subr.c618 aio_enq(aio_req_t **qhead, aio_req_t *reqp, int qflg_new) in aio_enq() argument
623 aio_verify_queue(*qhead, NULL, reqp); in aio_enq()
625 if ((head = *qhead) == NULL) { in aio_enq()
628 *qhead = reqp; in aio_enq()
642 aio_deq(aio_req_t **qhead, aio_req_t *reqp) in aio_deq() argument
644 aio_verify_queue(*qhead, reqp, NULL); in aio_deq()
647 *qhead = NULL; in aio_deq()
651 if (*qhead == reqp) in aio_deq()
652 *qhead = reqp->aio_req_next; in aio_deq()
899 aio_cleanup_cleanupq(aio_t *aiop, aio_req_t *qhead, int exitflg) in aio_cleanup_cleanupq() argument
[all …]
H A Dstrsubr.c174 static struct queue *qhead; variable
1361 if (qp->q_flag & QENAB && qhead != NULL) { in remove_runlist()
1367 RMQ(qp, qhead, qtail, q_link, q_chase, q_curr, removed); in remove_runlist()
1396 if (qhead != NULL) { in wait_svc()
3724 while ((freebs_list == NULL) && (qhead == NULL)) { in streams_qbkgrnd_service()
3742 while (qhead != NULL) { in streams_qbkgrnd_service()
3743 DQ(q, qhead, qtail, q_link); in streams_qbkgrnd_service()
3749 ASSERT(qhead == NULL && qtail == NULL); in streams_qbkgrnd_service()
8239 if (qhead == NULL) in qenable_locked()
8240 qhead = q; in qenable_locked()
[all …]
/titanic_50/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c312 if (state.qhead == cp) in get_cfg()
313 state.qhead = prev; in get_cfg()
348 state.qtail = state.qhead = cp; in get_cfg()
359 lru = state.qhead; in get_cfg()
365 state.qhead = prev; in get_cfg()
H A Dad_common.h104 nssad_cfg_t *qhead; member
/titanic_50/usr/src/cmd/ndmpd/include/
H A Dtlm.h571 extern void hardlink_q_cleanup(struct hardlink_q *qhead);
572 extern int hardlink_q_get(struct hardlink_q *qhead, unsigned long inode,
574 extern int hardlink_q_add(struct hardlink_q *qhead, unsigned long inode,
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bcache.c3753 _sd_cctl_t *qhead; local
3766 qhead = &(q->sq_qhead);
3773 cc_dmchain = qhead->cc_next;
3782 cc_ent = qhead;
3823 qhead = &(q->sq_qhead);
3830 for (tmp_dmchain = qhead->cc_next; tmp_dmchain != qhead;
3981 _sd_cctl_t *qhead = &(q->sq_qhead); local
3986 cc_ent->cc_next = qhead->cc_next;
3987 cc_ent->cc_prev = qhead;
3988 qhead->cc_next->cc_prev = cc_ent;
[all …]
/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c1032 int qhead; in rdc_diskq_enqueue() local
1227 qhead = QHEAD(q); in rdc_diskq_enqueue()
1295 (void *) qbuf, qhead, qtail, iofbas, in rdc_diskq_enqueue()
1905 nsc_off_t qhead; in rdc_diskq_unqueue() local
1981 qhead = QNXTIO(q); in rdc_diskq_unqueue()
1989 while ((qhead == LASTQTAIL(q)) && (IS_QSTATE(q, QTAILBUSY))) { in rdc_diskq_unqueue()
1992 cmn_err(CE_NOTE, "!Qtail busy delay lastqtail: %d", qhead); in rdc_diskq_unqueue()
2001 rc = rdc_ns_io(group->diskqfd, NSC_READ, qhead, in rdc_diskq_unqueue()
2009 qhead, rc); in rdc_diskq_unqueue()
2038 "iostatus: %d setid: %d time: %d", qhead, p->pos, p->len, in rdc_diskq_unqueue()
[all …]
/titanic_50/usr/src/tools/cscope-fast/
H A Dcgrep.c210 else qtail = qhead = NEW(N)
211 #define DEL() { Link *_l = qhead; if ((qhead = qhead->next) == NULL) \
1412 Link *qhead = NULL, *qtail = NULL; in fail() local
1422 while (qhead) { in fail()
1423 r = qhead->node; in fail()
1468 Link *qhead = NULL, *qtail = NULL; in shift() local
1483 while (qhead) { in shift()
1484 r = qhead->node; in shift()
/titanic_50/usr/src/cmd/nscd/
H A Dcache.c616 if (nscdb->qhead == entry) in queue_remove()
617 nscdb->qhead = entry->qprev; in queue_remove()
634 assert(nscdb->qtail && nscdb->qhead || in queue_adjust()
635 nscdb->qtail == NULL && nscdb->qhead == NULL); in queue_adjust()
647 nscdb->qhead = nscdb->qtail = entry; in queue_adjust()
662 if (nscdb->qhead == entry) in queue_adjust()
663 nscdb->qhead = entry->qprev; in queue_adjust()
2164 node = nscdb->qhead; in lookup_cache()
2392 next_node = nscdb->qhead; in reap_cache()
H A Dcache.h243 nsc_entry_t *qhead; member