snd_util_memblk
struct snd_util_memblk *memblk;
struct snd_util_memblk mem;
struct snd_util_memblk *snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream);
int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk);
struct snd_util_memblk *snd_emu10k1_synth_alloc(struct snd_emu10k1 *emu, unsigned int size);
int snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *blk);
int snd_emu10k1_synth_memset(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int size, u8 value);
int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, const char __user *data, int size, u32 xor);
struct snd_util_memblk *block; /* allocated data block */
#define snd_util_memblk_argptr(blk) (void*)((char*)(blk) + sizeof(struct snd_util_memblk))
struct snd_util_memblk *snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size);
int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
struct snd_util_memblk *__snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size);
void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
struct snd_util_memblk *__snd_util_memblk_new(struct snd_util_memhdr *hdr,
struct snd_util_memblk *block;
sizeof(struct snd_util_memblk);
struct snd_util_memblk *
__snd_util_mem_free(hdr, (struct snd_util_memblk *)blk);
return (struct snd_util_memblk *)blk;
int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk)
struct snd_util_memblk *
__snd_util_mem_free(hdr, (struct snd_util_memblk *)blk);
return (struct snd_util_memblk *)blk;
snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk)
int snd_emu10k1_synth_memset(struct snd_emu10k1 *emu, struct snd_util_memblk *blk,
int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk,
struct snd_util_memblk *memblk; /* memory block if TLB enabled */
struct snd_util_memblk *snd_trident_alloc_pages(struct snd_trident *trident,
int snd_trident_free_pages(struct snd_trident *trident, struct snd_util_memblk *blk);
static struct snd_util_memblk *
struct snd_util_memblk *blk;
blk = list_entry(p, struct snd_util_memblk, list);
static struct snd_util_memblk *
struct snd_util_memblk *blk;
static struct snd_util_memblk *
struct snd_util_memblk *blk;
struct snd_util_memblk *
struct snd_util_memblk *blk)
struct snd_util_memblk *blk;
blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size,
struct snd_util_memblk *p = get_memblk(prev);
struct snd_util_memblk *
__snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk)
int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk)
#define get_memblk(p) list_entry(p, struct snd_util_memblk, list)
struct snd_util_memblk *
struct snd_util_memblk *blk;
struct snd_util_memblk *