Home
last modified time | relevance | path

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

/titanic_41/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);
/titanic_41/usr/src/uts/common/os/
H A Dbio.c408 kmutex_t *hmp; in brelse() local
456 hmp = &hbuf[index].b_lock; in brelse()
458 mutex_enter(hmp); in brelse()
494 mutex_exit(hmp); in brelse()
527 kmutex_t *hmp; in bio_busy() local
532 hmp = &hbuf[i].b_lock; in bio_busy()
534 mutex_enter(hmp); in bio_busy()
539 mutex_exit(hmp); in bio_busy()
577 kmutex_t *hmp; in getblk_common() local
588 hmp = &hp->b_lock; in getblk_common()
[all …]
H A Dlogsubr.c319 mblk_t *hmp = NULL; in log_conswitch() local
336 if (hmp) { in log_conswitch()
340 hmp = tmp = mp; in log_conswitch()
344 while (hmp) { in log_conswitch()
345 tmp = hmp->b_next; in log_conswitch()
346 hmp->b_next = NULL; in log_conswitch()
347 hlc = (log_ctl_t *)hmp->b_rptr; in log_conswitch()
356 (void) putq(dst->log_q, hmp); in log_conswitch()
357 hmp = tmp; in log_conswitch()
361 while (hmp) { in log_conswitch()
[all …]
/titanic_41/usr/src/uts/common/io/chxge/
H A Dpe.c262 cmdQ_ce_t *hmp = &cm[0]; /* head of cm table (may be kmem_alloed) */ in pe_start() local
277 hmp->ce_pa = ((tbuf_t *)mp)->tb_pa; in pe_start()
278 hmp->ce_dh = NULL; in pe_start()
279 hmp->ce_flg = DH_TOE; in pe_start()
280 hmp->ce_len = ((tbuf_t *)mp)->tb_len; in pe_start()
281 hmp->ce_mp = mp; in pe_start()
285 (off_t)0, hmp->ce_len, DDI_DMA_SYNC_FORDEV); in pe_start()
287 if (sge_data_out(sa->sge, 0, mp, hmp, 1, flg) == 0) { in pe_start()
396 buf[j] = hmp[j]; in pe_start()
399 kmem_free(hmp, in pe_start()
[all …]
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c669 mblk_t *hmp; in sctp_uodata_frag() local
684 hmp = sctp->sctp_uo_frags; in sctp_uodata_frag()
689 while (hmp != NULL) { in sctp_uodata_frag()
690 qdc = (sctp_data_hdr_t *)hmp->b_rptr; in sctp_uodata_frag()
693 if (hmp->b_prev == NULL) { in sctp_uodata_frag()
694 dmp->b_next = hmp; in sctp_uodata_frag()
695 hmp->b_prev = dmp; in sctp_uodata_frag()
698 dmp->b_next = hmp; in sctp_uodata_frag()
699 dmp->b_prev = hmp->b_prev; in sctp_uodata_frag()
700 hmp->b_prev->b_next = dmp; in sctp_uodata_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
417 hmp = sctp_make_mp(sctp, fp, sizeof (*ach) + sizeof (*idp)); in sctp_input_asconf()
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()
[all …]
/titanic_41/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.c3756 kmutex_t *hmp = &rvfs_list[vhno].rvfs_lock; in getvfs() local
3758 mutex_enter(hmp); in getvfs()
3763 mutex_exit(hmp); in getvfs()
3767 mutex_exit(hmp); in getvfs()
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipnat.c371 hostmap_t hm, *hmp, **maptable; local
389 hmp = maptable[hv];
391 while (hmp) {
392 if (kmemcpy((char *)&hm, (u_long)hmp, sizeof(hm))) {
398 hmp = hm.hm_next;
492 hostmap_t hm, *hmp; local
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_util.c320 mblk_t *hmp; in mac_add_vlan_tag() local
333 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED); in mac_add_vlan_tag()
334 if (hmp == NULL) { in mac_add_vlan_tag()
339 evhp = (struct ether_vlan_header *)hmp->b_rptr; in mac_add_vlan_tag()
346 hmp->b_wptr += sizeof (struct ether_vlan_header); in mac_add_vlan_tag()
354 (void) hcksum_assoc(hmp, NULL, NULL, start, stuff, end, value, flags, in mac_add_vlan_tag()
357 hmp->b_cont = mp->b_cont; in mac_add_vlan_tag()
360 hmp->b_cont = mp; in mac_add_vlan_tag()
362 ASSERT(MBLKL(hmp) >= sizeof (struct ether_vlan_header)); in mac_add_vlan_tag()
369 return (hmp); in mac_add_vlan_tag()
/titanic_41/usr/src/uts/common/io/dld/
H A Ddld_str.c775 mblk_t *hmp; in i_dld_ether_header_update_tag() local
796 hmp = msgpullup(mp, -1); in i_dld_ether_header_update_tag()
797 if ((hmp == NULL) || (MBLKL(hmp) < len)) { in i_dld_ether_header_update_tag()
798 freemsg(hmp); in i_dld_ether_header_update_tag()
802 mp = hmp; in i_dld_ether_header_update_tag()
819 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED); in i_dld_ether_header_update_tag()
820 if (hmp == NULL) in i_dld_ether_header_update_tag()
823 evhp = (struct ether_vlan_header *)hmp->b_rptr; in i_dld_ether_header_update_tag()
833 hmp->b_wptr += sizeof (struct ether_vlan_header); in i_dld_ether_header_update_tag()
841 hmp->b_cont = mp->b_cont; in i_dld_ether_header_update_tag()
[all …]
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip6.c4110 mblk_t *hmp; in ip_fragment_v6() local
4196 hmp = allocb_tmpl(unfragmentable_len + ipst->ips_ip_wroff_extra, mp); in ip_fragment_v6()
4197 if (hmp == NULL) { in ip_fragment_v6()
4203 hmp->b_rptr += ipst->ips_ip_wroff_extra; in ip_fragment_v6()
4204 hmp->b_wptr = hmp->b_rptr + unfragmentable_len; in ip_fragment_v6()
4206 fip6h = (ip6_t *)hmp->b_rptr; in ip_fragment_v6()
4233 hmp0 = copyb(hmp); in ip_fragment_v6()
4239 freeb(hmp); in ip_fragment_v6()
4247 hmp0 = hmp; in ip_fragment_v6()
4248 hmp = NULL; in ip_fragment_v6()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dmultidata.c1201 mmd_dupbufs(multidata_t *mmd, mblk_t **hmp, mblk_t **pmp) in mmd_dupbufs() argument
1206 if (hmp != NULL) { in mmd_dupbufs()
1207 *hmp = NULL; in mmd_dupbufs()
1209 (*hmp = dupb(mmd->mmd_hbuf)) == NULL) in mmd_dupbufs()
1223 if (hmp != NULL && *hmp != NULL) in mmd_dupbufs()
1224 freeb(*hmp); in mmd_dupbufs()
/titanic_41/usr/src/cmd/cmd-inet/etc/
H A Dprotocols41 hmp 20 HMP # host monitoring protocol
/titanic_41/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()
/titanic_41/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;