Lines Matching defs:hmp
262 cmdQ_ce_t *hmp = &cm[0]; /* head of cm table (may be kmem_alloed) */
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[] array before
396 buf[j] = hmp[j];
399 kmem_free(hmp,
404 hmp = buf;
416 &hmp[nseg], mseg - nseg);
421 &hmp[nseg],
445 (void *)mp->b_rptr, &hmp[nseg],
468 (void *)mp->b_rptr, &hmp[nseg],
514 &hmp[0], 16);
519 &hmp[0], 16);
532 (void *)mp->b_rptr, &hmp[0], 16);
545 (void *)mp->b_rptr, &hmp[0], 16);
561 hmp->ce_flg |= DH_ARP;
564 if (sge_data_out(sa->sge, 0, m0, hmp, nseg, flg) == 0) {
566 kmem_free(hmp, mseg * sizeof (cmdQ_ce_t));
582 cmp = hmp;
599 kmem_free(hmp, mseg * sizeof (cmdQ_ce_t));