Home
last modified time | relevance | path

Searched refs:hmp (Results 1 – 17 of 17) sorted by last modified time

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c670 mblk_t *hmp; in sctp_uodata_frag() local
711 hmp = hmp->b_next; in sctp_uodata_frag()
724 for (hmp = dmp->b_prev; hmp != NULL; hmp = hmp->b_prev) { in sctp_uodata_frag()
742 for (hmp = dmp->b_next; hmp != NULL; hmp = hmp->b_next) { in sctp_uodata_frag()
749 end = hmp; in sctp_uodata_frag()
784 dmp = hmp; in sctp_uodata_frag()
789 hmp = end; in sctp_uodata_frag()
2201 freeb(hmp); in sctp_ftsn_check_uo_frag()
2254 dmp = hmp; in sctp_ftsn_check_frag()
2258 freeb(hmp); in sctp_ftsn_check_frag()
[all …]
H A Dsctp_error.c174 mblk_t *hmp; in sctp_send_abort() local
204 hmp = allocb(sctps->sctps_wroff_xtra + ahlen, BPRI_MED); in sctp_send_abort()
205 if (hmp == NULL) { in sctp_send_abort()
211 p = hmp->b_rptr + sctps->sctps_wroff_xtra; in sctp_send_abort()
212 hmp->b_rptr = p; in sctp_send_abort()
213 hmp->b_wptr = p + ahlen; in sctp_send_abort()
256 if ((alen = sctp_link_abort(hmp, serror, details, len, iserror, tbit)) in sctp_send_abort()
258 freemsg(hmp); in sctp_send_abort()
268 freemsg(hmp); in sctp_send_abort()
298 if (!ipsec_in_to_out(ira, ixa, hmp, ahiph, ahip6h)) { in sctp_send_abort()
[all …]
H A Dsctp_asconf.c375 mblk_t *hmp; in sctp_input_asconf() local
418 if (hmp == NULL) { in sctp_input_asconf()
423 ach = (sctp_chunk_hdr_t *)hmp->b_wptr; in sctp_input_asconf()
429 hmp->b_wptr = (uchar_t *)(hidp + 1); in sctp_input_asconf()
434 freeb(hmp); in sctp_input_asconf()
482 freeb(hmp); in sctp_input_asconf()
493 freeb(hmp); in sctp_input_asconf()
531 freemsg(hmp); in sctp_input_asconf()
539 linkb(hmp, mp); in sctp_input_asconf()
590 sctp_set_iplen(sctp, hmp, fp->sf_ixa); in sctp_input_asconf()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprinthostmap.c3 void printhostmap(hmp, hv) in printhostmap() argument
4 hostmap_t *hmp; in printhostmap()
7 printf("%s,", inet_ntoa(hmp->hm_srcip));
8 printf("%s -> ", inet_ntoa(hmp->hm_dstip));
9 printf("%s ", inet_ntoa(hmp->hm_mapip));
10 printf("(use = %d hv = %u)\n", hmp->hm_ref, hv);
/illumos-gate/usr/src/uts/common/os/
H A Dlogsubr.c333 mblk_t *hmp = NULL; in log_conswitch() local
350 if (hmp) { in log_conswitch()
354 hmp = tmp = mp; in log_conswitch()
358 while (hmp) { in log_conswitch()
359 tmp = hmp->b_next; in log_conswitch()
360 hmp->b_next = NULL; in log_conswitch()
371 hmp = tmp; in log_conswitch()
375 while (hmp) { in log_conswitch()
376 tmp = hmp->b_next; in log_conswitch()
377 hmp->b_next = NULL; in log_conswitch()
[all …]
H A Dbio.c412 kmutex_t *hmp; in brelse() local
531 kmutex_t *hmp; in bio_busy() local
580 kmutex_t *hmp; in getblk_common() local
790 kmutex_t *hmp; in trygetblk() local
870 kmutex_t *hmp; in bflush() local
963 kmutex_t *hmp; in blkflush() local
1023 kmutex_t *hmp; in bfinval() local
1393 kmutex_t *hmp; in bcheck() local
1454 kmutex_t *hmp; in bio_getfreeblk() local
1694 kmutex_t *hmp; in bio_recycle() local
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat.c473 void fr_hostmapdel(hmp) in fr_hostmapdel() argument
474 struct hostmap **hmp; in fr_hostmapdel()
478 hm = *hmp;
479 *hmp = NULL;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c1437 mblk_t *hmp; in mac_add_vlan_tag() local
1449 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED); in mac_add_vlan_tag()
1450 if (hmp == NULL) { in mac_add_vlan_tag()
1455 evhp = (struct ether_vlan_header *)hmp->b_rptr; in mac_add_vlan_tag()
1462 hmp->b_wptr += sizeof (struct ether_vlan_header); in mac_add_vlan_tag()
1469 mac_hcksum_clone(mp, hmp); in mac_add_vlan_tag()
1471 hmp->b_cont = mp->b_cont; in mac_add_vlan_tag()
1474 hmp->b_cont = mp; in mac_add_vlan_tag()
1476 ASSERT(MBLKL(hmp) >= sizeof (struct ether_vlan_header)); in mac_add_vlan_tag()
1483 return (hmp); in mac_add_vlan_tag()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c792 mblk_t *hmp; in i_dld_ether_header_update_tag() local
813 hmp = msgpullup(mp, -1); in i_dld_ether_header_update_tag()
814 if ((hmp == NULL) || (MBLKL(hmp) < len)) { in i_dld_ether_header_update_tag()
815 freemsg(hmp); in i_dld_ether_header_update_tag()
819 mp = hmp; in i_dld_ether_header_update_tag()
837 if (hmp == NULL) in i_dld_ether_header_update_tag()
858 hmp->b_cont = mp->b_cont; in i_dld_ether_header_update_tag()
861 hmp->b_cont = mp; in i_dld_ether_header_update_tag()
863 mp = hmp; in i_dld_ether_header_update_tag()
2180 mblk_t *hmp; in ioc_fast() local
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6.c4009 mblk_t *hmp; in ip_fragment_v6() local
4103 hmp->b_wptr = hmp->b_rptr + unfragmentable_len; in ip_fragment_v6()
4138 freeb(hmp); in ip_fragment_v6()
4146 hmp0 = hmp; in ip_fragment_v6()
4147 hmp = NULL; in ip_fragment_v6()
4176 freeb(hmp); in ip_fragment_v6()
4194 hmp, ill); in ip_fragment_v6()
4195 freeb(hmp); in ip_fragment_v6()
4220 mblk_t *hmp; in ip_fraghdr_add_v6() local
4314 hmp->b_cont = mp; in ip_fraghdr_add_v6()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat.c358 hostmap_t hm, *hmp, **maptable; in showhostmap() local
376 hmp = maptable[hv]; in showhostmap()
378 while (hmp) { in showhostmap()
379 if (kmemcpy((char *)&hm, (ulong_t)hmp, sizeof (hm))) { in showhostmap()
385 hmp = hm.hm_next; in showhostmap()
477 hostmap_t hm, *hmp; in showhostmap_live() local
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_ldc.c3782 mblk_t *hmp = NULL; /* high prio pkts head */ in vsw_get_pri_packets() local
3807 if (hmp != NULL) { in vsw_get_pri_packets()
3811 hmp = hmpt = smp; in vsw_get_pri_packets()
3829 *hp = hmp; in vsw_get_pri_packets()
3846 mblk_t *hmp; /* high prio pkts head */ in vsw_ldctx_pri() local
3860 n = vsw_get_pri_packets(vswp, &nmp, &nmpt, &hmp, &hmpt); in vsw_ldctx_pri()
3863 tmp = hmp; in vsw_ldctx_pri()
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c130 mblk_t *hmp = NULL, *next_hmp = NULL; in oplmsu_uwioctl_ipunlink() local
272 for (hmp = lpath->first_lpri_hi; hmp; ) { in oplmsu_uwioctl_ipunlink()
273 next_hmp = hmp->b_next; in oplmsu_uwioctl_ipunlink()
274 freemsg(hmp); in oplmsu_uwioctl_ipunlink()
275 hmp = next_hmp; in oplmsu_uwioctl_ipunlink()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dpe.c278 hmp->ce_dh = NULL; in pe_start()
279 hmp->ce_flg = DH_TOE; in pe_start()
281 hmp->ce_mp = mp; in pe_start()
396 buf[j] = hmp[j]; in pe_start()
399 kmem_free(hmp, in pe_start()
404 hmp = buf; in pe_start()
421 &hmp[nseg], in pe_start()
514 &hmp[0], 16); in pe_start()
519 &hmp[0], 16); in pe_start()
561 hmp->ce_flg |= DH_ARP; in pe_start()
[all …]
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c3664 kmutex_t *hmp = &rvfs_list[vhno].rvfs_lock; in getvfs() local
3666 mutex_enter(hmp); in getvfs()
3671 mutex_exit(hmp); in getvfs()
3675 mutex_exit(hmp); in getvfs()
H A Dfsflush.c361 kmutex_t *hmp; in fsflush() local
413 hmp = &hbuf[ix].b_lock; in fsflush()
414 mutex_enter(hmp); in fsflush()
430 mutex_exit(hmp); in fsflush()
437 mutex_enter(hmp); in fsflush()
443 mutex_exit(hmp); in fsflush()
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dprotocols41 hmp 20 HMP # host monitoring protocol