Lines Matching refs:req_size
270 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, in cvmx_bootmem_phy_alloc() argument
285 (unsigned long long)req_size, in cvmx_bootmem_phy_alloc()
309 if (!req_size) in cvmx_bootmem_phy_alloc()
313 req_size = (req_size + (CVMX_BOOTMEM_ALIGNMENT_SIZE - 1)) & in cvmx_bootmem_phy_alloc()
323 address_max = address_min + req_size; in cvmx_bootmem_phy_alloc()
348 if (req_size > address_max - address_min) in cvmx_bootmem_phy_alloc()
393 && req_size <= usable_max - usable_base)) in cvmx_bootmem_phy_alloc()
402 desired_min_addr = usable_max - req_size; in cvmx_bootmem_phy_alloc()
412 if (req_size < ent_size) { in cvmx_bootmem_phy_alloc()
417 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc()
422 req_size); in cvmx_bootmem_phy_alloc()