Searched refs:hmp (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthostmap.c3 void printhostmap(hmp, hv)
4 hostmap_t *hmp;
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.c409 kmutex_t *hmp; local
457 hmp = &hbuf[index].b_lock;
459 mutex_enter(hmp);
495 mutex_exit(hmp);
528 kmutex_t *hmp; local
533 hmp = &hbuf[i].b_lock;
535 mutex_enter(hmp);
540 mutex_exit(hmp);
578 kmutex_t *hmp; local
589 hmp
788 kmutex_t *hmp; local
868 kmutex_t *hmp; local
963 kmutex_t *hmp; local
1023 kmutex_t *hmp; local
1419 kmutex_t *hmp; local
1480 kmutex_t *hmp; local
1721 kmutex_t *hmp; local
1897 kmutex_t *hmp; local
[all...]
H A Dlogsubr.c319 mblk_t *hmp = NULL; local
336 if (hmp) {
340 hmp = tmp = mp;
344 while (hmp) {
345 tmp = hmp->b_next;
346 hmp->b_next = NULL;
347 hlc = (log_ctl_t *)hmp->b_rptr;
356 (void) putq(dst->log_q, hmp);
357 hmp = tmp;
361 while (hmp) {
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dfsflush.c361 kmutex_t *hmp; local
413 hmp = &hbuf[ix].b_lock;
414 mutex_enter(hmp);
430 mutex_exit(hmp);
437 mutex_enter(hmp);
443 mutex_exit(hmp);
H A Dvfs.c3683 kmutex_t *hmp = &rvfs_list[vhno].rvfs_lock; local
3685 mutex_enter(hmp);
3690 mutex_exit(hmp);
3694 mutex_exit(hmp);
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dpe.c262 cmdQ_ce_t *hmp = &cm[0]; /* head of cm table (may be kmem_alloed) */ local
265 int mseg = 16; /* maximum entries in hmp arrary */
277 hmp->ce_pa = ((tbuf_t *)mp)->tb_pa;
278 hmp->ce_dh = NULL;
279 hmp->ce_flg = DH_TOE;
280 hmp->ce_len = ((tbuf_t *)mp)->tb_len;
281 hmp->ce_mp = mp;
285 (off_t)0, hmp->ce_len, DDI_DMA_SYNC_FORDEV);
287 if (sge_data_out(sa->sge, 0, mp, hmp, 1, flg) == 0) {
385 * descriptors, we reallocate the hmp[] arra
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c174 mblk_t *hmp; local
204 hmp = allocb(sctps->sctps_wroff_xtra + ahlen, BPRI_MED);
205 if (hmp == NULL) {
211 p = hmp->b_rptr + sctps->sctps_wroff_xtra;
212 hmp->b_rptr = p;
213 hmp->b_wptr = p + ahlen;
256 if ((alen = sctp_link_abort(hmp, serror, details, len, iserror, tbit))
258 freemsg(hmp);
268 freemsg(hmp);
298 if (!ipsec_in_to_out(ira, ixa, hmp, ahip
[all...]
H A Dsctp_input.c669 mblk_t *hmp; local
684 hmp = sctp->sctp_uo_frags;
689 while (hmp != NULL) {
690 qdc = (sctp_data_hdr_t *)hmp->b_rptr;
693 if (hmp->b_prev == NULL) {
694 dmp->b_next = hmp;
695 hmp->b_prev = dmp;
698 dmp->b_next = hmp;
699 dmp->b_prev = hmp->b_prev;
700 hmp
806 sctp_try_partial_delivery(sctp_t *sctp, mblk_t *hmp, sctp_reass_t *srp, sctp_data_hdr_t **dc) argument
2183 mblk_t *hmp; local
2216 mblk_t *hmp; local
[all...]
H A Dsctp_asconf.c375 mblk_t *hmp; local
417 hmp = sctp_make_mp(sctp, fp, sizeof (*ach) + sizeof (*idp));
418 if (hmp == NULL) {
423 ach = (sctp_chunk_hdr_t *)hmp->b_wptr;
429 hmp->b_wptr = (uchar_t *)(hidp + 1);
434 freeb(hmp);
482 freeb(hmp);
493 freeb(hmp);
531 freemsg(hmp);
539 linkb(hmp, m
[all...]
/illumos-gate/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
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c130 mblk_t *hmp = NULL, *next_hmp = NULL; local
272 for (hmp = lpath->first_lpri_hi; hmp; ) {
273 next_hmp = hmp->b_next;
274 freemsg(hmp);
275 hmp = next_hmp;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c320 mblk_t *hmp; local
333 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED);
334 if (hmp == NULL) {
339 evhp = (struct ether_vlan_header *)hmp->b_rptr;
346 hmp->b_wptr += sizeof (struct ether_vlan_header);
354 (void) hcksum_assoc(hmp, NULL, NULL, start, stuff, end, value, flags,
357 hmp->b_cont = mp->b_cont;
360 hmp->b_cont = mp;
362 ASSERT(MBLKL(hmp) >= sizeof (struct ether_vlan_header));
369 return (hmp);
[all...]
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c775 mblk_t *hmp; local
796 hmp = msgpullup(mp, -1);
797 if ((hmp == NULL) || (MBLKL(hmp) < len)) {
798 freemsg(hmp);
802 mp = hmp;
819 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED);
820 if (hmp == NULL)
823 evhp = (struct ether_vlan_header *)hmp->b_rptr;
833 hmp
2163 mblk_t *hmp; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6.c4110 mblk_t *hmp; local
4196 hmp = allocb_tmpl(unfragmentable_len + ipst->ips_ip_wroff_extra, mp);
4197 if (hmp == NULL) {
4199 ip_drop_output("FragFails: no hmp", mp, ill);
4203 hmp->b_rptr += ipst->ips_ip_wroff_extra;
4204 hmp->b_wptr = hmp->b_rptr + unfragmentable_len;
4206 fip6h = (ip6_t *)hmp->b_rptr;
4233 hmp0 = copyb(hmp);
4239 freeb(hmp);
4321 mblk_t *hmp; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dmultidata.c1201 mmd_dupbufs(multidata_t *mmd, mblk_t **hmp, mblk_t **pmp) argument
1206 if (hmp != NULL) {
1207 *hmp = NULL;
1209 (*hmp = dupb(mmd->mmd_hbuf)) == NULL)
1223 if (hmp != NULL && *hmp != NULL)
1224 freeb(*hmp);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_ldc.c3782 mblk_t *hmp = NULL; /* high prio pkts head */ local
3807 if (hmp != NULL) {
3811 hmp = hmpt = smp;
3829 *hp = hmp;
3846 mblk_t *hmp; /* high prio pkts head */ local
3860 n = vsw_get_pri_packets(vswp, &nmp, &nmpt, &hmp, &hmpt);
3863 tmp = hmp;
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat.c467 /* Parameters: hmp(I) - pointer to pointer to hostmap structure */
473 void fr_hostmapdel(hmp)
474 struct hostmap **hmp;
478 hm = *hmp;
479 *hmp = NULL;

Completed in 135 milliseconds