Lines Matching refs:req_size
217 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, in cvmx_bootmem_phy_alloc() argument
232 (unsigned long long)req_size, in cvmx_bootmem_phy_alloc()
256 if (!req_size) in cvmx_bootmem_phy_alloc()
260 req_size = (req_size + (CVMX_BOOTMEM_ALIGNMENT_SIZE - 1)) & in cvmx_bootmem_phy_alloc()
270 address_max = address_min + req_size; in cvmx_bootmem_phy_alloc()
295 if (req_size > address_max - address_min) in cvmx_bootmem_phy_alloc()
340 && req_size <= usable_max - usable_base)) in cvmx_bootmem_phy_alloc()
349 desired_min_addr = usable_max - req_size; in cvmx_bootmem_phy_alloc()
359 if (req_size < ent_size) { in cvmx_bootmem_phy_alloc()
364 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc()
369 req_size); in cvmx_bootmem_phy_alloc()