Home
last modified time | relevance | path

Searched refs:hmp (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
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 Dbio.c413 kmutex_t *hmp; in brelse() local
532 kmutex_t *hmp; in bio_busy() local
581 kmutex_t *hmp; in getblk_common() local
791 kmutex_t *hmp; in trygetblk() local
871 kmutex_t *hmp; in bflush() local
964 kmutex_t *hmp; in blkflush() local
1024 kmutex_t *hmp; in bfinval() local
1419 kmutex_t *hmp; in bcheck() local
1480 kmutex_t *hmp; in bio_getfreeblk() local
1721 kmutex_t *hmp; in bio_recycle() local
[all …]
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 …]
/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/inet/sctp/
H A Dsctp_input.c669 mblk_t *hmp; in sctp_uodata_frag() local
710 hmp = hmp->b_next; in sctp_uodata_frag()
723 for (hmp = dmp->b_prev; hmp != NULL; hmp = hmp->b_prev) { in sctp_uodata_frag()
741 for (hmp = dmp->b_next; hmp != NULL; hmp = hmp->b_next) { in sctp_uodata_frag()
748 end = hmp; in sctp_uodata_frag()
783 dmp = hmp; in sctp_uodata_frag()
788 hmp = end; in sctp_uodata_frag()
2200 freeb(hmp); in sctp_ftsn_check_uo_frag()
2253 dmp = hmp; in sctp_ftsn_check_frag()
2257 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/uts/common/fs/
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()
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()
/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/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/dld/
H A Ddld_str.c778 mblk_t *hmp; in i_dld_ether_header_update_tag() local
799 hmp = msgpullup(mp, -1); in i_dld_ether_header_update_tag()
800 if ((hmp == NULL) || (MBLKL(hmp) < len)) { in i_dld_ether_header_update_tag()
801 freemsg(hmp); in i_dld_ether_header_update_tag()
805 mp = hmp; in i_dld_ether_header_update_tag()
823 if (hmp == NULL) in i_dld_ether_header_update_tag()
844 hmp->b_cont = mp->b_cont; in i_dld_ether_header_update_tag()
847 hmp->b_cont = mp; in i_dld_ether_header_update_tag()
849 mp = hmp; in i_dld_ether_header_update_tag()
2166 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/uts/common/io/mac/
H A Dmac_util.c1435 mblk_t *hmp; in mac_add_vlan_tag() local
1447 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED); in mac_add_vlan_tag()
1448 if (hmp == NULL) { in mac_add_vlan_tag()
1453 evhp = (struct ether_vlan_header *)hmp->b_rptr; in mac_add_vlan_tag()
1460 hmp->b_wptr += sizeof (struct ether_vlan_header); in mac_add_vlan_tag()
1467 mac_hcksum_clone(mp, hmp); in mac_add_vlan_tag()
1469 hmp->b_cont = mp->b_cont; in mac_add_vlan_tag()
1472 hmp->b_cont = mp; in mac_add_vlan_tag()
1474 ASSERT(MBLKL(hmp) >= sizeof (struct ether_vlan_header)); in mac_add_vlan_tag()
1481 return (hmp); in mac_add_vlan_tag()
/illumos-gate/usr/src/uts/common/io/
H A Dmultidata.c1202 mmd_dupbufs(multidata_t *mmd, mblk_t **hmp, mblk_t **pmp) in mmd_dupbufs() argument
1207 if (hmp != NULL) { in mmd_dupbufs()
1208 *hmp = NULL; in mmd_dupbufs()
1210 (*hmp = dupb(mmd->mmd_hbuf)) == NULL) in mmd_dupbufs()
1224 if (hmp != NULL && *hmp != NULL) in mmd_dupbufs()
1225 freeb(*hmp); in mmd_dupbufs()
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dprotocols41 hmp 20 HMP # host monitoring protocol
/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/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;