Lines Matching full:allocation
32 MODULE_PARM_DESC(max_alloc_per_card, "Max total allocation bytes per card.");
76 /* the actual allocation size might be bigger than requested, in do_alloc_pages()
82 /* take back on allocation failure */ in do_alloc_pages()
317 * snd_pcm_lib_preallocate_pages - pre-allocation for the given DMA type
321 * @size: the requested pre-allocation size in bytes
322 * @max: the max. allowed pre-allocation size
324 * Do pre-allocation for the given DMA buffer type.
335 …* snd_pcm_lib_preallocate_pages_for_all - pre-allocation for continuous memory type (all substream…
339 * @size: the requested pre-allocation size in bytes
340 * @max: the max. allowed pre-allocation size
342 * Do pre-allocation to all substreams of the given pcm for the
358 * @size: the requested pre-allocation size in bytes
359 * @max: the max. allowed pre-allocation size
361 * Do pre-allocation for the given DMA buffer type, and set the managed
362 * buffer allocation mode to the given substream.
365 * as well, so that the driver doesn't need to invoke the allocation and
373 * Otherwise, the function tries to allocate smaller chunks if the allocation
380 * Upon successful buffer allocation and setup, the function returns 0.
397 * @size: the requested pre-allocation size in bytes
398 * @max: the max. allowed pre-allocation size
400 * Do pre-allocation to all substreams of the given pcm for the specified DMA