Home
last modified time | relevance | path

Searched refs:MBLKL (Results 1 – 25 of 227) sorted by relevance

12345678910

/titanic_50/usr/src/uts/common/inet/dlpistub/
H A Ddlpistub.c205 if (MBLKL(mp) < sizeof (t_scalar_t)) { in ds_wput()
214 if (MBLKL(mp) < DL_ATTACH_REQ_SIZE) in ds_wput()
225 if (MBLKL(mp) < DL_BIND_REQ_SIZE) in ds_wput()
236 if (MBLKL(mp) < DL_INFO_REQ_SIZE) in ds_wput()
251 if (MBLKL(mp) < DL_PHYS_ADDR_REQ_SIZE) in ds_wput()
258 if (MBLKL(mp) < DL_UNBIND_REQ_SIZE) in ds_wput()
269 if (MBLKL(mp) < DL_DETACH_REQ_SIZE) in ds_wput()
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_send.c293 mp, MBLKL(mp), cksum_flags)); in nxge_start()
332 dump_len = (int)(MBLKL(mp)); in nxge_start()
437 len = MBLKL(nmp); in nxge_start()
465 len = MBLKL(nmp); in nxge_start()
1360 VERIFY(MBLKL(mp) >= hdrlen); in nxge_do_softlso()
1362 if (MBLKL(mp) > hdrlen) { in nxge_do_softlso()
1376 (int)MBLKL(mp), (int)MBLKL(datamp))); in nxge_do_softlso()
1405 ntohs(oiph->ip_len) - (int)MBLKL(mp), in nxge_do_softlso()
1406 (int)MBLKL(datamp), in nxge_do_softlso()
1419 pktlen, (int)MBLKL(mp), (int)MBLKL(datamp), in nxge_do_softlso()
[all …]
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_util.c143 ASSERT(MBLKL(mp) >= sizeof (struct ether_vlan_header)); in mac_fix_cksum()
153 if (MBLKL(mp) <= offset) { in mac_fix_cksum()
154 offset -= MBLKL(mp); in mac_fix_cksum()
187 ASSERT(MBLKL(mp) >= offset + sizeof (ipha_t)); in mac_fix_cksum()
356 if (MBLKL(mp) == 0) { in mac_add_vlan_tag()
362 ASSERT(MBLKL(hmp) >= sizeof (struct ether_vlan_header)); in mac_add_vlan_tag()
410 ASSERT(MBLKL(mp) >= sizeof (struct ether_vlan_header)); in mac_strip_vlan_tag()
913 ASSERT(MBLKL(mp) >= sizeof (struct ether_header)); in mac_pkt_hash()
937 if (MBLKL(mp) < skip_len) { in mac_pkt_hash()
940 if ((newmp == NULL) || (MBLKL(newmp) < skip_len)) { in mac_pkt_hash()
[all …]
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c166 ASSERT(MBLKL(mp) >= sizeof (struct T_conn_ind)); in so_sock2stream()
187 length = MAX(MBLKL(mp), 64); in so_sock2stream()
954 MBLKL(mp) < sizeof (tpr->type)) { in sowaitprim()
967 if (MBLKL(mp) >= (ssize_t)min_size) { in sowaitprim()
1679 if (MBLKL(mp) < sizeof (tpr->type)) { in strsock_proto()
1683 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
1701 if (MBLKL(mp) < sizeof (struct T_data_ind)) { in strsock_proto()
1704 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
1732 if (MBLKL(mp) < sizeof (struct T_unitdata_ind)) { in strsock_proto()
1735 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
[all …]
/titanic_50/usr/src/uts/common/rpc/
H A Dxdr_mblk.c127 xdrs->x_handy = (int)MBLKL(m); in xdrmblk_init()
174 xdrs->x_handy = (int)MBLKL(m); in xdrmblk_getint32()
275 xdrs->x_handy = (int)MBLKL(m); in xdrmblk_getbytes()
322 while (m != NULL && len + (int)MBLKL(m) <= llen) { in xdrmblk_getmblk()
323 len += (int)MBLKL(m); in xdrmblk_getmblk()
351 xdrs->x_handy = m != NULL ? MBLKL(m) : 0; in xdrmblk_getmblk()
460 p->apos += MBLKL(m); in xdrmblk_putmblk()
465 p->rpos = MBLKL(m); in xdrmblk_putmblk()
653 xdrs->x_handy = (int)MBLKL(m); in xdrmblk_control()
719 xdrs->x_handy = (int)MBLKL(m); in xdrmblk_skip_fully_read_mblks()
/titanic_50/usr/src/uts/common/io/
H A Ddrcompat.c242 if (MBLKL(mp) < sizeof (t_uscalar_t)) { in drrput()
251 if (MBLKL(mp) < DL_OK_ACK_SIZE) { in drrput()
330 if (MBLKL(mp) < sizeof (t_uscalar_t)) { in drwput()
350 if (MBLKL(mp) >= DL_OK_ACK_SIZE) { in drwput()
H A Dstrsun.c121 n += MBLKL(mp); in msgsize()
134 n = MBLKL(bp); in mcopymsg()
215 ASSERT(MBLKL(iocmp) == sizeof (struct iocblk)); in miocpullup()
216 if (MBLKL(iocmp) != sizeof (struct iocblk)) { in miocpullup()
231 if (MBLKL(datamp) >= size) in miocpullup()
/titanic_50/usr/src/uts/common/io/dld/
H A Ddld_proto.c70 if (MBLKL(mp) < sizeof (t_uscalar_t)) { in dld_proto()
326 if (MBLKL(mp) < sizeof (dl_attach_req_t) || in proto_attach_req()
370 if (MBLKL(mp) < sizeof (dl_detach_req_t)) { in proto_detach_req()
413 if (MBLKL(mp) < sizeof (dl_bind_req_t)) { in proto_bind_req()
515 if (MBLKL(mp) < sizeof (dl_unbind_req_t)) { in proto_unbind_req()
582 if (MBLKL(mp) < sizeof (dl_promiscon_req_t)) { in proto_promiscon_req()
657 if (MBLKL(mp) < sizeof (dl_promiscoff_req_t)) { in proto_promiscoff_req()
743 if (MBLKL(mp) < sizeof (dl_enabmulti_req_t) || in proto_enabmulti_req()
806 if (MBLKL(mp) < sizeof (dl_disabmulti_req_t) || in proto_disabmulti_req()
855 if (MBLKL(mp) < sizeof (dl_phys_addr_req_t)) { in proto_physaddr_req()
[all …]
/titanic_50/usr/src/uts/common/crypto/io/
H A Dmd4_mod.c400 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); in md4_digest_update_mblk()
401 offset -= MBLKL(mp), mp = mp->b_cont) in md4_digest_update_mblk()
415 cur_len = MIN(MBLKL(mp) - offset, length); in md4_digest_update_mblk()
451 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp); in md4_digest_final_mblk()
452 offset -= MBLKL(mp), mp = mp->b_cont) in md4_digest_final_mblk()
462 if (offset + digest_len <= MBLKL(mp)) { in md4_digest_final_mblk()
493 cur_len = MIN(MBLKL(mp) - offset, length); in md4_digest_final_mblk()
H A Dskein_mod.c399 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); in skein_digest_update_mblk()
400 offset -= MBLKL(mp), mp = mp->b_cont) in skein_digest_update_mblk()
412 cur_len = MIN(MBLKL(mp) - offset, length); in skein_digest_update_mblk()
442 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp); in skein_digest_final_mblk()
443 offset -= MBLKL(mp), mp = mp->b_cont) in skein_digest_final_mblk()
450 if (offset + CRYPTO_BITS2BYTES(ctx->sc_digest_bitlen) <= MBLKL(mp)) { in skein_digest_final_mblk()
466 cur_len = MIN(MBLKL(mp) - offset, length); in skein_digest_final_mblk()
H A Dmd5_mod.c485 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); in md5_digest_update_mblk()
486 offset -= MBLKL(mp), mp = mp->b_cont) in md5_digest_update_mblk()
500 cur_len = MIN(MBLKL(mp) - offset, length); in md5_digest_update_mblk()
536 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp); in md5_digest_final_mblk()
537 offset -= MBLKL(mp), mp = mp->b_cont) in md5_digest_final_mblk()
547 if (offset + digest_len <= MBLKL(mp)) { in md5_digest_final_mblk()
578 cur_len = MIN(MBLKL(mp) - offset, length); in md5_digest_final_mblk()
1378 for (mp = mac->cd_mp; mp != NULL && offset >= MBLKL(mp); in md5_mac_verify_atomic()
1379 offset -= MBLKL(mp), mp = mp->b_cont) in md5_mac_verify_atomic()
1391 cur_len = MIN(MBLKL(mp) - offset, length); in md5_mac_verify_atomic()
H A Dsha1_mod.c428 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); in sha1_digest_update_mblk()
429 offset -= MBLKL(mp), mp = mp->b_cont) in sha1_digest_update_mblk()
443 cur_len = MIN(MBLKL(mp) - offset, length); in sha1_digest_update_mblk()
479 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp); in sha1_digest_final_mblk()
480 offset -= MBLKL(mp), mp = mp->b_cont) in sha1_digest_final_mblk()
490 if (offset + digest_len <= MBLKL(mp)) { in sha1_digest_final_mblk()
521 cur_len = MIN(MBLKL(mp) - offset, length); in sha1_digest_final_mblk()
1319 for (mp = mac->cd_mp; mp != NULL && offset >= MBLKL(mp); in sha1_mac_verify_atomic()
1320 offset -= MBLKL(mp), mp = mp->b_cont) in sha1_mac_verify_atomic()
1332 cur_len = MIN(MBLKL(mp) - offset, length); in sha1_mac_verify_atomic()
H A Dsha2_mod.c456 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); in sha2_digest_update_mblk()
457 offset -= MBLKL(mp), mp = mp->b_cont) in sha2_digest_update_mblk()
471 cur_len = MIN(MBLKL(mp) - offset, length); in sha2_digest_update_mblk()
507 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp); in sha2_digest_final_mblk()
508 offset -= MBLKL(mp), mp = mp->b_cont) in sha2_digest_final_mblk()
518 if (offset + digest_len <= MBLKL(mp)) { in sha2_digest_final_mblk()
552 cur_len = MIN(MBLKL(mp) - offset, length); in sha2_digest_final_mblk()
1474 for (mp = mac->cd_mp; mp != NULL && offset >= MBLKL(mp); in sha2_mac_verify_atomic()
1475 offset -= MBLKL(mp), mp = mp->b_cont) in sha2_mac_verify_atomic()
1487 cur_len = MIN(MBLKL(mp) - offset, length); in sha2_mac_verify_atomic()
/titanic_50/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c121 mbsize += MBLKL(nmp); in ixgbe_ring_tx()
188 len = MBLKL(mp); in ixgbe_ring_tx()
195 len += MBLKL(hdr_nmp); in ixgbe_ring_tx()
205 hdr_frag_len = hdr_len - (len - MBLKL(hdr_nmp)); in ixgbe_ring_tx()
247 current_len = MBLKL(current_mp); in ixgbe_ring_tx()
271 next_len = eop ? 0: MBLKL(next_mp); in ixgbe_ring_tx()
748 size = len = MBLKL(mp); in ixgbe_get_context()
753 len = MBLKL(mp); in ixgbe_get_context()
767 len = MBLKL(mp); in ixgbe_get_context()
789 len = MBLKL(mp); in ixgbe_get_context()
[all …]
/titanic_50/usr/src/uts/common/io/igb/
H A Digb_tx.c129 mbsize += MBLKL(nmp); in igb_tx()
187 len = MBLKL(mp); in igb_tx()
192 len += MBLKL(hdr_current_mp); in igb_tx()
202 hdr_frag_len = hdr_len - (len - MBLKL(hdr_current_mp)); in igb_tx()
257 current_len = MBLKL(current_mp); in igb_tx()
281 next_len = eop ? 0: MBLKL(next_mp); in igb_tx()
648 size = len = MBLKL(mp); in igb_get_tx_context()
653 len = MBLKL(mp); in igb_get_tx_context()
667 len = MBLKL(mp); in igb_get_tx_context()
688 len = MBLKL(mp); in igb_get_tx_context()
[all …]
/titanic_50/usr/src/uts/common/ktli/
H A Dt_krcvudat.c119 hdrsz = MBLKL(bp); in t_krcvudata()
210 if (!pullupmsg(bp, MBLKL(bp))) { in t_krcvudata()
218 unitdata->udata.len = (uint_t)MBLKL(bp); in t_krcvudata()
234 hdrsz = MBLKL(bp); in t_krcvudata()
/titanic_50/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)) && \
/titanic_50/usr/src/uts/common/io/ppp/sppp/
H A Ds_common.c94 if (i < MBLKL(mp)) { in msg_byte()
97 i -= MBLKL(mp); in msg_byte()
/titanic_50/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c142 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); in crypto_mblk_data()
143 offset -= MBLKL(mp), mp = mp->b_cont) in crypto_mblk_data()
157 cur_len = MIN(MBLKL(mp) - offset, length); in crypto_mblk_data()
502 for (mp = input->cd_mp; mp != NULL && offset >= MBLKL(mp); in crypto_update_mp()
503 offset -= MBLKL(mp), mp = mp->b_cont) in crypto_update_mp()
517 cur_len = MIN(MBLKL(mp) - offset, length); in crypto_update_mp()
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c113 ASSERT(MBLKL(mp) >= SMB_HDRLEN); in smb_compute_MAC()
203 if (MBLKL(mp) < SMB_HDRLEN) { in smb_rq_sign()
259 if (MBLKL(mp) < SMB_HDRLEN) { in smb_rq_verify()
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c86 mblkLen = MBLKL(pMblk); in BnxeRouteTxRing()
106 mblkLen = MBLKL(pTmpMblk); in BnxeRouteTxRing()
H A Dbnxe_debug.c277 for (i = 0; i < MBLKL(pMblk); i++) in BnxeDumpPkt()
297 snprintf(c, sizeof(c), "%d", (int)MBLKL(pMblk)); in BnxeDumpPkt()
299 xx += MBLKL(pMblk); in BnxeDumpPkt()
/titanic_50/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_wep.c251 MBLKL(mp) - (hdrlen + wep.ic_header), in wep_encrypt()
258 MBLKL(mp) - (hdrlen + wep.ic_header)); in wep_encrypt()
300 MBLKL(mp) - in wep_decrypt()
305 MBLKL(mp) - in wep_decrypt()
/titanic_50/usr/src/uts/common/io/arn/
H A Darn_beacon.c123 MBLKL(mp) + IEEE80211_CRC_LEN, /* frame length */ in arn_beacon_setup()
132 roundup(MBLKL(mp), 4), /* buffer length */ in arn_beacon_setup()
165 bcopy(mp->b_rptr, bf->bf_dma.mem_va, MBLKL(mp)); in arn_beacon_start_adhoc()
229 bcopy(mp->b_rptr, bf->bf_dma.mem_va, MBLKL(mp)); in arn_beacon_alloc()
/titanic_50/usr/src/uts/common/inet/
H A Dip_impl.h100 (len) = MBLKL(mp); \
104 (len) += MBLKL(mp1); \

12345678910