Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 7 of 7) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Dtee_ta_manager.c198 assert(s->ref_count > 0); in dec_session_ref_count()
199 s->ref_count--; in dec_session_ref_count()
200 if (s->ref_count == 1) in dec_session_ref_count()
262 s->ref_count++; in tee_ta_get_session()
290 assert(s->ref_count >= 1); in tee_ta_unlink_session()
297 while (s->ref_count != 1) in tee_ta_unlink_session()
384 assert(count == ctx->ref_count); in destroy_ta_ctx_from_session()
569 if (ctx->ref_count <= 0) in tee_ta_close_session()
572 ctx->ref_count--; in tee_ta_close_session()
626 ctx->ref_count++; in tee_ta_init_session_with_context()
[all …]
A Dpseudo_ta.c152 if (stc->ctx.ref_count == 1 && stc->pseudo_ta->create_entry_point) { in pseudo_ta_enter_open_session()
230 if (stc->ctx.ref_count == 1 && stc->pseudo_ta->destroy_entry_point) in pseudo_ta_enter_close_session()
315 ctx->ref_count = 1; in tee_ta_init_pseudo_ta_session()
A Duser_ta.c438 utc->ta_ctx.ref_count = 1; in tee_ta_init_user_ta_session()
/optee_os-3.20.0/core/include/kernel/
A Dtee_ta_manager.h74 uint32_t ref_count; /* Reference counter for multi session TA */ member
89 uint32_t ref_count; /* reference counter */ member
/optee_os-3.20.0/core/include/mm/
A Dsp_mem.h25 uint8_t ref_count; member
/optee_os-3.20.0/core/arch/arm/kernel/
A Dspmc_sp_handler.c542 if (receiver->ref_count == UINT8_MAX) { in ffa_mem_retrieve()
548 receiver->ref_count++; in ffa_mem_retrieve()
551 if (receiver->ref_count == 1) { in ffa_mem_retrieve()
569 receiver->ref_count--; in ffa_mem_retrieve()
632 if (!receiver->ref_count) { in ffa_mem_relinquish()
638 receiver->ref_count--; in ffa_mem_relinquish()
639 if (!receiver->ref_count) { in ffa_mem_relinquish()
713 if (receiver->ref_count != 0) { in ffa_mem_reclaim()
A Dstmm_sp.c99 spc->ta_ctx.ref_count = 1; in stmm_alloc_ctx()

Completed in 11 milliseconds