Home
last modified time | relevance | path

Searched refs:shm_arg_cache (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/tee/optee/
A Dcall.c219 INIT_LIST_HEAD(&optee->shm_arg_cache.shm_args); in optee_shm_arg_cache_init()
220 mutex_init(&optee->shm_arg_cache.mutex); in optee_shm_arg_cache_init()
221 optee->shm_arg_cache.flags = flags; in optee_shm_arg_cache_init()
226 struct list_head *head = &optee->shm_arg_cache.shm_args; in optee_shm_arg_cache_uninit()
229 mutex_destroy(&optee->shm_arg_cache.mutex); in optee_shm_arg_cache_uninit()
281 if (optee->shm_arg_cache.flags & OPTEE_SHM_ARG_SHARED) in optee_get_msg_arg()
286 mutex_lock(&optee->shm_arg_cache.mutex); in optee_get_msg_arg()
302 if (optee->shm_arg_cache.flags & OPTEE_SHM_ARG_ALLOC_PRIV) in optee_get_msg_arg()
328 mutex_unlock(&optee->shm_arg_cache.mutex); in optee_get_msg_arg()
353 mutex_lock(&optee->shm_arg_cache.mutex); in optee_free_msg_arg()
[all …]
A Doptee_private.h226 struct optee_shm_arg_cache shm_arg_cache; member

Completed in 7 milliseconds