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

#include <ttm_bo_driver.h>

Data Fields

struct kobject kobj
 
struct ttm_mem_globalmem_glob
 
struct pagedummy_read_page
 
struct ttm_mem_shrink shrink
 
struct mutex device_list_mutex
 
spinlock_t lru_lock
 
struct list_head device_list
 
struct list_head swap_lru
 
atomic_t bo_count
 

Detailed Description

struct ttm_bo_global - Buffer object driver global data.

: Pointer to a struct ttm_mem_global object for accounting. : Pointer to a dummy page used for mapping requests of unpopulated pages. : A shrink callback object used for buffer object swap. : Mutex protecting the device list. This mutex is held while traversing the device list for pm options. : Spinlock protecting the bo subsystem lru lists. : List of buffer object devices. : Lru list of buffer objects used for swapping.

Definition at line 478 of file ttm_bo_driver.h.

Field Documentation

atomic_t bo_count

Internal protection.

Definition at line 504 of file ttm_bo_driver.h.

Protected by device_list_mutex.

Definition at line 494 of file ttm_bo_driver.h.

struct mutex device_list_mutex

Definition at line 488 of file ttm_bo_driver.h.

struct page* dummy_read_page

Definition at line 486 of file ttm_bo_driver.h.

Constant after init.

Definition at line 484 of file ttm_bo_driver.h.

spinlock_t lru_lock

Definition at line 489 of file ttm_bo_driver.h.

Definition at line 485 of file ttm_bo_driver.h.

Definition at line 487 of file ttm_bo_driver.h.

struct list_head swap_lru

Protected by the lru_lock.

Definition at line 499 of file ttm_bo_driver.h.


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