Searched refs:selected_size (Results 1 – 2 of 2) sorted by relevance
169 phys_addr_t selected_size = 0; in dma_contiguous_reserve() local177 selected_size = size_cmdline; in dma_contiguous_reserve()184 selected_size = size_bytes; in dma_contiguous_reserve()186 selected_size = cma_early_percent_memory(); in dma_contiguous_reserve()188 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()190 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()194 if (selected_size && !dma_contiguous_default_area) { in dma_contiguous_reserve()196 (unsigned long)selected_size / SZ_1M); in dma_contiguous_reserve()198 dma_contiguous_reserve_area(selected_size, selected_base, in dma_contiguous_reserve()
98 phys_addr_t selected_size; in kvm_cma_reserve() local106 selected_size = PAGE_ALIGN(memblock_phys_mem_size() * kvm_cma_resv_ratio / 100); in kvm_cma_reserve()107 if (selected_size) { in kvm_cma_reserve()109 (unsigned long)selected_size / SZ_1M); in kvm_cma_reserve()111 cma_declare_contiguous(0, selected_size, 0, align_size, in kvm_cma_reserve()