Home
last modified time | relevance | path

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

/optee_os/core/kernel/
A Dtee_ta_manager.c180 assert(s->ref_count > 0); in dec_session_ref_count()
181 s->ref_count--; in dec_session_ref_count()
182 if (s->ref_count == 1) in dec_session_ref_count()
244 s->ref_count++; in tee_ta_get_session()
272 assert(s->ref_count >= 1); in tee_ta_unlink_session()
279 while (s->ref_count != 1) in tee_ta_unlink_session()
367 assert(count == ctx->ref_count); in destroy_ta_ctx_from_session()
552 if (ctx->ref_count <= 0) in tee_ta_close_session()
555 ctx->ref_count--; in tee_ta_close_session()
609 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.c430 utc->ta_ctx.ref_count = 1; in tee_ta_init_user_ta_session()
/optee_os/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/core/arch/arm/kernel/
A Dspmc_sp_handler.c541 if (receiver->ref_count == UINT8_MAX) { in ffa_mem_retrieve()
547 receiver->ref_count++; in ffa_mem_retrieve()
550 if (receiver->ref_count == 1) { in ffa_mem_retrieve()
568 receiver->ref_count--; in ffa_mem_retrieve()
631 if (!receiver->ref_count) { in ffa_mem_relinquish()
637 receiver->ref_count--; in ffa_mem_relinquish()
638 if (!receiver->ref_count) { in ffa_mem_relinquish()
712 if (receiver->ref_count != 0) { in ffa_mem_reclaim()
A Dstmm_sp.c100 spc->ta_ctx.ref_count = 1; in stmm_alloc_ctx()
/optee_os/core/include/mm/
A Dsp_mem.h25 uint8_t ref_count; member

Completed in 11 milliseconds