Lines Matching refs:size
91 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); in emu10k1_memblk_init()
106 int size; in search_empty_map_area() local
114 size = blk->mapped_page - page; in search_empty_map_area()
115 if (size == npages) { in search_empty_map_area()
119 else if (size > max_size) { in search_empty_map_area()
121 max_size = size; in search_empty_map_area()
127 size = MAX_ALIGN_PAGES - page; in search_empty_map_area()
128 if (size >= max_size) { in search_empty_map_area()
205 search_empty(struct snd_emu10k1 *emu, int size) in search_empty() argument
211 psize = get_aligned_page(size + PAGE_SIZE -1); in search_empty()
258 int size; in snd_emu10k1_memblk_map() local
280 size = unmap_memblk(emu, deleted); in snd_emu10k1_memblk_map()
281 if (size >= blk->pages) { in snd_emu10k1_memblk_map()
375 snd_emu10k1_synth_alloc(struct snd_emu10k1 *hw, unsigned int size) in snd_emu10k1_synth_alloc() argument
381 blk = (struct snd_emu10k1_memblk *)__snd_util_mem_alloc(hdr, size); in snd_emu10k1_synth_alloc()
521 int offset, int size) in snd_emu10k1_synth_bzero() argument
528 end_offset = offset + size; in snd_emu10k1_synth_bzero()
551 int offset, const char __user *data, int size) in snd_emu10k1_synth_copy_from_user() argument
558 end_offset = offset + size; in snd_emu10k1_synth_copy_from_user()