pci_pool_alloc(9)

NAME

pci_pool_alloc - get a block of consistent memory

SYNOPSIS

void   *   pci_pool_alloc   (struct  pci_pool  *pool,  int
mem_flags, dma_addr_t *handle);

ARGUMENTS

pool pci pool that will produce the block

mem_flags SLAB_KERNEL or SLAB_ATOMIC

handle pointer to dma address of block

DESCRIPTION

This returns the kernel virtual address of a currently
unused block, and reports its dma address through the han
dle. If such a memory block can't be allocated, null is
returned.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout