Searched refs:MLEN (Results 1 - 10 of 10) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/smbsrv/
H A Dmbuf.h94 #define MLEN (MSIZE - sizeof (struct m_hdr)) /* normal data len */ macro
95 #define MHLEN (MLEN - sizeof (struct pkthdr)) /* data len w/pkthdr */
97 #define MINCLSIZE (MHLEN + MLEN) /* smallest amount to put in cluster */
141 char M_databuf[MLEN]; /* !M_PKTHDR, !M_EXT */
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c142 if (count > MLEN) {
180 if (count > MLEN) {
H A Dsmb_mbuf_marshaling.c773 if (mbc->max_bytes > MLEN)
805 m->m_ext.ext_size : MLEN;
818 if (bytes_needed > MLEN)
822 m->m_ext.ext_size : MLEN;
H A Dsmb_write_raw.c280 MBC_INIT(&reply, MLEN);
H A Dsmb_session.c1223 mbc = smb_mbc_alloc(MLEN);
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c74 * &m->m_dat[MLEN] m->b_datap->db_lim
103 * MLEN: The smallest mblk we'll allocate.
105 * There's more to MLEN than you might think.
107 * separate frame, so we want MLEN at least 1K.
116 #define MLEN 4096 macro
218 /* Make size at least MLEN. */
219 if (size < MLEN)
220 size = MLEN;
269 mblk = allocb_cred_wait(MLEN, STR_NOSIG, &error, cr, NOPID);
328 * Note: size should be <= MLEN
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/chxge/
H A Dpe.c75 #define MLEN(mp) ((mp)->b_wptr - (mp)->b_rptr) macro
374 len = MLEN(mp);
510 len = MLEN(mp);
/opensolaris-onvv-gate/usr/src/uts/common/io/pcwl/
H A Dpcwl.h579 #define MLEN(mp) ((mp)->b_wptr - (mp)->b_rptr) macro
/opensolaris-onvv-gate/usr/src/uts/common/io/pcan/
H A Dpcan.h1102 #define MLEN(mp) ((mp)->b_wptr - (mp)->b_rptr) macro
/opensolaris-onvv-gate/usr/src/uts/common/inet/ipf/
H A Dfil.c3269 n->m_len = min(MLEN, len + off);
3288 n->m_len = min(MLEN, len);

Completed in 124 milliseconds