Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Duser_ta.c52 struct utee_params *up_bbuf = NULL; in init_utee_param() local
54 up_bbuf = bb_alloc(sizeof(struct utee_params)); in init_utee_param()
55 if (!up_bbuf) in init_utee_param()
58 up_bbuf->types = p->types; in init_utee_param()
82 up_bbuf->vals[n * 2] = a; in init_utee_param()
83 up_bbuf->vals[n * 2 + 1] = b; in init_utee_param()
86 res = copy_to_user(up, up_bbuf, sizeof(struct utee_params)); in init_utee_param()
88 bb_free(up_bbuf, sizeof(struct utee_params)); in init_utee_param()
98 struct utee_params *up_bbuf = NULL; in update_from_utee_param() local
100 res = BB_MEMDUP_USER(up, sizeof(*up), &up_bbuf); in update_from_utee_param()
[all …]
/optee_os/core/tee/
H A Dtee_svc.c593 struct utee_params *up_bbuf = NULL; in utee_param_to_param() local
595 res = BB_MEMDUP_USER(up, sizeof(*up), &up_bbuf); in utee_param_to_param()
599 types = up_bbuf->types; in utee_param_to_param()
603 uintptr_t a = up_bbuf->vals[n * 2]; in utee_param_to_param()
604 size_t b = up_bbuf->vals[n * 2 + 1]; in utee_param_to_param()
645 bb_free(up_bbuf, sizeof(struct utee_params)); in utee_param_to_param()