Home
last modified time | relevance | path

Searched refs:db_lim (Results 1 – 25 of 59) sorted by relevance

123

/titanic_50/usr/src/uts/common/inet/
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()
H A Dnd.c83 mp1->b_datap->db_lim[-1] = '\0'; /* Force null termination */ in nd_getset()
/titanic_50/usr/src/uts/common/rpc/
H A Dxdr_mblk.c216 ASSERT(m->b_rptr < m->b_datap->db_lim); in xdrmblk_putint32()
223 ASSERT(m->b_wptr <= m->b_datap->db_lim); in xdrmblk_putint32()
416 ASSERT(m->b_rptr < m->b_datap->db_lim); in xdrmblk_putbytes()
429 ASSERT(m->b_wptr <= m->b_datap->db_lim); in xdrmblk_putbytes()
/titanic_50/usr/src/uts/common/sys/
H A Dstrsun.h45 #define DB_LIM(mp) ((mp)->b_datap->db_lim)
H A Dstream.h318 unsigned char *db_lim; member
753 #define bpsize(bp) ((unsigned int)(bp->b_datap->db_lim - bp->b_datap->db_base))
/titanic_50/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c593 cp_end = m->b_datap->db_lim; \ in bsd_compress()
693 olen -= m->b_datap->db_lim - m->b_wptr; in bsd_compress()
700 cp_end = m->b_datap->db_lim; in bsd_compress()
1227 explen = dmsg->b_datap->db_lim - wptr; in bsd_decompress()
1349 explen = dmsg->b_datap->db_lim - wptr - codelen - in bsd_decompress()
H A Ddeflate.c387 wspace = m->b_datap->db_lim - m->b_wptr; in z_compress()
486 wspace = m->b_datap->db_lim - in z_compress()
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_ndd.c74 if (mp->b_wptr + len >= mp->b_datap->db_lim) { in mac_add_name()
347 mp1->b_datap->db_lim[-1] = '\0'; in mac_ndd_set_ioctl()
/titanic_50/usr/src/uts/common/inet/ipf/
H A Dmisc.c94 mlen = mp->b_datap->db_lim - mp->b_wptr;
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dstreams.c1205 if (mb.b_rptr < db.db_base || mb.b_rptr > db.db_lim) in mblk_verify()
1208 if (mb.b_wptr < db.db_base || mb.b_wptr > db.db_lim) in mblk_verify()
1351 if ((blen != ~0UL) && (blen != (dblk.db_lim - dblk.db_base))) in mblk_prt()
1379 addr, b_flag, dbtype, mblklen, dblk.db_lim - dblk.db_base, in mblk_prt()
/titanic_50/usr/src/uts/common/ktli/
H A Dt_krcvudat.c187 KTLILOG(2, "db_size %x, ", dbp->db_lim - dbp->db_base); in t_krcvudata()
/titanic_50/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c1101 tpmax = outmp->b_datap->db_lim; in ahdlc_encode()
1160 tpmax = curout->b_datap->db_lim; in ahdlc_encode()
1180 tpmax = curout->b_datap->db_lim; in ahdlc_encode()
1412 tpmax = outmp->b_datap->db_lim; in ahdlc_decode()
1532 tpmax = outmp->b_datap->db_lim; in ahdlc_decode()
/titanic_50/usr/src/uts/common/inet/kssl/
H A Dksslrec.c1043 ASSERT(mp->b_wptr < mp->b_datap->db_lim); in kssl_send_server_hello()
1392 ASSERT(mp->b_wptr + copylen <= mp->b_datap->db_lim); in kssl_send_certificate_and_server_hello_done()
1448 (mp->b_datap->db_lim - mp->b_wptr > KSSL_SSL3_MAX_CCP_FIN_MSGLEN)) { in kssl_send_change_cipher_specs()
1476 ASSERT(mp->b_wptr < mp->b_datap->db_lim); in kssl_send_change_cipher_specs()
1694 ASSERT(mp->b_wptr <= mp->b_datap->db_lim); in kssl_send_finished()
1724 ASSERT(mp->b_wptr + mac_sz <= mp->b_datap->db_lim); in kssl_mac_encrypt_record()
1740 ASSERT(mp->b_wptr + pad_sz <= mp->b_datap->db_lim); in kssl_mac_encrypt_record()
/titanic_50/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_q.c1626 (mblk->next_mblk->b_datap->db_lim)) { in hci1394_q_ar_copy_to_mblk()
1643 mblk->next_mblk->b_datap->db_lim) { in hci1394_q_ar_copy_to_mblk()
1657 length = mblk->next_mblk->b_datap->db_lim - in hci1394_q_ar_copy_to_mblk()
1664 mblk->next_mblk->b_datap->db_lim; in hci1394_q_ar_copy_to_mblk()
/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c946 ASSERT(ackmp->b_wptr <= ackmp->b_datap->db_lim); in tcp_addr_req()
1532 ASSERT(ok_mp->b_wptr <= ok_mp->b_datap->db_lim); in tcp_tli_accept()
1823 ASSERT((mp->b_datap->db_lim - mp->b_datap->db_base) >= in tcp_tpi_accept()
1833 ASSERT((mp->b_datap->db_lim - mp->b_datap->db_base) >= in tcp_tpi_accept()
/titanic_50/usr/src/uts/common/io/
H A Dldterm.c1934 if (bpt->b_wptr >= bpt->b_datap->db_lim) { in ldterm_docanon()
2255 if (startp >= bp->b_datap->db_lim) { in ldterm_tabcols()
2285 if (startp >= bp->b_datap->db_lim) { in ldterm_tabcols()
2732 roomleft = bpt->b_datap->db_lim - bpt->b_wptr; in ldterm_dononcanon()
2922 if (curbp->b_datap->db_lim == curbp->b_wptr) { in ldterm_outchar()
3417 bytes_left = obp->b_datap->db_lim - obp->b_wptr; \ in ldterm_output_msg()
3437 bytes_left = obp->b_datap->db_lim - obp->b_wptr; in ldterm_output_msg()
3831 obp->b_datap->db_lim) { in ldterm_output_msg()
H A Dtelmod.c1020 ASSERT(tmp <= mp->b_datap->db_lim); in rcv_parse()
1023 ASSERT(tmp <= protomp->b_datap->db_lim); in rcv_parse()
H A Dstream.c211 dbp->db_lim = dbp->db_base + msg_size; in dblk_constructor()
257 dbp->db_lim = dbp->db_base + bcp->size; in bcache_dblk_constructor()
697 if (copy && mp->b_datap->db_lim - mp->b_rptr >= size) in reallocb()
856 dbp->db_lim = base + size; in gesballoc()
1125 kmem_free(dbp->db_base, dbp->db_lim - dbp->db_base); in dblk_lastfree_oversize()
1445 size = dp->db_lim - dp->db_base; in copyb()
/titanic_50/usr/src/uts/common/inet/ipf/netinet/
H A Dip_irc_pxy.c349 if ((inc > 0) && (m1->b_datap->db_lim - m1->b_wptr < inc)) {
/titanic_50/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c893 if (mp->b_wptr + hlen > mp->b_datap->db_lim) { in tsol_check_label_v4()
1467 if (mp->b_wptr + hlen > mp->b_datap->db_lim) { in tsol_check_label_v6()
/titanic_50/usr/src/uts/sun/io/
H A Dzs_async.c1913 zs->zs_rd_lim = rd_lim = bp->b_datap->db_lim; in zsa_rxint()
1927 zs->zs_rd_lim = rd_lim = bp->b_datap->db_lim; in zsa_rxint()
2053 zs->zs_rd_lim = bp->b_datap->db_lim; in zsa_srint()
2057 if (bp->b_datap->db_lim <= rd_cur) in zsa_srint()
/titanic_50/usr/src/uts/common/io/1394/
H A Ds1394_misc.c415 (curr_blk->b_datap->db_lim - curr_blk->b_wptr); in s1394_mblk_too_small()
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c240 diff = (uintptr_t)mblk->b_datap->db_lim - in m_length()
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_ndd.c588 if ((tmp->b_wptr + size) >= tmp->b_datap->db_lim) { in hxge_mk_mblk_tail_space()
1378 mp1->b_datap->db_lim[-1] = '\0'; /* Force null termination */ in hxge_nd_getset()
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c1099 ASSERT(mp->b_wptr <= mp->b_datap->db_lim); in so_cmsg2opt()
1458 ASSERT(mp->b_datap->db_lim - mp->b_wptr >= len); in soappendmsg()

123