Home
last modified time | relevance | path

Searched refs:q_forw (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/lib/libc/port/gen/
H A Dinsque.c52 ((struct qelem *)elem)->q_forw = NULL; in insque()
54 } else if (((struct qelem *)pred)->q_forw == NULL) { in insque()
57 ((struct qelem *)elem)->q_forw = NULL; in insque()
59 ((struct qelem *)pred)->q_forw = elem; in insque()
62 ((struct qelem *)elem)->q_forw = ((struct qelem *)pred)->q_forw; in insque()
64 ((struct qelem *)pred)->q_forw->q_back = elem; in insque()
65 ((struct qelem *)pred)->q_forw = elem; in insque()
74 if (((struct qelem *)elem)->q_forw == NULL) in remque()
77 ((struct qelem *)elem)->q_forw->q_back = NULL; in remque()
78 } else if (((struct qelem *)elem)->q_forw == NULL) { in remque()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dknown_wlans.c85 kw_list.q_forw = kw_list.q_back = &kw_list; in kw_list_init()
94 while (kw_list.q_forw != &kw_list) { in kw_list_free()
95 kw = (kw_t *)kw_list.q_forw; in kw_list_free()
98 while (kw->kw_bssids.q_forw != &kw->kw_bssids) { in kw_list_free()
99 b = (bssid_t *)kw->kw_bssids.q_forw; in kw_list_free()
118 for (kw = (kw_t *)kw_list.q_forw; in kw_lookup()
120 kw = (kw_t *)kw->kw_links.q_forw) { in kw_lookup()
143 kw->kw_bssids.q_forw = kw->kw_bssids.q_back = &kw->kw_bssids; in kw_add()
315 for (kw = (kw_t *)kw_list.q_forw, priority = num_kw-1; in upgrade_known_wifi_nets_config()
317 kw = (kw_t *)kw->kw_links.q_forw, priority--) { in upgrade_known_wifi_nets_config()
[all …]
H A Dllp.c105 while (llp_list.q_forw != &llp_list) { in llp_list_free()
106 llp = (llp_t *)llp_list.q_forw; in llp_list_free()
117 llp_list.q_forw = llp_list.q_back = &llp_list; in initialize_llp()
128 for (llp = (llp_t *)llp_list.q_forw; llp != (llp_t *)&llp_list; in llp_lookup()
129 llp = (llp_t *)llp->llp_links.q_forw) { in llp_lookup()
328 for (wp = (llp_t *)llp_list.q_forw; wp != (llp_t *)&llp_list; in upgrade_llp_config()
329 wp = (llp_t *)wp->llp_links.q_forw) { in upgrade_llp_config()
/titanic_41/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_thread.c108 entryp->q_forw = predp->q_forw; in nst_insque()
109 predp->q_forw = entryp; in nst_insque()
110 entryp->q_forw->q_back = entryp; in nst_insque()
125 entryp->q_back->q_forw = entryp->q_forw; in nst_remque()
126 entryp->q_forw->q_back = entryp->q_back; in nst_remque()
127 entryp->q_forw = entryp->q_back = NULL; in nst_remque()
172 tp = (nsthread_t *)set->set_free.q_forw; in nst_thread_alloc()
355 if (tp->tp_link.q_forw != NULL || tp->tp_link.q_back != NULL) { in nst_thread_run()
356 ASSERT(tp->tp_link.q_forw != NULL && in nst_thread_run()
415 if (set->set_reuse.q_forw != &set->set_reuse) { in nst_thread_create()
[all …]
H A Dnsc_thread.h57 struct nst_q *q_forw; member
/titanic_41/usr/src/head/
H A Dsearch.h47 struct qelem *q_forw; member
/titanic_41/usr/src/cmd/mdb/common/modules/nsctl/
H A Dnsctl.c631 wsp->walk_addr + OFFSETOF(nsthread_t, tp_link.q_forw)) == -1) { in nst_free_winit()
658 thread + OFFSETOF(nsthread_t, tp_link.q_forw)) == -1) { in nst_free_wstep()
1577 if (set->set_reuse.q_forw == set->set_reuse.q_back && in nstset()
1578 (uintptr_t)set->set_reuse.q_forw == in nstset()
1584 set->set_reuse.q_forw, set->set_reuse.q_back); in nstset()
1596 if (set->set_free.q_forw == set->set_free.q_back && in nstset()
1597 (uintptr_t)set->set_free.q_forw == in nstset()
1603 set->set_free.q_forw, set->set_free.q_back); in nstset()
1763 tp->tp_link.q_forw, tp->tp_link.q_back); in nsthread()
/titanic_41/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun_impl.h40 struct qelem *q_forw; member
H A Dsppptun.c679 tll = TO_TLL(tunll_list.q_forw); in sppptun_close()
1086 tll = TO_TLL(tunll_list.q_forw); in tll_lookup_on_name()
1248 tll = TO_TLL(tunll_list.q_forw); in sppptun_inner_ioctl()
2409 tunll_list.q_forw = tunll_list.q_back = &tunll_list; in sppptun_init()
2457 if (tunll_list.q_forw != &tunll_list || tcl_inuse > 0) in sppptun_tcl_fintest()
/titanic_41/usr/src/cmd/awk_xpg4/
H A Dawk1.c1468 for (qp = reghash[key].q_forw; qp != NULL; qp = qp->q_forw) { in int_regwcomp()
1476 if (rcp != (struct regcache *)reglink.q_forw) { in int_regwcomp()
1535 for (qp = reglink.q_forw; qp != NULL; qp = nqp) { in int_regwfree()
1536 nqp = qp->q_forw; in int_regwfree()
/titanic_41/usr/src/uts/common/sys/
H A Dllc1.h271 struct qelem *q_forw; member
/titanic_41/usr/src/uts/common/io/
H A Dllc1.c2812 struct qelem *pnext = ppred->q_forw; in llc1insque()
2814 pelem->q_forw = pnext; in llc1insque()
2816 ppred->q_forw = pelem; in llc1insque()
2826 ASSERT(pelem->q_forw != NULL); in llc1remque()
2827 pelem->q_forw->q_back = pelem->q_back; in llc1remque()
2828 pelem->q_back->q_forw = pelem->q_forw; in llc1remque()
2829 elem->q_back = elem->q_forw = NULL; in llc1remque()
H A Dgld.c5694 struct qelem *q_forw; member
5704 struct qelem *pnext = ppred->q_forw; in gldinsque()
5706 pelem->q_forw = pnext; in gldinsque()
5708 ppred->q_forw = pelem; in gldinsque()
5718 pelem->q_forw->q_back = pelem->q_back; in gldremque()
5719 pelem->q_back->q_forw = pelem->q_forw; in gldremque()
5720 elem->q_back = elem->q_forw = NULL; in gldremque()
/titanic_41/usr/src/cmd/mdb/common/modules/sppp/
H A Dsppp.c499 twd->next = (void *)tunll_list.q_forw; in tunll_walk_init()