Lines Matching defs:ndmas

772 	int			i, ndmas;
802 ndmas = rx_rbr_rings->ndmas;
803 if (!ndmas) {
810 "==> hxge_rxdma_mode (ndmas %d)", ndmas));
816 for (i = 0; i < ndmas; i++) {
2256 int i, ndmas;
2291 ndmas = dma_buf_poolp->ndmas;
2292 if (!ndmas) {
2307 sizeof (p_rx_rbr_ring_t) * ndmas, KM_SLEEP);
2312 sizeof (p_rx_rcr_ring_t) * ndmas, KM_SLEEP);
2317 sizeof (p_rx_mbox_t) * ndmas, KM_SLEEP);
2331 for (i = 0; i < ndmas; i++) {
2358 rx_rbr_rings->ndmas = rx_rcr_rings->ndmas = ndmas;
2380 KMEM_FREE(rbr_rings, sizeof (p_rx_rbr_ring_t) * ndmas);
2382 KMEM_FREE(rcr_rings, sizeof (p_rx_rcr_ring_t) * ndmas);
2384 KMEM_FREE(rx_mbox_p, sizeof (p_rx_mbox_t) * ndmas);
2397 int i, ndmas;
2435 ndmas = rx_rbr_rings->ndmas;
2436 if (!ndmas) {
2443 "==> hxge_unmap_rxdma (ndmas %d)", ndmas));
2451 for (i = 0; i < ndmas; i++) {
2454 "==> hxge_unmap_rxdma (ndmas %d) channel %d",
2455 ndmas, channel));
2463 KMEM_FREE(rbr_rings, sizeof (p_rx_rbr_ring_t) * ndmas);
2465 KMEM_FREE(rcr_rings, sizeof (p_rx_rcr_ring_t) * ndmas);
2467 KMEM_FREE(rx_mbox_p, sizeof (p_rx_mbox_t) * ndmas);
3169 int i, ndmas;
3189 ndmas = rx_rbr_rings->ndmas;
3190 if (ndmas == 0) {
3196 "==> hxge_rxdma_hw_start (ndmas %d)", ndmas));
3241 for (i = 0; i < ndmas; i++) {
3244 "==> hxge_rxdma_hw_start (ndmas %d) channel %d",
3245 ndmas, channel));
3278 int i, ndmas;
3295 ndmas = rx_rbr_rings->ndmas;
3296 if (!ndmas) {
3303 "==> hxge_rxdma_hw_stop (ndmas %d)", ndmas));
3306 for (i = 0; i < ndmas; i++) {
3309 "==> hxge_rxdma_hw_stop (ndmas %d) channel %d",
3310 ndmas, channel));
3725 int ndmas;
3757 ndmas = hxgep->rx_buf_pool_p->ndmas;
3760 for (i = 0; i < ndmas; i++) {