Home
last modified time | relevance | path

Searched refs:actual_hole_start (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c2375 uint64_t actual_hole_start, ostart, olen; in pcicfg_alloc_hole() local
2379 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole()
2380 if (((actual_hole_start - hole->start) + length) <= hole->len) { in pcicfg_alloc_hole()
2386 if ((actual_hole_start - hole->start) == 0) { in pcicfg_alloc_hole()
2392 hole->len = actual_hole_start - hole->start; in pcicfg_alloc_hole()
2395 nhole->start = actual_hole_start + length; in pcicfg_alloc_hole()
2410 actual_hole_start = 0; in pcicfg_alloc_hole()
2414 DEBUG1("return hole at %llx\n", actual_hole_start); in pcicfg_alloc_hole()
2415 return (actual_hole_start); in pcicfg_alloc_hole()
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c2504 uint64_t actual_hole_start, ostart, olen; in pcicfg_alloc_hole() local
2508 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole()
2509 if (((actual_hole_start - hole->start) + length) <= hole->len) { in pcicfg_alloc_hole()
2515 if ((actual_hole_start - hole->start) == 0) { in pcicfg_alloc_hole()
2521 hole->len = actual_hole_start - hole->start; in pcicfg_alloc_hole()
2524 nhole->start = actual_hole_start + length; in pcicfg_alloc_hole()
2539 actual_hole_start = 0; in pcicfg_alloc_hole()
2543 DEBUG1("return hole at %llx\n", actual_hole_start); in pcicfg_alloc_hole()
2544 return (actual_hole_start); in pcicfg_alloc_hole()