Searched refs:q_ptr (Results 1 - 25 of 115) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/inet/nca/
H A Dncaddi.c59 if (q->q_ptr != NULL)
72 RD(q)->q_ptr = (void *)B_TRUE;
73 WR(q)->q_ptr = (void *)B_TRUE;
76 RD(q)->q_ptr = (void *)B_FALSE;
77 WR(q)->q_ptr = (void *)B_FALSE;
87 RD(q)->q_ptr = NULL;
88 WR(q)->q_ptr = NULL;
104 if (! (boolean_t)q->q_ptr) {
/illumos-gate/usr/src/uts/common/sys/
H A Dptem.h44 queue_t *q_ptr; /* ptem read queue */ member in struct:ptem
/illumos-gate/usr/src/cmd/mdb/common/modules/logindmux/
H A Dlogindmux.c46 (void) mdb_vread(&tmx, sizeof (tmx), (uintptr_t)q->q_ptr);
53 (void) mdb_vread(&tmx, sizeof (tmx), (uintptr_t)lq.q_ptr);
68 (void) mdb_vread(&tmx, sizeof (tmx), (uintptr_t)q->q_ptr);
78 (void) mdb_vread(&tmx, sizeof (tmx), (uintptr_t)q->q_ptr);
87 (void) mdb_vread(&tmx, sizeof (tmx), (uintptr_t)q->q_ptr);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_helper_stream.c62 * set the q_ptr of the 'q' to the conn_t pointer passed in
78 connp->conn_helper_info->iphs_minfo = q->q_ptr;
81 WR(q)->q_ptr = RD(q)->q_ptr = (void *)connp;
145 RD(q)->q_ptr = WR(q)->q_ptr = ip_minfop;
163 ip_minfop = (q)->q_ptr;
167 RD(q)->q_ptr = NULL;
168 WR(q)->q_ptr = NULL;
254 connp->conn_helper_info->iphs_rq->q_ptr
[all...]
H A Dip_dummy.c81 if (q->q_ptr != NULL)
/illumos-gate/usr/src/uts/common/io/
H A Dpts.c329 if (rqp->q_ptr != NULL) {
330 ASSERT(rqp->q_ptr == ptsp);
353 ASSERT(rqp->q_ptr == ptsp);
384 WR(rqp)->q_ptr = rqp->q_ptr = ptsp;
437 * q_ptr should never be NULL in the close routine and it is checked in
441 ASSERT(rqp->q_ptr != NULL);
442 if (rqp->q_ptr == NULL) {
447 ptsp = (struct pt_ttys *)rqp->q_ptr;
493 rqp->q_ptr
[all...]
H A Ddrcompat.c195 if (q->q_ptr != NULL) {
202 q->q_ptr = OTHERQ(q)->q_ptr = dsp;
212 struct drstate *dsp = q->q_ptr;
220 q->q_ptr = NULL;
256 dsp = q->q_ptr;
289 dsp = q->q_ptr;
349 dsp = q->q_ptr;
H A Dpckt.c56 * Per queue instances are single-threaded since the q_ptr
217 if (q->q_ptr != NULL) {
235 q->q_ptr = pip;
236 WR(q)->q_ptr = pip;
290 struct pckt_info *pip = (struct pckt_info *)q->q_ptr;
304 kmem_free(q->q_ptr, sizeof (struct pckt_info));
305 q->q_ptr = WR(q)->q_ptr = NULL;
515 struct pckt_info *pip = (struct pckt_info *)q->q_ptr;
549 struct pckt_info *pip = (struct pckt_info *)q->q_ptr;
[all...]
H A Dptm.c322 if (rqp->q_ptr != NULL)
363 WR(rqp)->q_ptr = rqp->q_ptr = ptmp;
411 ASSERT(rqp->q_ptr);
413 ptmp = (struct pt_ttys *)rqp->q_ptr;
442 rqp->q_ptr = NULL;
443 WR(rqp)->q_ptr = NULL;
460 ASSERT(qp->q_ptr);
462 ptmp = (struct pt_ttys *)qp->q_ptr;
620 ASSERT(qp->q_ptr);
[all...]
H A Dzcons.c418 zc_state_t *zcs = qp->q_ptr;
440 zc_state_t *zcs = qp->q_ptr;
478 * q_ptr stores driver private data; stash the soft state data on both
481 WR(rqp)->q_ptr = rqp->q_ptr = zcs;
531 ASSERT((rqp != NULL) && (WR(rqp)->q_ptr == zcs));
559 * q_ptr stores driver private data; stash the soft state data on both
562 WR(rqp)->q_ptr = rqp->q_ptr = zcs;
634 zcs = (zc_state_t *)rqp->q_ptr;
[all...]
H A Dtirdwr.c170 if (q->q_ptr) {
182 q->q_ptr = (caddr_t)trwptr;
183 WR(q)->q_ptr = (caddr_t)trwptr;
217 trwptr = (struct trw_trw *)q->q_ptr;
251 trwptr = (struct trw_trw *)q->q_ptr;
333 trwptr = (struct trw_trw *)q->q_ptr;
364 trwptr = (struct trw_trw *)q->q_ptr;
H A Dlog.c115 if (q->q_ptr)
130 q->q_ptr = lp;
131 WR(q)->q_ptr = lp;
142 log_t *lp = (log_t *)q->q_ptr;
152 q->q_ptr = NULL;
153 WR(q)->q_ptr = NULL;
161 log_t *lp = (log_t *)q->q_ptr;
H A Dlogindmux.c322 q->q_ptr = tmxp;
323 WR(q)->q_ptr = tmxp;
336 struct tmx *tmxp = q->q_ptr;
374 q->q_ptr = NULL;
375 WR(q)->q_ptr = NULL;
386 struct tmx *tmxp = q->q_ptr;
408 tmxp = q->q_ptr;
581 struct tmx *tmxp = q->q_ptr;
635 struct tmx *tmxp = q->q_ptr;
840 struct tmx *tmxp = q->q_ptr;
[all...]
H A Drlmod.c213 if (q->q_ptr != NULL) {
226 q->q_ptr = rmip;
227 WR(q)->q_ptr = rmip;
298 q->q_ptr = NULL;
299 WR(q)->q_ptr = NULL;
313 struct rlmod_info *rmip = (struct rlmod_info *)q->q_ptr;
354 kmem_free(q->q_ptr, sizeof (struct rlmod_info));
355 q->q_ptr = WR(q)->q_ptr = NULL;
368 struct rlmod_info *rmip = (struct rlmod_info *)q->q_ptr;
[all...]
H A Dconnld.c181 if (rqp->q_ptr == 0) {
186 rqp->q_ptr = (caddr_t)1;
H A Dpfmod.c178 if (rq->q_ptr)
185 rq->q_ptr = WR(rq)->q_ptr = (char *)pfp;
195 struct epacketfilt *pfp = (struct epacketfilt *)rq->q_ptr;
202 rq->q_ptr = WR(rq)->q_ptr = NULL;
237 struct epacketfilt *pfp = (struct epacketfilt *)rq->q_ptr;
341 struct epacketfilt *pfp = (struct epacketfilt *)wq->q_ptr;
H A Dtelmod.c87 * Per queue instances are single-threaded since the q_ptr
218 if (q->q_ptr != NULL) {
230 q->q_ptr = tmip;
231 WR(q)->q_ptr = tmip;
293 q->q_ptr = NULL;
294 WR(q)->q_ptr = NULL;
307 struct telmod_info *tmip = (struct telmod_info *)q->q_ptr;
343 kmem_free(q->q_ptr, sizeof (struct telmod_info));
344 q->q_ptr = WR(q)->q_ptr
[all...]
H A Dptem.c166 if (q->q_ptr != NULL) {
210 ntp->q_ptr = q;
211 q->q_ptr = ntp;
212 WR(q)->q_ptr = ntp;
258 ntp = (struct ptem *)q->q_ptr;
261 q->q_ptr = WR(q)->q_ptr = NULL;
418 struct ptem *ntp = (struct ptem *)q->q_ptr;
443 struct ptem *ntp = (struct ptem *)q->q_ptr;
607 struct ptem *ntp = (struct ptem *)q->q_ptr;
[all...]
/illumos-gate/usr/src/uts/common/inet/dlpistub/
H A Ddlpistub.c140 if (q->q_ptr != NULL)
159 q->q_ptr = WR(q)->q_ptr = dsp;
169 dlpistub_t *dsp = q->q_ptr;
172 q->q_ptr = WR(q)->q_ptr = NULL;
199 dlpistub_t *dsp = q->q_ptr;
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dcvcredir.c208 WR(q)->q_ptr = q->q_ptr = (char *)2;
230 WR(q)->q_ptr = q->q_ptr = NULL;
/illumos-gate/usr/src/uts/sun4u/starfire/cvcredir/
H A Dcvcredir.c203 WR(q)->q_ptr = q->q_ptr = (char *)2;
225 WR(q)->q_ptr = q->q_ptr = NULL;
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcmod.c294 * Per rpcmod "slot" data structure. q->q_ptr points to one of these.
440 struct temp_slot *t = (struct temp_slot *)(q->q_ptr);
480 if (q->q_ptr) {
488 q->q_ptr = (void *)t;
489 WR(q)->q_ptr = (void *)t;
526 ((struct rpcm *)q->q_ptr)->rm_ops = &xprt_clts_ops;
529 ((mir_t *)q->q_ptr)->rm_ops = &xprt_cots_ops;
546 (*((struct temp_slot *)q->q_ptr)->ops->xo_rput)(q, mp);
552 (*((struct temp_slot *)q->q_ptr)->ops->xo_rsrv)(q);
558 (*((struct temp_slot *)q->q_ptr)
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp_dlpi.c375 ASSERT(q != NULL && q->q_ptr != NULL);
407 spppstr_t *sps = q->q_ptr;
490 ASSERT(q != NULL && q->q_ptr != NULL);
516 ASSERT(q != NULL && q->q_ptr != NULL);
518 sps = (spppstr_t *)q->q_ptr;
545 ASSERT(q != NULL && q->q_ptr != NULL);
590 ASSERT(q != NULL && q->q_ptr != NULL);
591 sps = (spppstr_t *)q->q_ptr;
666 ASSERT(q != NULL && q->q_ptr != NULL);
695 ASSERT(q != NULL && q->q_ptr !
[all...]
H A Dsppp.c158 if (q->q_ptr != NULL) {
187 q->q_ptr = WR(q)->q_ptr = (caddr_t)sps;
330 ASSERT(q != NULL && q->q_ptr != NULL);
331 sps = (spppstr_t *)q->q_ptr;
449 q->q_ptr = WR(q)->q_ptr = NULL;
478 sps = (spppstr_t *)q->q_ptr;
707 ASSERT(q != NULL && q->q_ptr != NULL);
709 sps = (spppstr_t *)q->q_ptr;
[all...]
/illumos-gate/usr/src/uts/common/io/vuidmice/
H A Dvuidmice.h52 #define STATEP ((struct MouseStateInfo *)qp->q_ptr)

Completed in 73 milliseconds

12345