Searched refs:num_pgs (Results 1 – 1 of 1) sorted by relevance
91 u64 paddr = 0, total_size, num_pgs, i; in alloc_device_memory() local102 num_pgs = DIV_ROUND_UP_ULL(args->alloc.mem_size, page_size); in alloc_device_memory()103 total_size = num_pgs * page_size; in alloc_device_memory()121 num_pgs, total_size); in alloc_device_memory()134 phys_pg_pack->npages = num_pgs; in alloc_device_memory()140 phys_pg_pack->pages = kvmalloc_array(num_pgs, sizeof(u64), GFP_KERNEL); in alloc_device_memory()147 for (i = 0 ; i < num_pgs ; i++) in alloc_device_memory()150 for (i = 0 ; i < num_pgs ; i++) { in alloc_device_memory()182 for (i = 0 ; i < num_pgs ; i++) in alloc_device_memory()