Searched refs:actual_hole_start (Results 1 – 2 of 2) sorted by relevance
2338 uint64_t actual_hole_start, ostart, olen; in pcicfg_alloc_hole() local2342 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole()2343 if (((actual_hole_start - hole->start) + length) <= hole->len) { in pcicfg_alloc_hole()2349 if ((actual_hole_start - hole->start) == 0) { in pcicfg_alloc_hole()2355 hole->len = actual_hole_start - hole->start; in pcicfg_alloc_hole()2358 nhole->start = actual_hole_start + length; in pcicfg_alloc_hole()2373 actual_hole_start = 0; in pcicfg_alloc_hole()2377 DEBUG1("return hole at %llx\n", actual_hole_start); in pcicfg_alloc_hole()2378 return (actual_hole_start); in pcicfg_alloc_hole()
2507 uint64_t actual_hole_start, ostart, olen; in pcicfg_alloc_hole() local2511 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole()2512 if (((actual_hole_start - hole->start) + length) <= hole->len) { in pcicfg_alloc_hole()2518 if ((actual_hole_start - hole->start) == 0) { in pcicfg_alloc_hole()2524 hole->len = actual_hole_start - hole->start; in pcicfg_alloc_hole()2527 nhole->start = actual_hole_start + length; in pcicfg_alloc_hole()2542 actual_hole_start = 0; in pcicfg_alloc_hole()2546 DEBUG1("return hole at %llx\n", actual_hole_start); in pcicfg_alloc_hole()2547 return (actual_hole_start); in pcicfg_alloc_hole()