Searched defs:rq (Results 1 - 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_raw.c217 svc_raw_control(SVCXPRT *xprt, const uint_t rq, void *in) argument
219 switch (rq) {
H A Dsvid_funcs.c83 clnt_control(CLIENT *cl, uint_t rq, char *in) argument
85 return ((*(cl)->cl_ops->cl_control)(cl, rq, in));
107 svc_control(SVCXPRT *xprt, const uint_t rq, void *in) argument
109 switch (rq) {
120 return ((*(xprt)->xp_ops->xp_control)(xprt, rq, in));
H A Dsvc_door.c657 svc_door_control(SVCXPRT *xprt, const uint_t rq, void *in) argument
664 switch (rq) {
H A Dsvc_dg.c582 svc_dg_control(SVCXPRT *xprt, const uint_t rq, void *in) argument
584 switch (rq) {
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Dusbser_uftdi.c75 usbser_uftdi_open(queue_t *rq, dev_t *dev, int flag, int sflag, cred_t *cr) argument
77 return (usbser_open(rq, dev, flag, sflag, cr, usbser_uftdi_statep));
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dusbser_pl2303.c221 usbser_pl2303_open(queue_t *rq, dev_t *dev, int flag, int sflag, cred_t *cr) argument
223 return (usbser_open(rq, dev, flag, sflag, cr, usbser_pl2303_statep));
/illumos-gate/usr/src/cmd/spell/
H A Dhuff.c186 double rc, rq; local
188 for (i = 0, q = 1, rq = r; i < QW; i++, q *= 2, rq *= rq)
190 rq /= r; /* rq = r^(q-1) */
191 (void) qlog(rq, 1./q, 1L, rq);
/illumos-gate/usr/src/uts/common/io/
H A Dclone.c59 int clnopen(queue_t *rq, dev_t *devp, int flag, int sflag, cred_t *crp);
163 clnopen(queue_t *rq, dev_t *devp, int flag, int sflag, cred_t *crp) argument
237 rinit = rq->q_qinfo;
238 winit = WR(rq)->q_qinfo;
239 ASSERT(rq->q_syncq->sq_type == (SQ_CI|SQ_CO));
240 ASSERT((rq->q_flag & QMT_TYPEMASK) == QMTSAFE);
260 leavesq(rq->q_syncq, SQ_OPENCLOSE);
266 setq(rq, str->st_rdinit, str->st_wrinit, dmp, qflag, sqtype, B_FALSE);
275 entersq(rq->q_syncq, SQ_OPENCLOSE);
281 error = (*rq
[all...]
H A Dpfmod.c169 pfopen(queue_t *rq, dev_t *dev, int oflag, int sflag, cred_t *crp) argument
173 ASSERT(rq);
178 if (rq->q_ptr)
185 rq->q_ptr = WR(rq)->q_ptr = (char *)pfp;
187 qprocson(rq);
193 pfclose(queue_t *rq) argument
195 struct epacketfilt *pfp = (struct epacketfilt *)rq->q_ptr;
199 qprocsoff(rq);
202 rq
235 pfrput(queue_t *rq, mblk_t *mp) argument
[all...]
H A Dbufmod.c91 queue_t *sb_rq; /* our rq */
201 sbopen(queue_t *rq, dev_t *dev, int oflag, int sflag, cred_t *crp) argument
204 ASSERT(rq);
209 if (rq->q_ptr)
216 sbp->sb_rq = rq;
228 rq->q_ptr = WR(rq)->q_ptr = sbp;
230 qprocson(rq);
238 sbclose(queue_t *rq, int flag, cred_t *credp) argument
240 struct sb *sbp = (struct sb *)rq
459 sbrput(queue_t *rq, mblk_t *mp) argument
546 sbrsrv(queue_t *rq) argument
954 sbaddmsg(queue_t *rq, mblk_t *mp) argument
1141 queue_t *rq; local
1163 queue_t *rq; local
1195 sbsendit(queue_t *rq, mblk_t *mp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_ddi.c193 audio_stropen(queue_t *rq, dev_t *devp, int oflag, int sflag, cred_t *credp) argument
220 rq->q_ptr = WR(rq)->q_ptr = c;
224 c->c_rq = rq;
225 c->c_wq = WR(rq);
243 qprocson(rq);
254 audio_strclose(queue_t *rq, int flag, cred_t *credp) argument
263 if ((c = rq->q_ptr) == NULL) {
285 qprocsoff(rq);
452 audio_rsrv(queue_t *rq) argument
[all...]
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_ctl.c302 softmac_enqueue_notify_ind(queue_t *rq, mblk_t *mp) argument
304 softmac_lower_t *slp = rq->q_ptr;
347 softmac_rput_process_proto(queue_t *rq, mblk_t *mp) argument
349 softmac_lower_t *slp = rq->q_ptr;
404 softmac_enqueue_notify_ind(rq, mp);
447 softmac_rput_process_notdata(queue_t *rq, softmac_upper_t *sup, mblk_t *mp) argument
449 softmac_lower_t *slp = rq->q_ptr;
461 softmac_rput_process_proto(rq, mp);
481 softmac_rput_process_proto(rq, mp);
498 softmac_rput_process_proto(rq, m
[all...]
H A Dsoftmac_dev.c242 softmac_cmn_open(queue_t *rq, dev_t *devp, int flag, int sflag, cred_t *credp) argument
249 if (rq->q_ptr != NULL)
260 slp->sl_wq = WR(rq);
264 rq->q_ptr = WR(rq)->q_ptr = slp;
265 qprocson(rq);
274 rq->q_qinfo = &softmac_dld_r_qinit;
275 WR(rq)->q_qinfo = &softmac_dld_w_qinit;
276 return (softmac_drv_open(rq, devp, flag, sflag, credp));
280 softmac_mod_close(queue_t *rq) argument
307 softmac_mod_rput(queue_t *rq, mblk_t *mp) argument
504 queue_t *rq = ((softmac_upper_t *)arg)->su_rq; local
514 softmac_drv_open(queue_t *rq, dev_t *devp, int flag, int sflag, cred_t *credp) argument
566 softmac_drv_close(queue_t *rq) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ah/
H A Dusb_ah.c547 queue_t *rq = usb_ahd->usb_ah_readq; local
550 (void) quntimeout(rq, usb_ahd->usb_ah_tid);
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dusbser_keyspan.c344 usbser_keyspan_open(queue_t *rq, dev_t *dev, int flag, int sflag, cred_t *cr) argument
346 return (usbser_open(rq, dev, flag, sflag, cr, usbser_keyspan_statep));
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_rx.c33 static int oce_rqb_ctor(oce_rq_bdesc_t *rqbd, struct oce_rq *rq,
36 static inline mblk_t *oce_rx(struct oce_dev *dev, struct oce_rq *rq,
39 struct oce_rq *rq, struct oce_nic_rx_cqe *cqe);
40 static int oce_rq_charge(struct oce_rq *rq, uint32_t nbufs, boolean_t repost);
43 static inline void oce_rx_drop_pkt(struct oce_rq *rq,
45 static oce_rq_bdesc_t *oce_rqb_alloc(struct oce_rq *rq);
46 static void oce_rqb_free(struct oce_rq *rq, oce_rq_bdesc_t *rqbd);
47 static void oce_rq_post_buffer(struct oce_rq *rq, int nbufs);
84 oce_rqb_cache_create(struct oce_rq *rq, size_t buf_size) argument
92 rqbd = rq
120 oce_rqb_cache_destroy(struct oce_rq *rq) argument
163 oce_rqb_ctor(oce_rq_bdesc_t *rqbd, struct oce_rq *rq, size_t size, int flags) argument
201 oce_rqb_alloc(struct oce_rq *rq) argument
221 oce_rqb_free(struct oce_rq *rq, oce_rq_bdesc_t *rqbd) argument
235 oce_rq_post_buffer(struct oce_rq *rq, int nbufs) argument
267 oce_rq_charge(struct oce_rq *rq, uint32_t nbufs, boolean_t repost) argument
309 oce_rq_discharge(struct oce_rq *rq) argument
333 oce_rx(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe) argument
393 oce_rx_bcopy(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe) argument
472 oce_rx_drop_pkt(struct oce_rq *rq, struct oce_nic_rx_cqe *cqe) argument
497 struct oce_rq *rq; local
582 struct oce_rq *rq; local
612 oce_clean_rq(struct oce_rq *rq) argument
650 oce_start_rq(struct oce_rq *rq) argument
667 oce_rx_pending(struct oce_dev *dev, struct oce_rq *rq, int32_t timeout) argument
[all...]
H A Doce_queue.c60 static void oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq);
61 static int oce_rq_create(struct oce_rq *rq, uint32_t if_id, struct oce_eq *eq);
62 static void oce_rq_del(struct oce_dev *dev, struct oce_rq *rq);
699 struct oce_rq *rq; local
708 /* allocate the rq */
709 rq = kmem_zalloc(sizeof (struct oce_rq), KM_NOSLEEP);
710 if (rq == NULL) {
716 rq->cfg.q_len = q_len;
717 rq->cfg.frag_size = frag_size;
718 rq
800 oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq) argument
823 oce_rq_create(struct oce_rq *rq, uint32_t if_id, struct oce_eq *eq) argument
898 oce_rq_del(struct oce_dev *dev, struct oce_rq *rq) argument
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_async.c359 av1394_queue_t *rq = &ap->a_rq; local
364 if (av1394_peekq(rq))
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c58 static void scsi_print_extended_sense(struct scsi_extended_sense *rq,
60 static void scsi_print_descr_sense(struct scsi_descr_sense_hdr *rq, int rqlen);
659 scsi_printerr(struct uscsi_cmd *ucmd, struct scsi_extended_sense *rq, int rqlen) argument
662 struct scsi_descr_sense_hdr *sdsp = (struct scsi_descr_sense_hdr *)rq;
665 if (find_string(sensekey_strings, rq->es_key) == NULL)
676 switch (rq->es_code) {
693 if (rq->es_valid) {
694 blkno = (rq->es_info_1 << 24) |
695 (rq->es_info_2 << 16) |
696 (rq
808 scsi_print_extended_sense(struct scsi_extended_sense *rq, int rqlen) argument
873 scsi_print_descr_sense(struct scsi_descr_sense_hdr *rq, int rqlen) argument
1044 struct scsi_extended_sense *rq; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/nsmb/
H A Dnsmb.c390 smb_rq_t rq; local
396 if (mdb_vread(&rq, sizeof (rq), wsp->walk_addr) == -1) {
401 status = wsp->walk_callback(wsp->walk_addr, &rq,
404 wsp->walk_addr = (uintptr_t)rq.sr_link.tqe_next;
417 const smb_rq_t *rq = data; local
426 mdb_printf(" x%04x", rq->sr_mid);
427 mdb_printf(" x%02x", rq->sr_cmd);
428 mdb_printf(" %d", rq->sr_state);
429 mdb_printf(" x%x", rq
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h102 struct t4_range rq; member in struct:t4_virt_res
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h92 struct oce_rq *rq; member in struct:oce_rq_bdesc_s
174 int oce_rqb_cache_create(struct oce_rq *rq, size_t buf_size);
175 void oce_rqb_cache_destroy(struct oce_rq *rq);
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c569 void *rq, size_t rqsd, void *rs, size_t rslen)
598 if (rq == NULL) {
614 if (rq == NULL)
625 if (rq == NULL) {
568 smp_action_xalloc(smp_function_t fn, smp_target_t *tp, void *rq, size_t rqsd, void *rs, size_t rslen) argument
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_smb.c370 struct smb_rq rq, *rqp = &rq; local
481 struct smb_rq rq, *rqp = &rq; local
519 struct smb_rq rq, *rqp = &rq; local
581 struct smb_rq rq, *rqp = &rq; local
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c1689 queue_t *rq = RD(q); local
1713 putnext(rq, mp);
1721 putnext(rq, mp);
1731 * rq->q_qinfo->qi_qclose to cleanup the acceptor stream.
1733 * make sure rq->q_qinfo->qi_qclose still points to the
1748 econnp->conn_rq = rq;
1750 rq->q_ptr = econnp;
1751 rq->q_qinfo = &tcp_rinitv4; /* No open - same as rinitv6 */
1766 putnext(rq, mp);
1854 putnext(rq, m
[all...]

Completed in 91 milliseconds

123