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

/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_hardlink.c58 struct hardlink_q *qhead; local
60 qhead = (struct hardlink_q *)malloc(sizeof (struct hardlink_q));
61 if (qhead) {
62 SLIST_INIT(qhead);
66 NDMP_LOG(LOG_DEBUG, "qhead = %p", qhead);
68 return (qhead);
77 NDMP_LOG(LOG_DEBUG, "(1): qhead = %p", hl_q);
126 NDMP_LOG(LOG_DEBUG, "(1): qhead = %p, inode = %lu",
165 "(1): qhead
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Daio_subr.c618 aio_enq(aio_req_t **qhead, aio_req_t *reqp, int qflg_new) argument
623 aio_verify_queue(*qhead, NULL, reqp);
625 if ((head = *qhead) == NULL) {
628 *qhead = reqp;
642 aio_deq(aio_req_t **qhead, aio_req_t *reqp) argument
644 aio_verify_queue(*qhead, reqp, NULL);
647 *qhead = NULL;
651 if (*qhead == reqp)
652 *qhead = reqp->aio_req_next;
899 aio_cleanup_cleanupq(aio_t *aiop, aio_req_t *qhead, in argument
940 aio_cleanup_notifyq(aio_t *aiop, aio_req_t *qhead, int exitflg) argument
991 aio_cleanup_pollq(aio_t *aiop, aio_req_t *qhead, int exitflg) argument
[all...]
H A Dstrsubr.c149 * dispatches freebs requests. Queues are put in the list specified by `qhead'
174 static struct queue *qhead; variable in typeref:struct:queue
1348 * Remove queue from qhead/qtail if it is enabled.
1361 if (qp->q_flag & QENAB && qhead != NULL) {
1367 RMQ(qp, qhead, qtail, q_link, q_chase, q_curr, removed);
1394 * Try to remove queues from qhead/qtail list.
1396 if (qhead != NULL) {
3724 while ((freebs_list == NULL) && (qhead == NULL)) {
3742 while (qhead != NULL) {
3743 DQ(q, qhead, qtai
[all...]
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dad_common.h104 nssad_cfg_t *qhead; member in struct:nssad_state
H A Dad_common.c290 * removed from state.qhead. state.qnext points
291 * from the qtail to the qhead. Everytime a config
312 if (state.qhead == cp)
313 state.qhead = prev;
348 state.qtail = state.qhead = cp;
359 lru = state.qhead;
365 state.qhead = prev;
/illumos-gate/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,
/illumos-gate/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;
4005 _sd_cctl_t *qhead = &(q->sq_qhead); local
4055 _sd_cctl_t *qhead = &(q->sq_qhead); local
4529 _sd_cctl_t *qhead = &(q->sq_qhead); local
[all...]
/illumos-gate/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; local
1422 while (qhead) {
1423 r = qhead->node;
1468 Link *qhead = NULL, *qtail = NULL; local
1483 while (qhead) {
1484 r = qhead
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c1032 int qhead; local
1227 qhead = QHEAD(q);
1293 cmn_err(CE_NOTE, "!about to write to queue, qbuf: %p, qhead: %d, "
1295 (void *) qbuf, qhead, qtail, iofbas,
1401 * mark an io header as flushed. If it is the qhead,
1905 nsc_off_t qhead; local
1981 qhead = QNXTIO(q);
1989 while ((qhead == LASTQTAIL(q)) && (IS_QSTATE(q, QTAILBUSY))) {
1992 cmn_err(CE_NOTE, "!Qtail busy delay lastqtail: %d", qhead);
2001 rc = rdc_ns_io(group->diskqfd, NSC_READ, qhead,
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.h243 nsc_entry_t *qhead; member in struct:nsc_db
H A Dcache.c616 if (nscdb->qhead == entry)
617 nscdb->qhead = entry->qprev;
634 assert(nscdb->qtail && nscdb->qhead ||
635 nscdb->qtail == NULL && nscdb->qhead == NULL);
647 nscdb->qhead = nscdb->qtail = entry;
662 if (nscdb->qhead == entry)
663 nscdb->qhead = entry->qprev;
2164 node = nscdb->qhead;
2392 next_node = nscdb->qhead;

Completed in 119 milliseconds