Lines Matching refs:lret
747 load_return_t lret; in exec_fat_imgact() local
762 lret = fatfile_validate_fatarches((vm_offset_t)fat_header, PAGE_SIZE, in exec_fat_imgact()
764 if (lret != LOAD_SUCCESS) { in exec_fat_imgact()
765 error = load_return_to_errno(lret); in exec_fat_imgact()
790 lret = fatfile_getbestarch_for_cputype(pref, in exec_fat_imgact()
796 if (lret == LOAD_SUCCESS) { in exec_fat_imgact()
808 lret = fatfile_getbestarch((vm_offset_t)fat_header, in exec_fat_imgact()
813 if (lret != LOAD_SUCCESS) { in exec_fat_imgact()
814 error = load_return_to_errno(lret); in exec_fat_imgact()
1020 load_return_t lret; in exec_mach_imgact() local
1164 lret = load_machfile(imgp, mach_header, thread, &map, &load_result); in exec_mach_imgact()
1165 if (lret != LOAD_SUCCESS) { in exec_mach_imgact()
1166 error = load_return_to_errno(lret); in exec_mach_imgact()
1170 if (lret == LOAD_BADMACHO_UPX) { in exec_mach_imgact()
1424 lret = activate_exec_state(task, p, thread, &load_result); in exec_mach_imgact()
1425 if (lret != KERN_SUCCESS) { in exec_mach_imgact()