Lines Matching refs:ent_addr

276 	uint64_t ent_addr;  in cvmx_bootmem_phy_alloc()  local
356 ent_addr = head_addr; in cvmx_bootmem_phy_alloc()
357 for (; ent_addr; in cvmx_bootmem_phy_alloc()
358 prev_addr = ent_addr, in cvmx_bootmem_phy_alloc()
359 ent_addr = cvmx_bootmem_phy_get_next(ent_addr)) { in cvmx_bootmem_phy_alloc()
361 uint64_t ent_size = cvmx_bootmem_phy_get_size(ent_addr); in cvmx_bootmem_phy_alloc()
363 if (cvmx_bootmem_phy_get_next(ent_addr) in cvmx_bootmem_phy_alloc()
364 && ent_addr > cvmx_bootmem_phy_get_next(ent_addr)) { in cvmx_bootmem_phy_alloc()
367 (unsigned long long)ent_addr, in cvmx_bootmem_phy_alloc()
369 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
379 ALIGN(max(address_min, ent_addr), alignment); in cvmx_bootmem_phy_alloc()
380 usable_max = min(address_max, ent_addr + ent_size); in cvmx_bootmem_phy_alloc()
391 if (!((ent_addr + ent_size) > usable_base in cvmx_bootmem_phy_alloc()
392 && ent_addr < address_max in cvmx_bootmem_phy_alloc()
411 if (desired_min_addr == ent_addr) { in cvmx_bootmem_phy_alloc()
417 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc()
419 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
428 cvmx_bootmem_phy_set_next(ent_addr, in cvmx_bootmem_phy_alloc()
438 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
445 cvmx_bootmem_phy_get_next(ent_addr); in cvmx_bootmem_phy_alloc()
465 (ent_addr)); in cvmx_bootmem_phy_alloc()
468 (ent_addr) - in cvmx_bootmem_phy_alloc()
470 ent_addr)); in cvmx_bootmem_phy_alloc()
471 cvmx_bootmem_phy_set_size(ent_addr, in cvmx_bootmem_phy_alloc()
472 desired_min_addr - ent_addr); in cvmx_bootmem_phy_alloc()
473 cvmx_bootmem_phy_set_next(ent_addr, new_ent_addr); in cvmx_bootmem_phy_alloc()