Lines Matching refs:prev_addr
225 uint64_t prev_addr = 0; in cvmx_bootmem_phy_alloc() local
305 prev_addr = ent_addr, in cvmx_bootmem_phy_alloc()
383 if (prev_addr) in cvmx_bootmem_phy_alloc()
384 cvmx_bootmem_phy_set_next(prev_addr, in cvmx_bootmem_phy_alloc()
433 uint64_t prev_addr = 0; /* zero is invalid */ in __cvmx_bootmem_phy_free() local
482 prev_addr = cur_addr; in __cvmx_bootmem_phy_free()
492 if (prev_addr + cvmx_bootmem_phy_get_size(prev_addr) == in __cvmx_bootmem_phy_free()
494 cvmx_bootmem_phy_set_size(prev_addr, in __cvmx_bootmem_phy_free()
496 (prev_addr) + size); in __cvmx_bootmem_phy_free()
498 cvmx_bootmem_phy_set_next(prev_addr, phy_addr); in __cvmx_bootmem_phy_free()
509 if (prev_addr + cvmx_bootmem_phy_get_size(prev_addr) == in __cvmx_bootmem_phy_free()
512 cvmx_bootmem_phy_set_size(prev_addr, in __cvmx_bootmem_phy_free()
514 (prev_addr) + size); in __cvmx_bootmem_phy_free()
517 cvmx_bootmem_phy_set_size(prev_addr, in __cvmx_bootmem_phy_free()
519 cvmx_bootmem_phy_get_size(prev_addr)); in __cvmx_bootmem_phy_free()
520 cvmx_bootmem_phy_set_next(prev_addr, in __cvmx_bootmem_phy_free()
533 cvmx_bootmem_phy_set_next(prev_addr, phy_addr); in __cvmx_bootmem_phy_free()
541 cvmx_bootmem_phy_set_next(prev_addr, phy_addr); in __cvmx_bootmem_phy_free()