Lines Matching refs:ent_addr

191 	uint64_t ent_addr;  in cvmx_bootmem_phy_alloc()  local
271 ent_addr = head_addr; in cvmx_bootmem_phy_alloc()
272 for (; ent_addr; in cvmx_bootmem_phy_alloc()
273 prev_addr = ent_addr, in cvmx_bootmem_phy_alloc()
274 ent_addr = cvmx_bootmem_phy_get_next(ent_addr)) { in cvmx_bootmem_phy_alloc()
276 uint64_t ent_size = cvmx_bootmem_phy_get_size(ent_addr); in cvmx_bootmem_phy_alloc()
278 if (cvmx_bootmem_phy_get_next(ent_addr) in cvmx_bootmem_phy_alloc()
279 && ent_addr > cvmx_bootmem_phy_get_next(ent_addr)) { in cvmx_bootmem_phy_alloc()
282 (unsigned long long)ent_addr, in cvmx_bootmem_phy_alloc()
284 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
294 ALIGN(max(address_min, ent_addr), alignment); in cvmx_bootmem_phy_alloc()
295 usable_max = min(address_max, ent_addr + ent_size); in cvmx_bootmem_phy_alloc()
306 if (!((ent_addr + ent_size) > usable_base in cvmx_bootmem_phy_alloc()
307 && ent_addr < address_max in cvmx_bootmem_phy_alloc()
326 if (desired_min_addr == ent_addr) { in cvmx_bootmem_phy_alloc()
332 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc()
334 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
343 cvmx_bootmem_phy_set_next(ent_addr, in cvmx_bootmem_phy_alloc()
353 cvmx_bootmem_phy_get_next(ent_addr)); in cvmx_bootmem_phy_alloc()
360 cvmx_bootmem_phy_get_next(ent_addr); in cvmx_bootmem_phy_alloc()
380 (ent_addr)); in cvmx_bootmem_phy_alloc()
383 (ent_addr) - in cvmx_bootmem_phy_alloc()
385 ent_addr)); in cvmx_bootmem_phy_alloc()
386 cvmx_bootmem_phy_set_size(ent_addr, in cvmx_bootmem_phy_alloc()
387 desired_min_addr - ent_addr); in cvmx_bootmem_phy_alloc()
388 cvmx_bootmem_phy_set_next(ent_addr, new_ent_addr); in cvmx_bootmem_phy_alloc()