Searched refs:res_arr (Results 1 – 1 of 1) sorted by relevance
520 struct res_common **res_arr; in add_res_range() local524 res_arr = kzalloc(count * sizeof *res_arr, GFP_KERNEL); in add_res_range()525 if (!res_arr) in add_res_range()529 res_arr[i] = alloc_tr(base + i, type, slave, extra); in add_res_range()530 if (!res_arr[i]) { in add_res_range()532 kfree(res_arr[i]); in add_res_range()534 kfree(res_arr); in add_res_range()545 err = radix_tree_insert(root, base + i, res_arr[i]); in add_res_range()548 list_add_tail(&res_arr[i]->list, in add_res_range()552 kfree(res_arr); in add_res_range()[all …]