/* * include/linux/dmapool.h * * Allocation pools for DMAable (coherent) memory. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied.
*/
/** * dma_pool_zalloc - Get a zero-initialized block of DMA coherent memory. * @pool: dma pool that will produce the block * @mem_flags: GFP_* bitmask * @handle: pointer to dma address of block * * Same as dma_pool_alloc(), but the returned memory is zeroed.
*/ staticinlinevoid *dma_pool_zalloc(struct dma_pool *pool, gfp_t mem_flags,
dma_addr_t *handle)
{ return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle);
}
#endif
¤ Dauer der Verarbeitung: 0.29 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.