Searched refs:up_bbuf (Results 1 – 2 of 2) sorted by relevance
53 struct utee_params *up_bbuf = NULL; in init_utee_param() local 55 up_bbuf = bb_alloc(sizeof(struct utee_params)); in init_utee_param() 56 if (!up_bbuf) in init_utee_param() 59 up_bbuf->types = p->types; in init_utee_param() 83 up_bbuf->vals[n * 2] = a; in init_utee_param() 84 up_bbuf->vals[n * 2 + 1] = b; in init_utee_param() 87 res = copy_to_user(up, up_bbuf, sizeof(struct utee_params)); in init_utee_param() 89 bb_free(up_bbuf, sizeof(struct utee_params)); in init_utee_param() 99 struct utee_params *up_bbuf = NULL; in update_from_utee_param() local 101 res = BB_MEMDUP_USER(up, sizeof(*up), &up_bbuf); in update_from_utee_param() [all...]
593 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()