Lines Matching defs:cur_addr
400 uint64_t cur_addr;
423 cur_addr = cvmx_bootmem_desc->head_addr;
424 if (cur_addr == 0 || phy_addr < cur_addr) {
426 if (cur_addr && phy_addr + size > cur_addr)
428 else if (phy_addr + size == cur_addr) {
432 (cur_addr));
435 (cur_addr) + size);
439 /* New block before first block. OK if cur_addr is 0 */
440 cvmx_bootmem_phy_set_next(phy_addr, cur_addr);
449 while (cur_addr && phy_addr > cur_addr) {
450 prev_addr = cur_addr;
451 cur_addr = cvmx_bootmem_phy_get_next(cur_addr);
454 if (!cur_addr) {
483 if (phy_addr + size == cur_addr) {
486 cvmx_bootmem_phy_get_size(cur_addr) +
489 cvmx_bootmem_phy_get_next(cur_addr));
493 } else if (phy_addr + size == cur_addr) {
497 (cur_addr) + size);
500 (cur_addr));
508 cvmx_bootmem_phy_set_next(phy_addr, cur_addr);