Lines Matching refs:res2
333 struct apei_res *res1, *resn1, *res2, *res; in apei_res_sub() local
337 list_for_each_entry(res2, res_list2, list) { in apei_res_sub()
338 if (res1->start >= res2->end || in apei_res_sub()
339 res1->end <= res2->start) in apei_res_sub()
341 else if (res1->end <= res2->end && in apei_res_sub()
342 res1->start >= res2->start) { in apei_res_sub()
346 } else if (res1->end > res2->end && in apei_res_sub()
347 res1->start < res2->start) { in apei_res_sub()
351 res->start = res2->end; in apei_res_sub()
353 res1->end = res2->start; in apei_res_sub()
357 if (res1->start < res2->start) in apei_res_sub()
358 res1->end = res2->start; in apei_res_sub()
360 res1->start = res2->end; in apei_res_sub()