Searched refs:total_required_size (Results 1 – 1 of 1) sorted by relevance
8961 u32 total_required_size, u32 min_required_size) in pqi_host_alloc_buffer() argument8966 if (total_required_size == 0 || min_required_size == 0) in pqi_host_alloc_buffer()8969 total_required_size = PAGE_ALIGN(total_required_size); in pqi_host_alloc_buffer()8971 min_chunk_size = DIV_ROUND_UP(total_required_size, PQI_HOST_MAX_SG_DESCRIPTORS); in pqi_host_alloc_buffer()8974 while (total_required_size >= min_required_size) { in pqi_host_alloc_buffer()8975 for (chunk_size = total_required_size; chunk_size >= min_chunk_size;) { in pqi_host_alloc_buffer()8977 host_memory_descriptor, total_required_size, in pqi_host_alloc_buffer()8983 total_required_size /= 2; in pqi_host_alloc_buffer()8984 total_required_size = PAGE_ALIGN(total_required_size); in pqi_host_alloc_buffer()