![]() |
EDT PDV SDK Documentation 6.1.0
|
#include "edt_mem_mapping.h"
#include <linux/kconfig.h>
#include <linux/linkage.h>
#include <linux/types.h>
#include <linux/ioctl.h>
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/version.h>
#include <linux/irqreturn.h>
#include <linux/semaphore.h>
#include <linux/pci.h>
Functions | |
asmlinkage void * | edt_kmalloc (size_t, char *tag) |
unsigned int | edt_cache_free_list_count (void) |
Get number of pages in the cache page list. More... | |
asmlinkage int | edt_mem_map_setup (EdtMemMapping *map, int bufsize) |
asmlinkage int | edt_mem_map_clear_sg (EdtMemMapping *map) |
asmlinkage void * edt_kmalloc | ( | size_t | size, |
char * | tag | ||
) |
Memory Allocation/deallocation
unsigned int edt_cache_free_list_count | ( | void | ) |
Get number of pages in the cache page list.
Pre-allocated cache page pool is setup by edt_cache_create_free_list().
asmlinkage int edt_mem_map_setup | ( | EdtMemMapping * | map, |
int | bufsize | ||
) |
edt_mem_map_setup Top-level buffer setup, will fill in map with list of pages and the sglist and sglist broken up into chunks Assumes map->pci_dev is set already
asmlinkage int edt_mem_map_clear_sg | ( | EdtMemMapping * | map | ) |
delete the sg array defined in edt_mem_map_setup_sg