Lines Matching refs:candidate
50 vm_offset_t candidate; in test_addr() local
55 candidate = addr + length - (LINUX_CL_OFFSET + max_cmdline_size); in test_addr()
56 if (candidate > LINUX_OLD_REAL_MODE_ADDR) in test_addr()
57 candidate = LINUX_OLD_REAL_MODE_ADDR; in test_addr()
58 if (candidate < addr) in test_addr()
61 if (candidate > *result || *result == (vm_offset_t)-1) in test_addr()
62 *result = candidate; in test_addr()
71 vm_offset_t candidate = -1; in find_real_addr() local
76 return (candidate); in find_real_addr()
85 test_addr(smap[i].base, smap[i].length, &candidate); in find_real_addr()
87 return (candidate); in find_real_addr()