Searched refs:selected_size (Results 1 – 2 of 2) sorted by relevance
220 phys_addr_t selected_size = 0; in dma_contiguous_reserve() local230 selected_size = size_cmdline; in dma_contiguous_reserve()237 selected_size = size_bytes; in dma_contiguous_reserve()239 selected_size = cma_early_percent_memory(); in dma_contiguous_reserve()241 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()243 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()247 if (selected_size && !dma_contiguous_default_area) { in dma_contiguous_reserve()249 (unsigned long)selected_size / SZ_1M); in dma_contiguous_reserve()251 dma_contiguous_reserve_area(selected_size, selected_base, in dma_contiguous_reserve()
84 phys_addr_t selected_size; in kvm_cma_reserve() local92 selected_size = PAGE_ALIGN(memblock_phys_mem_size() * kvm_cma_resv_ratio / 100); in kvm_cma_reserve()93 if (selected_size) { in kvm_cma_reserve()95 (unsigned long)selected_size / SZ_1M); in kvm_cma_reserve()97 cma_declare_contiguous(0, selected_size, 0, align_size, in kvm_cma_reserve()