Searched refs:num_pgs (Results 1 – 1 of 1) sorted by relevance
58 u64 paddr = 0, total_size, num_pgs, i; in alloc_device_memory() local66 num_pgs = (args->alloc.mem_size + (page_size - 1)) >> page_shift; in alloc_device_memory()67 total_size = num_pgs << page_shift; in alloc_device_memory()81 num_pgs, total_size); in alloc_device_memory()94 phys_pg_pack->npages = num_pgs; in alloc_device_memory()100 phys_pg_pack->pages = kvmalloc_array(num_pgs, sizeof(u64), GFP_KERNEL); in alloc_device_memory()107 for (i = 0 ; i < num_pgs ; i++) in alloc_device_memory()110 for (i = 0 ; i < num_pgs ; i++) { in alloc_device_memory()136 for (i = 0 ; i < num_pgs ; i++) in alloc_device_memory()