Lines Matching refs:new_pool
2823 struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; in mvpp2_bm_pool_use() local
2826 if (new_pool->type != MVPP2_BM_FREE && new_pool->type != type) { in mvpp2_bm_pool_use()
2831 if (new_pool->type == MVPP2_BM_FREE) in mvpp2_bm_pool_use()
2832 new_pool->type = type; in mvpp2_bm_pool_use()
2837 if (((type == MVPP2_BM_SWF_LONG) && (pkt_size > new_pool->pkt_size)) || in mvpp2_bm_pool_use()
2838 (new_pool->pkt_size == 0)) { in mvpp2_bm_pool_use()
2844 pkts_num = new_pool->buf_num; in mvpp2_bm_pool_use()
2851 port->priv, new_pool); in mvpp2_bm_pool_use()
2853 new_pool->pkt_size = pkt_size; in mvpp2_bm_pool_use()
2856 num = mvpp2_bm_bufs_add(port, new_pool, pkts_num); in mvpp2_bm_pool_use()
2859 new_pool->id, num, pkts_num); in mvpp2_bm_pool_use()
2864 return new_pool; in mvpp2_bm_pool_use()