Searched refs:MBLKL (Results 1 - 25 of 233) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c94 if ((MBLKL(mp) < etherhs) && (pullupmsg(mp, etherhs) == 0))
105 if ((MBLKL(mp) < etherhs) && (pullupmsg(mp, etherhs) == 0))
121 if ((MBLKL(mp) < len) && (pullupmsg(mp, len) == 0))
145 if ((MBLKL(mp) < len) && (pullupmsg(mp, len) == 0))
166 if ((MBLKL(mp) < len) && (pullupmsg(mp, len) == 0))
185 if ((MBLKL(mp) < len) && (pullupmsg(mp, len) == 0))
200 if (MBLKL(mp) < off)
/illumos-gate/usr/src/uts/common/io/ppp/common/
H A Ds_common.h30 ((i) < MBLKL(mp) ? (mp)->b_rptr[i] : msg_byte((mp), (i)))
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsun.h51 #define MBLKL(mp) _PTRDIFF((mp)->b_wptr, (mp)->b_rptr) macro
55 #define MBLKIN(mp, off, len) (((off) <= MBLKL(mp)) && \
/illumos-gate/usr/src/uts/common/inet/dlpistub/
H A Ddlpistub.c205 if (MBLKL(mp) < sizeof (t_scalar_t)) {
214 if (MBLKL(mp) < DL_ATTACH_REQ_SIZE)
225 if (MBLKL(mp) < DL_BIND_REQ_SIZE)
236 if (MBLKL(mp) < DL_INFO_REQ_SIZE)
251 if (MBLKL(mp) < DL_PHYS_ADDR_REQ_SIZE)
258 if (MBLKL(mp) < DL_UNBIND_REQ_SIZE)
269 if (MBLKL(mp) < DL_DETACH_REQ_SIZE)
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c86 mblkLen = MBLKL(pMblk);
106 mblkLen = MBLKL(pTmpMblk);
H A Dbnxe_debug.c277 for (i = 0; i < MBLKL(pMblk); i++)
297 snprintf(c, sizeof(c), "%d", (int)MBLKL(pMblk));
299 xx += MBLKL(pMblk);
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Ds_common.c94 if (i < MBLKL(mp)) {
97 i -= MBLKL(mp);
/illumos-gate/usr/src/uts/common/inet/
H A Dip_impl.h100 (len) = MBLKL(mp); \
104 (len) += MBLKL(mp1); \
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c293 mp, MBLKL(mp), cksum_flags));
332 dump_len = (int)(MBLKL(mp));
437 len = MBLKL(nmp);
465 len = MBLKL(nmp);
1360 VERIFY(MBLKL(mp) >= hdrlen);
1362 if (MBLKL(mp) > hdrlen) {
1376 (int)MBLKL(mp), (int)MBLKL(datamp)));
1397 "MBLKL(mp): %d, MBLKL(datam
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Ddrcompat.c242 if (MBLKL(mp) < sizeof (t_uscalar_t)) {
251 if (MBLKL(mp) < DL_OK_ACK_SIZE) {
330 if (MBLKL(mp) < sizeof (t_uscalar_t)) {
350 if (MBLKL(mp) >= DL_OK_ACK_SIZE) {
H A Dstrsun.c121 n += MBLKL(mp);
134 n = MBLKL(bp);
215 ASSERT(MBLKL(iocmp) == sizeof (struct iocblk));
216 if (MBLKL(iocmp) != sizeof (struct iocblk)) {
231 if (MBLKL(datamp) >= size)
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_krcvudat.c119 hdrsz = MBLKL(bp);
210 if (!pullupmsg(bp, MBLKL(bp))) {
218 unitdata->udata.len = (uint_t)MBLKL(bp);
234 hdrsz = MBLKL(bp);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c143 ASSERT(MBLKL(mp) >= sizeof (struct ether_vlan_header));
153 if (MBLKL(mp) <= offset) {
154 offset -= MBLKL(mp);
187 ASSERT(MBLKL(mp) >= offset + sizeof (ipha_t));
356 if (MBLKL(mp) == 0) {
362 ASSERT(MBLKL(hmp) >= sizeof (struct ether_vlan_header));
410 ASSERT(MBLKL(mp) >= sizeof (struct ether_vlan_header));
913 ASSERT(MBLKL(mp) >= sizeof (struct ether_header));
937 if (MBLKL(mp) < skip_len) {
940 if ((newmp == NULL) || (MBLKL(newm
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dmd4_mod.c400 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp);
401 offset -= MBLKL(mp), mp = mp->b_cont)
415 cur_len = MIN(MBLKL(mp) - offset, length);
451 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp);
452 offset -= MBLKL(mp), mp = mp->b_cont)
462 if (offset + digest_len <= MBLKL(mp)) {
493 cur_len = MIN(MBLKL(mp) - offset, length);
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_mblk.c127 xdrs->x_handy = (int)MBLKL(m);
174 xdrs->x_handy = (int)MBLKL(m);
275 xdrs->x_handy = (int)MBLKL(m);
322 while (m != NULL && len + (int)MBLKL(m) <= llen) {
323 len += (int)MBLKL(m);
351 xdrs->x_handy = m != NULL ? MBLKL(m) : 0;
471 p->apos += MBLKL(m);
476 p->rpos = MBLKL(m);
664 xdrs->x_handy = (int)MBLKL(m);
730 xdrs->x_handy = (int)MBLKL(
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c166 ASSERT(MBLKL(mp) >= sizeof (struct T_conn_ind));
187 length = MAX(MBLKL(mp), 64);
954 MBLKL(mp) < sizeof (tpr->type)) {
967 if (MBLKL(mp) >= (ssize_t)min_size) {
1679 if (MBLKL(mp) < sizeof (tpr->type)) {
1683 (ptrdiff_t)(MBLKL(mp)));
1701 if (MBLKL(mp) < sizeof (struct T_data_ind)) {
1704 (ptrdiff_t)(MBLKL(mp)));
1732 if (MBLKL(mp) < sizeof (struct T_unitdata_ind)) {
1735 (ptrdiff_t)(MBLKL(m
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c120 mbsize += MBLKL(nmp);
187 len = MBLKL(mp);
194 len += MBLKL(hdr_nmp);
204 hdr_frag_len = hdr_len - (len - MBLKL(hdr_nmp));
246 current_len = MBLKL(current_mp);
270 next_len = eop ? 0: MBLKL(next_mp);
747 size = len = MBLKL(mp);
752 len = MBLKL(mp);
766 len = MBLKL(mp);
788 len = MBLKL(m
[all...]
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_proto.c69 if (MBLKL(mp) < sizeof (t_uscalar_t)) {
325 if (MBLKL(mp) < sizeof (dl_attach_req_t) ||
369 if (MBLKL(mp) < sizeof (dl_detach_req_t)) {
412 if (MBLKL(mp) < sizeof (dl_bind_req_t)) {
514 if (MBLKL(mp) < sizeof (dl_unbind_req_t)) {
581 if (MBLKL(mp) < sizeof (dl_promiscon_req_t)) {
656 if (MBLKL(mp) < sizeof (dl_promiscoff_req_t)) {
742 if (MBLKL(mp) < sizeof (dl_enabmulti_req_t) ||
805 if (MBLKL(mp) < sizeof (dl_disabmulti_req_t) ||
854 if (MBLKL(m
[all...]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c142 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp);
143 offset -= MBLKL(mp), mp = mp->b_cont)
157 cur_len = MIN(MBLKL(mp) - offset, length);
502 for (mp = input->cd_mp; mp != NULL && offset >= MBLKL(mp);
503 offset -= MBLKL(mp), mp = mp->b_cont)
517 cur_len = MIN(MBLKL(mp) - offset, length);
/illumos-gate/usr/src/common/crypto/modes/
H A Dmodes.c69 for (mp = out->cd_mp; mp != NULL && offset >= MBLKL(mp);
70 offset -= MBLKL(mp), mp = mp->b_cont)
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_queue.c162 int len = MBLKL(bp);
184 q->q_size -= MBLKL(bp);
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_wep.c251 MBLKL(mp) - (hdrlen + wep.ic_header),
258 MBLKL(mp) - (hdrlen + wep.ic_header));
300 MBLKL(mp) -
305 MBLKL(mp) -
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_beacon.c87 MBLKL(mp) + IEEE80211_CRC_LEN, /* frame length */
96 roundup(MBLKL(mp), 4), /* buffer length */
128 bcopy(mp->b_rptr, bf->bf_dma.mem_va, MBLKL(mp));
192 bcopy(mp->b_rptr, bf->bf_dma.mem_va, MBLKL(mp));
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c113 ASSERT(MBLKL(mp) >= SMB_HDRLEN);
203 if (MBLKL(mp) < SMB_HDRLEN) {
259 if (MBLKL(mp) < SMB_HDRLEN) {
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_tx.c129 mbsize += MBLKL(nmp);
187 len = MBLKL(mp);
192 len += MBLKL(hdr_current_mp);
202 hdr_frag_len = hdr_len - (len - MBLKL(hdr_current_mp));
257 current_len = MBLKL(current_mp);
281 next_len = eop ? 0: MBLKL(next_mp);
648 size = len = MBLKL(mp);
653 len = MBLKL(mp);
667 len = MBLKL(mp);
688 len = MBLKL(m
[all...]

Completed in 120 milliseconds

12345678910