Lines Matching refs:len_tmp
980 u32 len_cur = 0, start_cur = 0, len_tmp = 0; in ibmphp_check_resource() local
1044 len_tmp = res_cur->start - 1 - range->start; in ibmphp_check_resource()
1046 if ((res_cur->start != range->start) && (len_tmp >= res->len)) { in ibmphp_check_resource()
1047 debug ("len_tmp = %x\n", len_tmp); in ibmphp_check_resource()
1049 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1054 len_cur = len_tmp; in ibmphp_check_resource()
1061 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1064 len_cur = len_tmp; in ibmphp_check_resource()
1086 len_tmp = range->end - (res_cur->end + 1); in ibmphp_check_resource()
1088 if ((range->end != res_cur->end) && (len_tmp >= res->len)) { in ibmphp_check_resource()
1089 debug ("len_tmp = %x\n", len_tmp); in ibmphp_check_resource()
1090 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1095 len_cur = len_tmp; in ibmphp_check_resource()
1102 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1105 len_cur = len_tmp; in ibmphp_check_resource()
1127 len_tmp = res_cur->start - 1 - range->start; in ibmphp_check_resource()
1129 if ((res_cur->start != range->start) && (len_tmp >= res->len)) { in ibmphp_check_resource()
1130 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1134 len_cur = len_tmp; in ibmphp_check_resource()
1141 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1144 len_cur = len_tmp; in ibmphp_check_resource()
1164 len_tmp = res_cur->start - 1 - res_prev->end - 1; in ibmphp_check_resource()
1166 if (len_tmp >= res->len) { in ibmphp_check_resource()
1167 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1171 len_cur = len_tmp; in ibmphp_check_resource()
1178 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1181 len_cur = len_tmp; in ibmphp_check_resource()
1225 len_tmp = range->end - range->start; in ibmphp_check_resource()
1227 if (len_tmp >= res->len) { in ibmphp_check_resource()
1228 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1232 len_cur = len_tmp; in ibmphp_check_resource()
1239 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1242 len_cur = len_tmp; in ibmphp_check_resource()
1291 len_tmp = range->end - range->start; in ibmphp_check_resource()
1293 if (len_tmp >= res->len) { in ibmphp_check_resource()
1294 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1298 len_cur = len_tmp; in ibmphp_check_resource()
1305 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1308 len_cur = len_tmp; in ibmphp_check_resource()