Changeset 501 for GPL/trunk/alsa-kernel
- Timestamp:
- Jul 11, 2010, 7:01:51 AM (15 years ago)
- File:
-
- 1 edited
-
GPL/trunk/alsa-kernel/core/memalloc.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/core/memalloc.c
r464 r501 2 2 * Copyright (c) by Jaroslav Kysela <perex@perex.cz> 3 3 * Takashi Iwai <tiwai@suse.de> 4 * 4 * 5 5 * Generic memory allocators 6 6 * … … 209 209 * Calls the memory-allocator function for the corresponding 210 210 * buffer type. 211 * 211 * 212 212 * Returns zero if the buffer with the given size is allocated successfuly, 213 213 * other a negative value at error. … … 216 216 struct snd_dma_buffer *dmab) 217 217 { 218 #ifdef DEBUG219 218 dprintf(("snd_dma_alloc_pages with size = %d",size)); 220 #endif221 219 if (WARN_ON(!size)) 222 220 return -ENXIO; … … 265 263 * tries to allocate again. The size actually allocated is stored in 266 264 * res_size argument. 267 * 265 * 268 266 * Returns zero if the buffer with the given size is allocated successfuly, 269 267 * other a negative value at error. … … 362 360 * 363 361 * Reserves the given buffer as a reserved buffer. 364 * 362 * 365 363 * Returns zero if successful, or a negative code at error. 366 364 */
Note:
See TracChangeset
for help on using the changeset viewer.
