Lines Matching defs:candidate
1374 grub_uint64_t candidate;
1377 candidate = ALIGN_UP (addr, align);
1378 if (candidate < min_addr)
1379 candidate = ALIGN_UP (min_addr, align);
1380 if (candidate + size > addr + sz
1381 || candidate > ALIGN_DOWN (max_addr, align))
1384 candidate = ALIGN_DOWN (min (addr + sz - size, max_addr), align);
1386 && candidate > chunk->target))
1387 chunk->target = candidate;
1389 && candidate < chunk->target))
1390 chunk->target = candidate;