Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Duser_access.c136 if (uctx && !ADD_OVERFLOW(uctx->bbuf_offs, len, &offs) && in bb_alloc()
138 bb = maybe_tag_bb(uctx->bbuf + uctx->bbuf_offs, len); in bb_alloc()
139 uctx->bbuf_offs = ROUNDUP(offs, BB_ALIGNMENT); in bb_alloc()
157 if (prev_offs + ROUNDUP(len, BB_ALIGNMENT) == uctx->bbuf_offs) in bb_free_helper()
158 uctx->bbuf_offs = prev_offs; in bb_free_helper()
186 maybe_untag_bb(uctx->bbuf, uctx->bbuf_offs); in bb_reset()
188 uctx->bbuf_offs = 0; in bb_reset()
/optee_os/core/include/kernel/
H A Duser_mode_ctx_struct.h57 size_t bbuf_offs; member