Lines Matching refs:new_set
586 struct ibmvnic_ltb_set new_set; in alloc_ltb_set() local
611 new_set = old_set; in alloc_ltb_set()
615 new_set.ltbs = kzalloc(tmp, GFP_KERNEL); in alloc_ltb_set()
616 if (!new_set.ltbs) in alloc_ltb_set()
619 new_set.num_ltbs = nltbs; in alloc_ltb_set()
622 for (i = new_set.num_ltbs; i < old_set.num_ltbs; i++) in alloc_ltb_set()
629 n = min(old_set.num_ltbs, new_set.num_ltbs); in alloc_ltb_set()
631 new_set.ltbs[i] = old_set.ltbs[i]; in alloc_ltb_set()
649 *ltb_set = new_set; in alloc_ltb_set()
660 rc = alloc_long_term_buff(adapter, &new_set.ltbs[i], ltb_size); in alloc_ltb_set()
666 WARN_ON(i != new_set.num_ltbs); in alloc_ltb_set()