Lines Matching refs:ent_addr

223 	uint64_t ent_addr;  in cvmx_bootmem_phy_alloc()  local
303 ent_addr = head_addr; in cvmx_bootmem_phy_alloc()
304 for (; ent_addr; in cvmx_bootmem_phy_alloc()
305 prev_addr = ent_addr, in cvmx_bootmem_phy_alloc()
306 ent_addr = cvmx_bootmem_phy_get_next(ent_addr)) { in cvmx_bootmem_phy_alloc()
308 uint64_t ent_size = cvmx_bootmem_phy_get_size(ent_addr); in cvmx_bootmem_phy_alloc()
310 if (cvmx_bootmem_phy_get_next(ent_addr) in cvmx_bootmem_phy_alloc()
311 && ent_addr > cvmx_bootmem_phy_get_next(ent_addr)) { in cvmx_bootmem_phy_alloc()
314 (unsigned long long)ent_addr, in cvmx_bootmem_phy_alloc()
316 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
326 ALIGN(max(address_min, ent_addr), alignment); in cvmx_bootmem_phy_alloc()
327 usable_max = min(address_max, ent_addr + ent_size); in cvmx_bootmem_phy_alloc()
338 if (!((ent_addr + ent_size) > usable_base in cvmx_bootmem_phy_alloc()
339 && ent_addr < address_max in cvmx_bootmem_phy_alloc()
358 if (desired_min_addr == ent_addr) { in cvmx_bootmem_phy_alloc()
364 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc()
366 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
375 cvmx_bootmem_phy_set_next(ent_addr, in cvmx_bootmem_phy_alloc()
385 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
392 cvmx_bootmem_phy_get_next(ent_addr); in cvmx_bootmem_phy_alloc()
412 (ent_addr)); in cvmx_bootmem_phy_alloc()
415 (ent_addr) - in cvmx_bootmem_phy_alloc()
417 ent_addr)); in cvmx_bootmem_phy_alloc()
418 cvmx_bootmem_phy_set_size(ent_addr, in cvmx_bootmem_phy_alloc()
419 desired_min_addr - ent_addr); in cvmx_bootmem_phy_alloc()
420 cvmx_bootmem_phy_set_next(ent_addr, new_ent_addr); in cvmx_bootmem_phy_alloc()