Lines Matching refs:hmp
262 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()
404 hmp = buf; in pe_start()
416 &hmp[nseg], mseg - nseg); in pe_start()
421 &hmp[nseg], in pe_start()
445 (void *)mp->b_rptr, &hmp[nseg], in pe_start()
468 (void *)mp->b_rptr, &hmp[nseg], in pe_start()
514 &hmp[0], 16); in pe_start()
519 &hmp[0], 16); in pe_start()
532 (void *)mp->b_rptr, &hmp[0], 16); in pe_start()
545 (void *)mp->b_rptr, &hmp[0], 16); in pe_start()
561 hmp->ce_flg |= DH_ARP; in pe_start()
564 if (sge_data_out(sa->sge, 0, m0, hmp, nseg, flg) == 0) { in pe_start()
566 kmem_free(hmp, mseg * sizeof (cmdQ_ce_t)); in pe_start()
582 cmp = hmp; in pe_start()
599 kmem_free(hmp, mseg * sizeof (cmdQ_ce_t)); in pe_start()