Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ttm_page_alloc.h File Reference
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_memory.h>

Go to the source code of this file.

Functions

int ttm_page_alloc_init (struct ttm_mem_global *glob, unsigned max_pages)
 
void ttm_page_alloc_fini (void)
 
int ttm_pool_populate (struct ttm_tt *ttm)
 
void ttm_pool_unpopulate (struct ttm_tt *ttm)
 
int ttm_page_alloc_debugfs (struct seq_file *m, void *data)
 

Function Documentation

int ttm_page_alloc_debugfs ( struct seq_file m,
void data 
)

Output the state of pools to debugfs file

Definition at line 899 of file ttm_page_alloc.c.

void ttm_page_alloc_fini ( void  )

Free pool allocator.

Definition at line 829 of file ttm_page_alloc.c.

int ttm_page_alloc_init ( struct ttm_mem_global glob,
unsigned  max_pages 
)

Initialize pool allocator.

Definition at line 792 of file ttm_page_alloc.c.

int ttm_pool_populate ( struct ttm_tt ttm)

ttm_pool_populate:

: The struct ttm_tt to contain the backing pages.

Add backing pages to all of

Definition at line 843 of file ttm_page_alloc.c.

void ttm_pool_unpopulate ( struct ttm_tt ttm)

ttm_pool_unpopulate:

: The struct ttm_tt which to free backing pages.

Free all pages of

Definition at line 882 of file ttm_page_alloc.c.