Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
rpi_user_vcsm.h File Reference

Classes

struct  vcsm_user_clean_invalid_s
 

Enumerations

enum  VCSM_STATUS_T {
  VCSM_STATUS_VC_WALK_ALLOC = 0 , VCSM_STATUS_HOST_WALK_MAP , VCSM_STATUS_HOST_WALK_PID_MAP , VCSM_STATUS_HOST_WALK_PID_ALLOC ,
  VCSM_STATUS_VC_MAP_ALL , VCSM_STATUS_NONE
}
 
enum  VCSM_CACHE_TYPE_T { VCSM_CACHE_TYPE_NONE = 0 , VCSM_CACHE_TYPE_HOST , VCSM_CACHE_TYPE_VC , VCSM_CACHE_TYPE_HOST_AND_VC }
 

Functions

int vcsm_init (void)
 
void vcsm_exit (void)
 
void vcsm_status (VCSM_STATUS_T status, int pid)
 
unsigned int vcsm_malloc (unsigned int size, char *name)
 
unsigned int vcsm_malloc_cache (unsigned int size, VCSM_CACHE_TYPE_T cache, char *name)
 
unsigned int vcsm_malloc_share (unsigned int handle)
 
int vcsm_resize (unsigned int handle, unsigned int new_size)
 
void vcsm_free (unsigned int handle)
 
unsigned int vcsm_vc_hdl_from_ptr (void *usr_ptr)
 
unsigned int vcsm_vc_hdl_from_hdl (unsigned int handle)
 
unsigned int vcsm_usr_handle (void *usr_ptr)
 
voidvcsm_usr_address (unsigned int handle)
 
voidvcsm_lock (unsigned int handle)
 
voidvcsm_lock_cache (unsigned int handle, VCSM_CACHE_TYPE_T cache_update, VCSM_CACHE_TYPE_T *cache_result)
 
int vcsm_unlock_ptr (void *usr_ptr)
 
int vcsm_unlock_ptr_sp (void *usr_ptr, int cache_no_flush)
 
int vcsm_unlock_hdl (unsigned int handle)
 
int vcsm_unlock_hdl_sp (unsigned int handle, int cache_no_flush)
 
int vcsm_clean_invalid (struct vcsm_user_clean_invalid_s *s)
 

Enumeration Type Documentation

◆ VCSM_CACHE_TYPE_T

Enumerator
VCSM_CACHE_TYPE_NONE 
VCSM_CACHE_TYPE_HOST 
VCSM_CACHE_TYPE_VC 
VCSM_CACHE_TYPE_HOST_AND_VC 

◆ VCSM_STATUS_T

Enumerator
VCSM_STATUS_VC_WALK_ALLOC 
VCSM_STATUS_HOST_WALK_MAP 
VCSM_STATUS_HOST_WALK_PID_MAP 
VCSM_STATUS_HOST_WALK_PID_ALLOC 
VCSM_STATUS_VC_MAP_ALL 
VCSM_STATUS_NONE 

Function Documentation

◆ vcsm_clean_invalid()

int vcsm_clean_invalid ( struct vcsm_user_clean_invalid_s s)

◆ vcsm_exit()

void vcsm_exit ( void  )

◆ vcsm_free()

void vcsm_free ( unsigned int  handle)

◆ vcsm_init()

int vcsm_init ( void  )

◆ vcsm_lock()

void * vcsm_lock ( unsigned int  handle)

◆ vcsm_lock_cache()

void * vcsm_lock_cache ( unsigned int  handle,
VCSM_CACHE_TYPE_T  cache_update,
VCSM_CACHE_TYPE_T cache_result 
)

◆ vcsm_malloc()

unsigned int vcsm_malloc ( unsigned int  size,
char *  name 
)

◆ vcsm_malloc_cache()

unsigned int vcsm_malloc_cache ( unsigned int  size,
VCSM_CACHE_TYPE_T  cache,
char *  name 
)

◆ vcsm_malloc_share()

unsigned int vcsm_malloc_share ( unsigned int  handle)

◆ vcsm_resize()

int vcsm_resize ( unsigned int  handle,
unsigned int  new_size 
)

◆ vcsm_status()

void vcsm_status ( VCSM_STATUS_T  status,
int  pid 
)

◆ vcsm_unlock_hdl()

int vcsm_unlock_hdl ( unsigned int  handle)

◆ vcsm_unlock_hdl_sp()

int vcsm_unlock_hdl_sp ( unsigned int  handle,
int  cache_no_flush 
)

◆ vcsm_unlock_ptr()

int vcsm_unlock_ptr ( void usr_ptr)

◆ vcsm_unlock_ptr_sp()

int vcsm_unlock_ptr_sp ( void usr_ptr,
int  cache_no_flush 
)

◆ vcsm_usr_address()

void * vcsm_usr_address ( unsigned int  handle)

◆ vcsm_usr_handle()

unsigned int vcsm_usr_handle ( void usr_ptr)

◆ vcsm_vc_hdl_from_hdl()

unsigned int vcsm_vc_hdl_from_hdl ( unsigned int  handle)

◆ vcsm_vc_hdl_from_ptr()

unsigned int vcsm_vc_hdl_from_ptr ( void usr_ptr)