Lines Matching refs:p
168 struct list_head *p; in unmap_memblk() local
172 p = blk->mapped_link.prev; in unmap_memblk()
173 if (p != &emu->mapped_link_head) { in unmap_memblk()
174 q = get_emu10k1_memblk(p, mapped_link); in unmap_memblk()
179 p = blk->mapped_link.next; in unmap_memblk()
180 if (p != &emu->mapped_link_head) { in unmap_memblk()
181 q = get_emu10k1_memblk(p, mapped_link); in unmap_memblk()
208 struct list_head *p; in search_empty() local
214 list_for_each(p, &emu->memhdr->block) { in search_empty()
215 blk = get_emu10k1_memblk(p, mem.list); in search_empty()
225 …blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev… in search_empty()
262 struct list_head *p, *nextp; in snd_emu10k1_memblk_map() local
278 p = emu->mapped_order_link_head.next; in snd_emu10k1_memblk_map()
279 for (; p != &emu->mapped_order_link_head; p = nextp) { in snd_emu10k1_memblk_map()
280 nextp = p->next; in snd_emu10k1_memblk_map()
281 deleted = get_emu10k1_memblk(p, mapped_order_link); in snd_emu10k1_memblk_map()
456 struct list_head *p; in get_single_page_range() local
460 p = blk->mem.list.prev; in get_single_page_range()
461 if (p != &hdr->block) { in get_single_page_range()
462 q = get_emu10k1_memblk(p, mem.list); in get_single_page_range()
467 p = blk->mem.list.next; in get_single_page_range()
468 if (p != &hdr->block) { in get_single_page_range()
469 q = get_emu10k1_memblk(p, mem.list); in get_single_page_range()
575 struct snd_emu10k1_memblk *p = (struct snd_emu10k1_memblk *)blk; in snd_emu10k1_synth_bzero() local
586 ptr = offset_ptr(emu, page + p->first_page, offset); in snd_emu10k1_synth_bzero()
605 struct snd_emu10k1_memblk *p = (struct snd_emu10k1_memblk *)blk; in snd_emu10k1_synth_copy_from_user() local
616 ptr = offset_ptr(emu, page + p->first_page, offset); in snd_emu10k1_synth_copy_from_user()