Searched refs:res_arr (Results 1 – 1 of 1) sorted by relevance
672 struct res_common **res_arr; in add_res_range() local676 res_arr = kzalloc(count * sizeof *res_arr, GFP_KERNEL); in add_res_range()677 if (!res_arr) in add_res_range()681 res_arr[i] = alloc_tr(base + i, type, slave, extra); in add_res_range()682 if (!res_arr[i]) { in add_res_range()684 kfree(res_arr[i]); in add_res_range()686 kfree(res_arr); in add_res_range()697 err = res_tracker_insert(root, res_arr[i]); in add_res_range()700 list_add_tail(&res_arr[i]->list, in add_res_range()704 kfree(res_arr); in add_res_range()[all …]