Searched refs:npages (Results 1 – 2 of 2) sorted by relevance
95 static int search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp) in search_empty_map_area() argument98 int max_size = npages; in search_empty_map_area()108 if (size == npages) { in search_empty_map_area()383 size_t npages = DIV_ROUND_UP(size, PAGE_SIZE); in snd_emu10k1_alloc_pages_maybe_wider() local384 size_t size_real = npages * PAGE_SIZE; in snd_emu10k1_alloc_pages_maybe_wider()
759 size_t chunk, npages; in snd_dma_sg_fallback_alloc() local800 npages = chunk >> PAGE_SHIFT; in snd_dma_sg_fallback_alloc()801 *addrp = npages; /* store in lower bits */ in snd_dma_sg_fallback_alloc()803 while (npages--) { in snd_dma_sg_fallback_alloc()