My Project
Public Attributes | List of all members
kbase_mem_pool Struct Reference

#include <mali_kbase_defs.h>

Public Attributes

struct kbase_devicekbdev
 
size_t cur_size
 
size_t max_size
 
spinlock_t pool_lock
 
struct list_head page_list
 
struct shrinker reclaim
 
struct kbase_mem_poolnext_pool
 

Detailed Description

struct kbase_mem_pool - Page based memory pool for kctx/kbdev : Kbase device where memory is used : Number of free pages currently in the pool (may exceed in some corner cases) : Maximum number of free pages in the pool : Lock protecting the pool - must be held when modifying and : List of free pages in the pool : Shrinker for kernel reclaim of free pages : Pointer to next pool where pages can be allocated when this pool is empty. Pages will spill over to the next pool when this pool is full. Can be NULL if there is no next pool.


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