Home
last modified time | relevance | path

Searched refs:b_datap (Results 1 – 25 of 202) sorted by relevance

123456789

/titanic_50/usr/src/uts/common/io/
H A Dtirdwr.c229 mp->b_datap->db_type = M_PROTO; in tirdwrclose()
260 switch (mp->b_datap->db_type) { in tirdwrrput()
298 mp->b_datap->db_type = M_DATA; in tirdwrrput()
310 mp->b_datap->db_type = M_HANGUP; in tirdwrrput()
342 switch (mp->b_datap->db_type) { in tirdwrwput()
367 mp->b_datap->db_type = M_ERROR; in send_fatal()
368 *mp->b_datap->db_base = EPROTO; in send_fatal()
369 mp->b_rptr = mp->b_datap->db_base; in send_fatal()
370 mp->b_wptr = mp->b_datap->db_base + sizeof (char); in send_fatal()
386 switch (mp->b_datap->db_type) { in check_strhead()
[all …]
H A Dtelmod.c259 tmip->unbind_mp->b_datap->db_type = M_PROTO; in telmodopen()
278 bp->b_datap->db_type = M_PROTO; in telmodopen()
362 if ((mp->b_datap->db_type < QPCTL) && in telmodrput()
369 switch (mp->b_datap->db_type) { in telmodrput()
383 newmp->b_datap->db_type = M_CTL; in telmodrput()
441 mp->b_datap->db_type = M_HANGUP; in telmodrput()
468 ASSERT(mp->b_datap->db_type == M_DATA); in telmodrput()
499 mp->b_datap->db_type); in telmodrput()
523 switch (mp->b_datap->db_type) { in telmodrsrv()
533 newmp->b_datap->db_type = M_CTL; in telmodrsrv()
[all …]
H A Dpckt.c262 mop->b_datap->db_type = M_SETOPTS; in pcktopen()
322 switch (mp->b_datap->db_type) { in pcktrput()
403 if ((datamsg(mp->b_datap->db_type)) && (qsize(q) > 0)) in pcktrput()
435 if (!datamsg(mp->b_datap->db_type)) in pcktrsrv()
445 switch (mp->b_datap->db_type) { in pcktrsrv()
505 ASSERT(mp->b_datap->db_ref >= 1); in pckt_reallocb()
511 if (mp->b_datap->db_ref == 1) in pckt_reallocb()
596 bp->b_datap->db_type = M_PROTO; in add_ctl_info()
597 *(unsigned char *)bp->b_rptr = mp->b_datap->db_type; in add_ctl_info()
609 switch (mp->b_datap->db_type) { in add_ctl_info()
[all …]
H A Dpts.c408 mop->b_datap->db_type = M_SETOPTS; in ptsopen()
469 } else if (bp->b_datap->db_type == M_IOCTL) { in ptsclose()
470 bp->b_datap->db_type = M_IOCNAK; in ptsclose()
512 unsigned char type = mp->b_datap->db_type; in ptswput()
525 if (mp->b_datap->db_type == M_IOCTL) { in ptswput()
526 mp->b_datap->db_type = M_IOCNAK; in ptswput()
628 mp->b_datap->db_type = M_IOCNAK; in ptswput()
631 mp->b_datap->db_type = M_IOCACK; in ptswput()
709 if (mp->b_datap->db_type == M_IOCTL) { in ptswsrv()
710 mp->b_datap->db_type = M_IOCNAK; in ptswsrv()
[all …]
H A Drlmod.c264 rmip->unbind_mp->b_datap->db_type = M_PROTO; in rlmodopen()
284 bp->b_datap->db_type = M_PROTO; in rlmodopen()
376 if ((mp->b_datap->db_type < QPCTL) && in rlmodrput()
381 (mp->b_datap->db_type == M_DATA)))) { in rlmodrput()
389 switch (mp->b_datap->db_type) { in rlmodrput()
399 mp->b_datap->db_type = M_HANGUP; in rlmodrput()
463 if (mp->b_datap->db_type <= QPCTL && !canputnext(q)) in rlmodrput()
472 mp->b_datap->db_type); in rlmodrput()
495 switch (mp->b_datap->db_type) { in rlmodrsrv()
526 mp->b_datap->db_type = M_HANGUP; in rlmodrsrv()
[all …]
H A Dtimod.c432 bp->b_datap->db_type = M_SETOPTS; in timodopen()
579 if (q->q_first != 0 && mp->b_datap->db_type < QPCTL) { in timodrput()
589 switch (mp->b_datap->db_type) { in timodrput()
599 if (mp->b_datap->db_type == M_PCPROTO || in timodrput()
692 switch (mp->b_datap->db_type) { in timodrproc()
759 ASSERT(mp->b_datap->db_type == M_PROTO); in timodrproc()
760 if (mp->b_datap->db_type == M_PROTO && in timodrproc()
780 mp->b_datap->db_type = M_PCPROTO; in timodrproc()
806 mp->b_datap->db_type = M_PCPROTO; in timodrproc()
891 mp->b_datap->db_type = M_PCPROTO; in timodrproc()
[all …]
H A Dstream.c209 dbp->db_mblk->b_datap = dbp; in dblk_constructor()
230 dbp->db_mblk->b_datap = dbp; in dblk_esb_constructor()
255 dbp->db_mblk->b_datap = dbp; in bcache_dblk_constructor()
275 ASSERT(dbp->db_mblk->b_datap == dbp); in dblk_destructor()
295 ASSERT(dbp->db_mblk->b_datap == dbp); in bcache_dblk_destructor()
460 dblk_t *src = tmpl->b_datap; in allocb_tmpl()
461 dblk_t *dst = mp->b_datap; in allocb_tmpl()
481 dblk_t *dbp = mp->b_datap; in allocb_cred()
496 dblk_t *dbp = mp->b_datap; in allocb_cred_wait()
519 dblk_t *dbp = mp->b_datap; in msg_getcred()
[all …]
H A Dwscons.c511 switch (mp->b_datap->db_type) { in wcuwput()
546 mp->b_datap->db_type = M_IOCACK; in wcuwput()
560 mp->b_datap->db_type = M_IOCACK; in wcuwput()
745 mp->b_datap->db_type = M_IOCACK; in wcioctl()
769 mp->b_datap->db_type = M_IOCACK; in wcioctl()
786 mp->b_datap->db_type = M_IOCNAK; in wcioctl()
852 mp->b_datap->db_type = M_IOCACK; in wcioctl()
863 mp->b_datap->db_type = M_IOCNAK; in wcioctl()
908 mp->b_datap->db_type = M_IOCNAK; in wcioctl()
967 mp->b_datap->db_type = M_IOCNAK; in wc_open_kb_polledio()
[all …]
H A Dlogindmux.c410 switch (mp->b_datap->db_type) { in logdmuxuwput()
525 newmp->b_datap->db_type = M_CTL; in logdmuxuwput()
567 " of type 0x%x", mp->b_datap->db_type); in logdmuxuwput()
584 switch (mp->b_datap->db_type) { in logdmuxuwsrv()
592 newmp->b_datap->db_type = M_CTL; in logdmuxuwsrv()
616 " message of type 0x%x", mp->b_datap->db_type); in logdmuxuwsrv()
656 switch (mp->b_datap->db_type) { in logdmuxlrput()
775 mp->b_datap->db_type = M_HANGUP; in logdmuxlrput()
817 "message of type 0x%x", mp->b_datap->db_type); in logdmuxlrput()
848 switch (mp->b_datap->db_type) { in logdmuxlrsrv()
[all …]
H A Dttcompat.c323 switch (mp->b_datap->db_type) { in ttcompatrput()
356 switch (mp->b_datap->db_type) { in ttcompatwput()
384 mp->b_datap->db_type = M_COPYIN; in ttcompatwput()
440 mp->b_datap->db_type = M_IOCTL; in ttcompatwput()
462 mp->b_datap->db_type = M_IOCACK; in ttcompatwput()
721 mp->b_datap->db_type = M_IOCACK; in ttcompat_do_ioctl()
725 mp->b_datap->db_type = M_IOCNAK; in ttcompat_do_ioctl()
734 mp->b_datap->db_type = M_IOCACK; in ttcompat_do_ioctl()
743 mp->b_datap->db_type = M_IOCACK; in ttcompat_do_ioctl()
751 mp->b_datap->db_type = M_IOCACK; in ttcompat_do_ioctl()
[all …]
H A Dbufmod.c340 mop->b_datap->db_type = M_SETOPTS; in sbioc()
378 mop->b_datap->db_type = M_SETOPTS; in sbioc()
414 switch (mp->b_datap->db_type) { in sbwput()
465 switch (mp->b_datap->db_type) { in sbrput()
475 mp->b_datap->db_type = M_DATA; in sbrput()
530 if (mp->b_datap->db_type <= QPCTL) { in sbrput()
555 if (!canputnext(rq) && (mp->b_datap->db_type <= QPCTL)) { in sbrsrv()
741 mop->b_datap->db_type = M_SETOPTS; in sbioctl()
818 mop->b_datap->db_type = M_SETOPTS; in sbioctl()
1054 ASSERT(sbp->sb_head->b_wptr <= sbp->sb_head->b_datap->db_lim); in sbaddmsg()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dstrsun.h44 #define DB_BASE(mp) ((mp)->b_datap->db_base)
45 #define DB_LIM(mp) ((mp)->b_datap->db_lim)
46 #define DB_REF(mp) ((mp)->b_datap->db_ref)
47 #define DB_TYPE(mp) ((mp)->b_datap->db_type)
48 #define DB_FLAGS(mp) ((mp)->b_datap->db_flags)
H A Dstream.h356 #define DB_CPID(mp) ((mp)->b_datap->db_cpid)
357 #define DB_CRED(mp) ((mp)->b_datap->db_credp)
358 #define DB_FTHDR(mp) ((mp)->b_datap->db_fthdr)
362 #define DB_TCI(mp) ((mp)->b_datap->db_struioun.cksum.pad)
373 struct datab *b_datap; member
743 #define queclass(bp) (((bp)->b_datap->db_type >= QPCTL) ? QPCTL : QNORM)
753 #define bpsize(bp) ((unsigned int)(bp->b_datap->db_lim - bp->b_datap->db_base))
/titanic_50/usr/src/uts/common/inet/
H A Dmi.c211 ASSERT(mp->b_datap->db_type == M_IOCTL && !uaddr); in mi_copyin()
222 mp->b_datap->db_type = M_COPYIN; in mi_copyin()
261 mp->b_datap->db_type = M_IOCDATA; in mi_copyin()
274 mp->b_datap->db_type = M_IOCACK; in mi_copyin()
298 ASSERT(mp->b_datap->db_type == M_IOCDATA); in mi_copyin_n()
308 mp->b_datap->db_type = M_COPYIN; in mi_copyin_n()
321 if (mp->b_datap->db_type != M_IOCDATA || !mp->b_cont) { in mi_copyout()
341 mp->b_datap->db_type = M_IOCACK; in mi_copyout()
362 mp->b_datap->db_type = M_COPYOUT; in mi_copyout()
378 if (mp->b_datap->db_type == M_IOCTL) { in mi_copyout_alloc()
[all …]
H A Dsnmpcom.c99 if (mpdata->b_wptr + len >= mpdata->b_datap->db_lim) { in snmp_append_data()
125 if ((*last_mpp)->b_wptr + len >= (*last_mpp)->b_datap->db_lim) { in snmp_append_data2()
249 mpctl->b_datap->db_type = M_PROTO; in snmpcom_req()
287 mpctl->b_datap->db_type = M_PROTO; in snmpcom_req()
H A Dproto_set.c57 mp->b_datap->db_type = M_SETOPTS; in proto_set_rx_hiwat()
84 mp->b_datap->db_type = M_SETOPTS; in proto_set_rx_lowat()
148 mp->b_datap->db_type = M_SETOPTS; in proto_set_tx_maxblk()
174 mp->b_datap->db_type = M_SETOPTS; in proto_set_tx_copyopt()
203 mp->b_datap->db_type = M_SETOPTS; in proto_set_tx_wroff()
/titanic_50/usr/src/uts/common/inet/ipf/
H A Dmisc.c40 if (m->b_datap->db_type != M_DATA)
72 if (m->b_datap->db_type != M_DATA)
94 mlen = mp->b_datap->db_lim - mp->b_wptr;
104 mp->b_datap->db_struiolim = mp->b_wptr;
106 mp->b_datap->db_struioflag &= ~STRUIO_IP;
/titanic_50/usr/src/uts/common/inet/sctp/
H A Dsctp_timer.c106 ASSERT((mp->b_rptr - mp->b_datap->db_base) == sizeof (sctp_tb_t)); in sctp_timer()
107 ASSERT(mp->b_datap->db_type == M_PCSIG); in sctp_timer()
109 sctp_tb = (sctp_tb_t *)mp->b_datap->db_base; in sctp_timer()
171 mp->b_datap->db_type = M_PCSIG; in sctp_timer_alloc()
172 sctp_tb = (sctp_tb_t *)mp->b_datap->db_base; in sctp_timer_alloc()
203 ASSERT(sctp_tb == (sctp_tb_t *)mp->b_datap->db_base); in sctp_timer_fire()
204 ASSERT(mp->b_datap->db_type == M_PCSIG); in sctp_timer_fire()
248 ASSERT((mp->b_rptr - mp->b_datap->db_base) == sizeof (sctp_tb_t)); in sctp_timer_free()
249 ASSERT(mp->b_datap->db_type == M_PCSIG); in sctp_timer_free()
251 sctp_tb = (sctp_tb_t *)mp->b_datap->db_base; in sctp_timer_free()
[all …]
/titanic_50/usr/src/uts/common/io/chxge/
H A Dglue.c196 if (dmp->b_datap->db_type != M_DATA) { in pe_ioctl()
224 mp->b_datap->db_type = M_IOCACK; in pe_ioctl()
250 mp->b_datap->db_type = M_IOCACK; in pe_ioctl()
265 mp->b_datap->db_type = M_IOCACK; in pe_ioctl()
287 mp->b_datap->db_type = M_IOCACK; in pe_ioctl()
299 mp->b_datap->db_type = M_IOCACK; in pe_ioctl()
317 mp->b_datap->db_type = M_IOCACK; in pe_ioctl()
337 mp->b_datap->db_type = M_IOCACK; in pe_ioctl()
355 mp->b_datap->db_type = M_IOCNAK; in pe_ioctl()
/titanic_50/usr/src/uts/common/ipp/dscpmk/
H A Ddscpmk.c63 if (mp->b_datap->db_type != M_DATA) { in dscpmk_process()
65 (mp->b_cont->b_datap->db_type == M_DATA)) { in dscpmk_process()
152 if (!(mp->b_datap->db_struioun.cksum.flags & in dscpmk_process()
/titanic_50/usr/src/uts/common/os/
H A Dputnext.c162 ASSERT(mp->b_datap->db_ref != 0); in putnext()
273 mp->b_datap->db_base); in putnext()
286 mp->b_datap->db_base); in putnext()
300 mp->b_rptr - mp->b_datap->db_base); in putnext()
441 ASSERT(mp->b_datap->db_ref != 0); in put()
540 mp->b_datap->db_base); in put()
553 mp->b_datap->db_base); in put()
567 mp->b_rptr - mp->b_datap->db_base); in put()
/titanic_50/usr/src/uts/common/ktli/
H A Dt_ksndudat.c94 dbp->b_datap->db_type = M_DATA; in t_ksndudata()
106 dbp->b_datap->db_type = M_DATA; in t_ksndudata()
173 bp->b_datap->db_type = M_PROTO; in t_ksndudata()
/titanic_50/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_cmn_func.c294 mp->b_datap->db_type = M_IOCNAK; in oplmsu_iocack()
300 mp->b_datap->db_type = M_IOCACK; in oplmsu_iocack()
572 mp->b_datap->db_type = M_START; in oplmsu_cmn_put_xoffxon()
636 mp->b_datap->db_type = M_FLUSH; in oplmsu_cmn_set_mflush()
761 if (mp->b_datap->db_type >= QPCTL) { in oplmsu_cmn_bufcall()
1263 if (mp->b_datap->db_type == M_IOCTL) { in oplmsu_wcmn_through_hndl()
1279 if (mp->b_datap->db_type == M_IOCTL) { in oplmsu_wcmn_through_hndl()
1304 if (mp->b_datap->db_type == M_IOCTL) { in oplmsu_wcmn_through_hndl()
1398 if (mp->b_datap->db_type & M_FLUSH) { in oplmsu_wcmn_high_qenable()
1502 (((mp->b_datap->db_type == M_IOCACK) || in oplmsu_rcmn_through_hndl()
[all …]
/titanic_50/usr/src/uts/common/io/vuidmice/
H A Dvuidmice.c355 mp->b_datap->db_type = M_IOCACK; in vuidmice_wput()
395 mp->b_datap->db_type = M_IOCACK; in vuidmice_wput()
438 mp->b_datap->db_type = M_IOCACK; in vuidmice_wput()
541 mp->b_datap->db_type = M_IOCACK; in vuidmice_miocdata()
584 mp->b_datap->db_type = M_IOCACK; in vuidmice_miocdata()
624 mp->b_datap->db_type = M_IOCACK; in vuidmice_miocdata()
635 mp->b_datap->db_type = M_IOCNAK; in vuidmice_miocdata()
761 mp->b_datap->db_type = M_IOCACK; in vuidmice_handle_wheel_resolution_ioctl()
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsodirect.c205 if (bp != NULL && (bp->b_datap->db_flags & DBLK_UIOA)) { in sod_uioa_mblk_done()
232 ASSERT(bpt->b_datap->db_flags & DBLK_UIOA); in sod_uioa_mblk_done()
284 if (wbp->b_datap->db_type != M_DATA) { in sod_uioa_so_init()
295 ASSERT(!(wbp->b_datap->db_flags & DBLK_UIOA)); in sod_uioa_so_init()
300 wbp->b_datap->db_flags |= DBLK_UIOA; in sod_uioa_so_init()

123456789