Home
last modified time | relevance | path

Searched refs:npages (Results 1 – 2 of 2) sorted by relevance

/sound/pci/emu10k1/
Dmemory.c95 static int search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp) in search_empty_map_area() argument
98 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() local
384 size_t size_real = npages * PAGE_SIZE; in snd_emu10k1_alloc_pages_maybe_wider()
/sound/core/
Dmemalloc.c759 size_t chunk, npages; in snd_dma_sg_fallback_alloc() local
800 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()