Lines Matching refs:up_bbuf
52 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()
109 p->u[n].mem.size = up_bbuf->vals[n * 2 + 1]; in update_from_utee_param()
114 p->u[n].val.a = up_bbuf->vals[n * 2]; in update_from_utee_param()
115 p->u[n].val.b = up_bbuf->vals[n * 2 + 1]; in update_from_utee_param()
122 bb_free(up_bbuf, sizeof(*up)); in update_from_utee_param()