Lines Matching full:allocation
31 MODULE_PARM_DESC(max_alloc_per_card, "Max total allocation bytes per card.");
71 /* the actual allocation size might be bigger than requested, in do_alloc_pages()
77 /* take back on allocation failure */ in do_alloc_pages()
313 * snd_pcm_lib_preallocate_pages - pre-allocation for the given DMA type
317 * @size: the requested pre-allocation size in bytes
318 * @max: the max. allowed pre-allocation size
320 * Do pre-allocation for the given DMA buffer type.
331 …* snd_pcm_lib_preallocate_pages_for_all - pre-allocation for continuous memory type (all substream…
335 * @size: the requested pre-allocation size in bytes
336 * @max: the max. allowed pre-allocation size
338 * Do pre-allocation to all substreams of the given pcm for the
354 * @size: the requested pre-allocation size in bytes
355 * @max: the max. allowed pre-allocation size
357 * Do pre-allocation for the given DMA buffer type, and set the managed
358 * buffer allocation mode to the given substream.
361 * as well, so that the driver doesn't need to invoke the allocation and
369 * Otherwise, the function tries to allocate smaller chunks if the allocation
376 * Upon successful buffer allocation and setup, the function returns 0.
393 * @size: the requested pre-allocation size in bytes
394 * @max: the max. allowed pre-allocation size
396 * Do pre-allocation to all substreams of the given pcm for the specified DMA