Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ttm_page_pool Struct Reference

Data Fields

spinlock_t lock
 
bool fill_lock
 
struct list_head list
 
gfp_t gfp_flags
 
unsigned npages
 
charname
 
unsigned long nfrees
 
unsigned long nrefills
 

Detailed Description

struct ttm_page_pool - Pool to reuse recently allocated uc/wc pages.

: Protects the shared pool from concurrnet access. Must be used with irqsave/irqrestore variants because pool allocator maybe called from delayed work. : Prevent concurrent calls to fill. : Pool of free uc/wc pages for fast reuse. : Flags to pass for alloc_page. : Number of pages in pool.

Definition at line 72 of file ttm_page_alloc.c.

Field Documentation

bool fill_lock

Definition at line 74 of file ttm_page_alloc.c.

gfp_t gfp_flags

Definition at line 76 of file ttm_page_alloc.c.

Definition at line 75 of file ttm_page_alloc.c.

spinlock_t lock

Definition at line 73 of file ttm_page_alloc.c.

char* name

Definition at line 78 of file ttm_page_alloc.c.

unsigned long nfrees

Definition at line 79 of file ttm_page_alloc.c.

unsigned npages

Definition at line 77 of file ttm_page_alloc.c.

unsigned long nrefills

Definition at line 80 of file ttm_page_alloc.c.


The documentation for this struct was generated from the following file: