Searched refs:res_arr (Results 1 – 1 of 1) sorted by relevance
1284 struct res_common **res_arr; in add_res_range() local1288 res_arr = kcalloc(count, sizeof(*res_arr), GFP_KERNEL); in add_res_range()1289 if (!res_arr) in add_res_range()1293 res_arr[i] = alloc_tr(base + i, type, slave, extra); in add_res_range()1294 if (!res_arr[i]) { in add_res_range()1296 kfree(res_arr[i]); in add_res_range()1298 kfree(res_arr); in add_res_range()1309 err = res_tracker_insert(root, res_arr[i]); in add_res_range()1312 list_add_tail(&res_arr[i]->list, in add_res_range()1316 kfree(res_arr); in add_res_range()[all …]