Lines Matching refs:len_tmp

958 	u32 len_cur = 0, start_cur = 0, len_tmp = 0;  in ibmphp_check_resource()  local
1022 len_tmp = res_cur->start - 1 - range->start; in ibmphp_check_resource()
1024 if ((res_cur->start != range->start) && (len_tmp >= res->len)) { in ibmphp_check_resource()
1025 debug("len_tmp = %x\n", len_tmp); in ibmphp_check_resource()
1027 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1032 len_cur = len_tmp; in ibmphp_check_resource()
1039 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1042 len_cur = len_tmp; in ibmphp_check_resource()
1064 len_tmp = range->end - (res_cur->end + 1); in ibmphp_check_resource()
1066 if ((range->end != res_cur->end) && (len_tmp >= res->len)) { in ibmphp_check_resource()
1067 debug("len_tmp = %x\n", len_tmp); in ibmphp_check_resource()
1068 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1073 len_cur = len_tmp; in ibmphp_check_resource()
1080 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1083 len_cur = len_tmp; in ibmphp_check_resource()
1105 len_tmp = res_cur->start - 1 - range->start; in ibmphp_check_resource()
1107 if ((res_cur->start != range->start) && (len_tmp >= res->len)) { in ibmphp_check_resource()
1108 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1112 len_cur = len_tmp; in ibmphp_check_resource()
1119 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1122 len_cur = len_tmp; in ibmphp_check_resource()
1142 len_tmp = res_cur->start - 1 - res_prev->end - 1; in ibmphp_check_resource()
1144 if (len_tmp >= res->len) { in ibmphp_check_resource()
1145 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1149 len_cur = len_tmp; in ibmphp_check_resource()
1156 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1159 len_cur = len_tmp; in ibmphp_check_resource()
1203 len_tmp = range->end - range->start; in ibmphp_check_resource()
1205 if (len_tmp >= res->len) { in ibmphp_check_resource()
1206 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1210 len_cur = len_tmp; in ibmphp_check_resource()
1217 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1220 len_cur = len_tmp; in ibmphp_check_resource()
1269 len_tmp = range->end - range->start; in ibmphp_check_resource()
1271 if (len_tmp >= res->len) { in ibmphp_check_resource()
1272 if ((len_tmp < len_cur) || (len_cur == 0)) { in ibmphp_check_resource()
1276 len_cur = len_tmp; in ibmphp_check_resource()
1283 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1286 len_cur = len_tmp; in ibmphp_check_resource()