ttm_mem_global
global_ref->size = sizeof(struct ttm_mem_global);
struct ttm_mem_global *mem_glob;
struct ttm_mem_global *mem_glob;
extern int ttm_mem_global_init(struct ttm_mem_global *glob);
extern void ttm_mem_global_release(struct ttm_mem_global *glob);
extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory,
extern void ttm_mem_global_free(struct ttm_mem_global *glob,
extern int ttm_mem_global_alloc_page(struct ttm_mem_global *glob,
extern void ttm_mem_global_free_page(struct ttm_mem_global *glob,
extern uint64_t ttm_get_kernel_zone_memory_size(struct ttm_mem_global *glob);
extern bool ttm_check_under_lowerlimit(struct ttm_mem_global *glob,
int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
static inline int ttm_dma_page_alloc_init(struct ttm_mem_global *glob,
global_ref->size = sizeof(struct ttm_mem_global);
struct ttm_mem_global *mem_glob = bdev->glob->mem_glob;
static void ttm_check_swapping(struct ttm_mem_global *glob);
struct ttm_mem_global *glob =
container_of(kobj, struct ttm_mem_global, kobj);
static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob,
static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq,
struct ttm_mem_global *glob =
container_of(work, struct ttm_mem_global, work);
static int ttm_mem_init_kernel_zone(struct ttm_mem_global *glob,
static int ttm_mem_init_dma32_zone(struct ttm_mem_global *glob,
int ttm_mem_global_init(struct ttm_mem_global *glob)
void ttm_mem_global_release(struct ttm_mem_global *glob)
static void ttm_check_swapping(struct ttm_mem_global *glob)
static void ttm_mem_global_free_zone(struct ttm_mem_global *glob,
void ttm_mem_global_free(struct ttm_mem_global *glob,
struct ttm_mem_global *glob;
ttm_check_under_lowerlimit(struct ttm_mem_global *glob,
static int ttm_mem_global_reserve(struct ttm_mem_global *glob,
static int ttm_mem_global_alloc_zone(struct ttm_mem_global *glob,
int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory,
int ttm_mem_global_alloc_page(struct ttm_mem_global *glob,
void ttm_mem_global_free_page(struct ttm_mem_global *glob, struct page *page,
uint64_t ttm_get_kernel_zone_memory_size(struct ttm_mem_global *glob)
int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages)
struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob;
struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob;
int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages)
struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob;
struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob;