Home
last modified time | relevance | path

Searched refs:snd_util_memblk (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/include/sound/
Dutil_mem.h15 struct snd_util_memblk { struct
21 #define snd_util_memblk_argptr(blk) (void*)((char*)(blk) + sizeof(struct snd_util_memblk)) argument
40 struct snd_util_memblk *snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size);
41 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
45 struct snd_util_memblk *__snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size);
46 void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
47 struct snd_util_memblk *__snd_util_memblk_new(struct snd_util_memhdr *hdr,
Demu10k1.h1516 struct snd_util_memblk *memblk;
1548 struct snd_util_memblk mem;
1864 struct snd_util_memblk *snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *…
1865 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk);
1868 struct snd_util_memblk *snd_emu10k1_synth_alloc(struct snd_emu10k1 *emu, unsigned int size);
1869 int snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *blk);
1870 int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int s…
1871 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offs…
Dsoundfont.h37 struct snd_util_memblk *block; /* allocated data block */
/Linux-v5.10/sound/synth/
Dutil_mem.c19 #define get_memblk(p) list_entry(p, struct snd_util_memblk, list)
59 struct snd_util_memblk *
62 struct snd_util_memblk *blk; in __snd_util_mem_alloc()
96 struct snd_util_memblk *
100 struct snd_util_memblk *blk; in __snd_util_memblk_new()
102 blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size, in __snd_util_memblk_new()
110 struct snd_util_memblk *p = get_memblk(prev); in __snd_util_memblk_new()
124 struct snd_util_memblk *
127 struct snd_util_memblk *blk; in snd_util_mem_alloc()
140 __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk) in __snd_util_mem_free()
[all …]
/Linux-v5.10/sound/pci/trident/
Dtrident_memory.c124 static struct snd_util_memblk *
127 struct snd_util_memblk *blk; in search_empty()
134 blk = list_entry(p, struct snd_util_memblk, list); in search_empty()
173 static struct snd_util_memblk *
178 struct snd_util_memblk *blk; in snd_trident_alloc_sg_pages()
220 static struct snd_util_memblk *
225 struct snd_util_memblk *blk; in snd_trident_alloc_cont_pages()
265 struct snd_util_memblk *
282 struct snd_util_memblk *blk) in snd_trident_free_pages()
Dtrident.h293 struct snd_util_memblk *memblk; /* memory block if TLB enabled */
421 struct snd_util_memblk *snd_trident_alloc_pages(struct snd_trident *trident,
423 int snd_trident_free_pages(struct snd_trident *trident, struct snd_util_memblk *blk);
424 struct snd_util_memblk *snd_trident_synth_alloc(struct snd_trident *trident, unsigned int size);
425 int snd_trident_synth_free(struct snd_trident *trident, struct snd_util_memblk *blk);
426 int snd_trident_synth_copy_from_user(struct snd_trident *trident, struct snd_util_memblk *blk,
/Linux-v5.10/sound/pci/emu10k1/
Dmemory.c296 struct snd_util_memblk *
346 __snd_util_mem_free(hdr, (struct snd_util_memblk *)blk); in snd_emu10k1_alloc_pages()
351 return (struct snd_util_memblk *)blk; in snd_emu10k1_alloc_pages()
358 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk) in snd_emu10k1_free_pages()
401 struct snd_util_memblk *
414 __snd_util_mem_free(hdr, (struct snd_util_memblk *)blk); in snd_emu10k1_synth_alloc()
420 return (struct snd_util_memblk *)blk; in snd_emu10k1_synth_alloc()
429 snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) in snd_emu10k1_synth_free()
565 int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, in snd_emu10k1_synth_bzero()
595 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, in snd_emu10k1_synth_copy_from_user()
Demu10k1_main.c1941 sizeof(struct snd_util_memblk); in snd_emu10k1_create()
/Linux-v5.10/sound/isa/sb/
Demu8000_pcm.c44 struct snd_util_memblk *block;