Lines Matching refs:old_set
587 struct ibmvnic_ltb_set old_set; in alloc_ltb_set() local
610 old_set = *ltb_set; in alloc_ltb_set()
612 if (old_set.num_ltbs == nltbs) { in alloc_ltb_set()
613 new_set = old_set; in alloc_ltb_set()
624 for (i = new_set.num_ltbs; i < old_set.num_ltbs; i++) in alloc_ltb_set()
625 free_long_term_buff(adapter, &old_set.ltbs[i]); in alloc_ltb_set()
631 n = min(old_set.num_ltbs, new_set.num_ltbs); in alloc_ltb_set()
633 new_set.ltbs[i] = old_set.ltbs[i]; in alloc_ltb_set()
644 kfree(old_set.ltbs); in alloc_ltb_set()
645 old_set.ltbs = NULL; in alloc_ltb_set()
646 old_set.num_ltbs = 0; in alloc_ltb_set()