Lines Matching refs:res2
336 struct apei_res *res1, *resn1, *res2, *res; in apei_res_sub() local
340 list_for_each_entry(res2, res_list2, list) { in apei_res_sub()
341 if (res1->start >= res2->end || in apei_res_sub()
342 res1->end <= res2->start) in apei_res_sub()
344 else if (res1->end <= res2->end && in apei_res_sub()
345 res1->start >= res2->start) { in apei_res_sub()
349 } else if (res1->end > res2->end && in apei_res_sub()
350 res1->start < res2->start) { in apei_res_sub()
354 res->start = res2->end; in apei_res_sub()
356 res1->end = res2->start; in apei_res_sub()
360 if (res1->start < res2->start) in apei_res_sub()
361 res1->end = res2->start; in apei_res_sub()
363 res1->start = res2->end; in apei_res_sub()