Lines Matching refs:ltb_set
554 struct ibmvnic_ltb_set *ltb_set) in free_ltb_set() argument
558 for (i = 0; i < ltb_set->num_ltbs; i++) in free_ltb_set()
559 free_long_term_buff(adapter, <b_set->ltbs[i]); in free_ltb_set()
561 kfree(ltb_set->ltbs); in free_ltb_set()
562 ltb_set->ltbs = NULL; in free_ltb_set()
563 ltb_set->num_ltbs = 0; in free_ltb_set()
584 struct ibmvnic_ltb_set *ltb_set, int num_buffs, in alloc_ltb_set() argument
611 old_set = *ltb_set; in alloc_ltb_set()
652 *ltb_set = new_set; in alloc_ltb_set()
702 for (i = 0; i < rxpool->ltb_set.num_ltbs; i++) { in map_rxpool_buf_to_ltb()
703 ltb = &rxpool->ltb_set.ltbs[i]; in map_rxpool_buf_to_ltb()
735 for (i = 0; i < txpool->ltb_set.num_ltbs; i++) { in map_txpool_buf_to_ltb()
736 ltb = &txpool->ltb_set.ltbs[i]; in map_txpool_buf_to_ltb()
982 free_ltb_set(adapter, &rx_pool->ltb_set); in release_rx_pools()
1127 rc = alloc_ltb_set(adapter, &rx_pool->ltb_set, in init_rx_pools()
1185 free_ltb_set(adapter, &tx_pool->ltb_set); in release_one_tx_pool()
1381 rc = alloc_ltb_set(adapter, &tx_pool->ltb_set, in init_tx_pools()
1397 rc = alloc_ltb_set(adapter, &tso_pool->ltb_set, in init_tx_pools()