Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dinsque.c50 ((struct qelem *)elem)->q_forw = NULL; in insque()
52 } else if (((struct qelem *)pred)->q_forw == NULL) { in insque()
55 ((struct qelem *)elem)->q_forw = NULL; in insque()
57 ((struct qelem *)pred)->q_forw = elem; in insque()
60 ((struct qelem *)elem)->q_forw = ((struct qelem *)pred)->q_forw; in insque()
62 ((struct qelem *)pred)->q_forw->q_back = elem; in insque()
63 ((struct qelem *)pred)->q_forw = elem; in insque()
72 if (((struct qelem *)elem)->q_forw == NULL) in remque()
75 ((struct qelem *)elem)->q_forw->q_back = NULL; in remque()
76 } else if (((struct qelem *)elem)->q_forw == NULL) { in remque()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/head/
H A Dsearch.h47 struct qelem *q_forw; member
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun_impl.h40 struct qelem *q_forw; member
H A Dsppptun.c680 tll = TO_TLL(tunll_list.q_forw); in sppptun_close()
1087 tll = TO_TLL(tunll_list.q_forw); in tll_lookup_on_name()
1249 tll = TO_TLL(tunll_list.q_forw); in sppptun_inner_ioctl()
2414 tunll_list.q_forw = tunll_list.q_back = &tunll_list; in sppptun_init()
2462 if (tunll_list.q_forw != &tunll_list || tcl_inuse > 0) in sppptun_tcl_fintest()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk1.c1461 for (qp = reghash[key].q_forw; qp != NULL; qp = qp->q_forw) { in int_regwcomp()
1469 if (rcp != (struct regcache *)reglink.q_forw) { in int_regwcomp()
1528 for (qp = reglink.q_forw; qp != NULL; qp = nqp) { in int_regwfree()
1529 nqp = qp->q_forw; in int_regwfree()
/illumos-gate/usr/src/uts/common/sys/
H A Dllc1.h269 struct qelem *q_forw; member
/illumos-gate/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.c5399 struct qelem *q_forw; member
5409 struct qelem *pnext = ppred->q_forw; in gldinsque()
5411 pelem->q_forw = pnext; in gldinsque()
5413 ppred->q_forw = pelem; in gldinsque()
5423 pelem->q_forw->q_back = pelem->q_back; in gldremque()
5424 pelem->q_back->q_forw = pelem->q_forw; in gldremque()
5425 elem->q_back = elem->q_forw = NULL; in gldremque()
/illumos-gate/usr/src/cmd/mdb/common/modules/sppp/
H A Dsppp.c499 twd->next = (void *)tunll_list.q_forw; in tunll_walk_init()