/opensolaris-onvv-gate/usr/src/uts/common/io/ppp/common/ |
H A D | s_common.h | 30 ((i) < MBLKL(mp) ? (mp)->b_rptr[i] : msg_byte((mp), (i)))
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | strsun.h | 51 #define MBLKL(mp) _PTRDIFF((mp)->b_wptr, (mp)->b_rptr) macro 55 #define MBLKIN(mp, off, len) (((off) <= MBLKL(mp)) && \
|
/opensolaris-onvv-gate/usr/src/uts/common/inet/dlpistub/ |
H A D | dlpistub.c | 205 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)
|
/opensolaris-onvv-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | s_common.c | 94 if (i < MBLKL(mp)) { 97 i -= MBLKL(mp);
|
/opensolaris-onvv-gate/usr/src/uts/common/inet/ |
H A D | ip_impl.h | 100 (len) = MBLKL(mp); \ 104 (len) += MBLKL(mp1); \
|
/opensolaris-onvv-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_send.c | 293 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...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/ |
H A D | drcompat.c | 242 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 D | strsun.c | 121 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)
|
H A D | log.c | 236 if (MBLKL(mp) == sizeof (log_ctl_t) && mp->b_cont != NULL) { 248 MBLKL(mp->b_cont) + 1, 0); 256 LOG_USER | LOG_INFO, mp->b_rptr, MBLKL(mp) + 1, 0);
|
/opensolaris-onvv-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 143 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...] |
/opensolaris-onvv-gate/usr/src/uts/common/ktli/ |
H A D | t_krcvudat.c | 121 hdrsz = MBLKL(bp); 212 if (!pullupmsg(bp, MBLKL(bp))) { 220 unitdata->udata.len = (uint_t)MBLKL(bp); 236 hdrsz = MBLKL(bp);
|
/opensolaris-onvv-gate/usr/src/uts/common/crypto/io/ |
H A D | md4_mod.c | 400 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);
|
H A D | md5_mod.c | 485 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); 486 offset -= MBLKL(mp), mp = mp->b_cont) 500 cur_len = MIN(MBLKL(mp) - offset, length); 536 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp); 537 offset -= MBLKL(mp), mp = mp->b_cont) 547 if (offset + digest_len <= MBLKL(mp)) { 578 cur_len = MIN(MBLKL(mp) - offset, length); 1378 for (mp = mac->cd_mp; mp != NULL && offset >= MBLKL(mp); 1379 offset -= MBLKL(mp), mp = mp->b_cont) 1391 cur_len = MIN(MBLKL(m [all...] |
H A D | sha1_mod.c | 434 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); 435 offset -= MBLKL(mp), mp = mp->b_cont) 449 cur_len = MIN(MBLKL(mp) - offset, length); 485 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp); 486 offset -= MBLKL(mp), mp = mp->b_cont) 496 if (offset + digest_len <= MBLKL(mp)) { 527 cur_len = MIN(MBLKL(mp) - offset, length); 1325 for (mp = mac->cd_mp; mp != NULL && offset >= MBLKL(mp); 1326 offset -= MBLKL(mp), mp = mp->b_cont) 1338 cur_len = MIN(MBLKL(m [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockstr.c | 166 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...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_tx.c | 116 mbsize += MBLKL(nmp); 183 len = MBLKL(mp); 190 len += MBLKL(hdr_nmp); 200 hdr_frag_len = hdr_len - (len - MBLKL(hdr_nmp)); 242 current_len = MBLKL(current_mp); 266 next_len = eop ? 0: MBLKL(next_mp); 743 size = len = MBLKL(mp); 748 len = MBLKL(mp); 762 len = MBLKL(mp); 784 len = MBLKL(m [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/dld/ |
H A D | dld_proto.c | 68 if (MBLKL(mp) < sizeof (t_uscalar_t)) { 324 if (MBLKL(mp) < sizeof (dl_attach_req_t) || 368 if (MBLKL(mp) < sizeof (dl_detach_req_t)) { 411 if (MBLKL(mp) < sizeof (dl_bind_req_t)) { 513 if (MBLKL(mp) < sizeof (dl_unbind_req_t)) { 580 if (MBLKL(mp) < sizeof (dl_promiscon_req_t)) { 655 if (MBLKL(mp) < sizeof (dl_promiscoff_req_t)) { 738 if (MBLKL(mp) < sizeof (dl_enabmulti_req_t) || 801 if (MBLKL(mp) < sizeof (dl_disabmulti_req_t) || 850 if (MBLKL(m [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 142 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);
|
/opensolaris-onvv-gate/usr/src/common/crypto/modes/ |
H A D | modes.c | 69 for (mp = out->cd_mp; mp != NULL && offset >= MBLKL(mp); 70 offset -= MBLKL(mp), mp = mp->b_cont)
|
/opensolaris-onvv-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_queue.c | 162 int len = MBLKL(bp); 184 q->q_size -= MBLKL(bp);
|
/opensolaris-onvv-gate/usr/src/uts/common/io/arn/ |
H A D | arn_beacon.c | 123 MBLKL(mp) + IEEE80211_CRC_LEN, /* frame length */ 132 roundup(MBLKL(mp), 4), /* buffer length */ 165 bcopy(mp->b_rptr, bf->bf_dma.mem_va, MBLKL(mp)); 229 bcopy(mp->b_rptr, bf->bf_dma.mem_va, MBLKL(mp));
|
/opensolaris-onvv-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_wep.c | 251 MBLKL(mp) - (hdrlen + wep.ic_header), 258 MBLKL(mp) - (hdrlen + wep.ic_header)); 300 MBLKL(mp) - 305 MBLKL(mp) -
|
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_sign.c | 113 ASSERT(MBLKL(mp) >= SMB_HDRLEN); 203 if (MBLKL(mp) < SMB_HDRLEN) { 259 if (MBLKL(mp) < SMB_HDRLEN) {
|
/opensolaris-onvv-gate/usr/src/uts/common/io/igb/ |
H A D | igb_tx.c | 125 mbsize += MBLKL(nmp); 183 len = MBLKL(mp); 188 len += MBLKL(hdr_current_mp); 198 hdr_frag_len = hdr_len - (len - MBLKL(hdr_current_mp)); 253 current_len = MBLKL(current_mp); 277 next_len = eop ? 0: MBLKL(next_mp); 644 size = len = MBLKL(mp); 649 len = MBLKL(mp); 663 len = MBLKL(mp); 684 len = MBLKL(m [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslfilter.c | 402 *lenp += MBLKL(outmp); 405 *lenp += MBLKL(outmp); 440 *lenp += MBLKL(mp); 443 *lenp += MBLKL(mp);
|