Searched refs:num_pgs (Results 1 – 1 of 1) sorted by relevance
59 u64 paddr = 0, total_size, num_pgs, i; in alloc_device_memory() local67 num_pgs = (args->alloc.mem_size + (page_size - 1)) >> page_shift; in alloc_device_memory()68 total_size = num_pgs << page_shift; in alloc_device_memory()77 num_pgs); in alloc_device_memory()90 phys_pg_pack->npages = num_pgs; in alloc_device_memory()96 phys_pg_pack->pages = kvmalloc_array(num_pgs, sizeof(u64), GFP_KERNEL); in alloc_device_memory()103 for (i = 0 ; i < num_pgs ; i++) in alloc_device_memory()106 for (i = 0 ; i < num_pgs ; i++) { in alloc_device_memory()132 for (i = 0 ; i < num_pgs ; i++) in alloc_device_memory()