Searched refs:refcount_val (Results 1 – 8 of 8) sorted by relevance
| /optee_os/core/mm/ |
| H A D | fobj.c | 79 assert(!refcount_val(&fobj->refc)); in fobj_uninit() 189 assert(refcount_val(&fobj->refc)); in rwp_paged_iv_load_page() 205 if (!refcount_val(&fobj->refc)) { in rwp_paged_iv_save_page() 301 assert(refcount_val(&fobj->refc)); in rwp_unpaged_iv_load_page() 317 if (!refcount_val(&fobj->refc)) { in rwp_unpaged_iv_save_page() 476 assert(refcount_val(&rop->fobj.refc)); in rop_load_page_helper() 716 assert(refcount_val(&fobj->refc)); in lop_load_page() 799 assert(!refcount_val(&fobj->refc)); in sec_mem_free() 808 assert(refcount_val(&fobj->refc)); in sec_mem_get_pa()
|
| H A D | mobj_dyn_shm.c | 208 if (!refcount_val(&r->mapcount)) in mobj_reg_shm_inc_map() 263 if (!refcount_val(&r->mapcount) && r->mm) in mobj_reg_shm_dec_map()
|
| /optee_os/core/include/kernel/ |
| H A D | refcount.h | 64 static inline unsigned int refcount_val(struct refcount *r) in refcount_val() function
|
| /optee_os/core/arch/arm/mm/ |
| H A D | mobj_ffa.c | 537 cookie, refcount_val(&mf->mobj.refc)); in mobj_ffa_sel1_spmc_reclaim() 589 cookie, refcount_val(&mf->mobj.refc), mf->inactive_refs); in mobj_ffa_unregister_by_cookie() 614 cookie, refcount_val(&mf->mobj.refc), mf->inactive_refs); in mobj_ffa_unregister_by_cookie() 624 cookie, refcount_val(&mf->mobj.refc), mf->inactive_refs); in mobj_ffa_unregister_by_cookie() 668 cookie, refcount_val(&mf->mobj.refc), in mobj_ffa_get_by_cookie() 696 assert(refcount_val(&mf->mobj.refc) == 0); in mobj_ffa_get_by_cookie() 799 if (refcount_val(&mf->mobj.refc)) { in ffa_inactivate() 868 if (!refcount_val(&m->mapcount)) in ffa_shm_inc_map() 915 if (!refcount_val(&m->mapcount)) in ffa_shm_dec_map()
|
| H A D | sp_mem.c | 170 if (!refcount_val(&mobj->refc)) in inactivate()
|
| /optee_os/core/drivers/clk/ |
| H A D | clk.c | 134 return refcount_val(&clk->enabled_count) != 0; in clk_is_enabled_no_lock() 492 refcount_val(&clk->enabled_count) ? "on " : "off", in print_clk() 493 refcount_val(&clk->enabled_count), in print_clk()
|
| /optee_os/core/drivers/crypto/versal/ |
| H A D | authenc.c | 423 if (refcount_val(&engine.refc) > 1) in do_update_aad() 549 if (refcount_val(&engine.refc) > 1) in do_update_payload() 611 if (refcount_val(&engine.refc) > 1) in do_enc_final() 664 if (refcount_val(&engine.refc) > 1) in do_dec_final()
|
| /optee_os/core/kernel/ |
| H A D | mutex.c | 343 return refcount_val(&m->lock_depth); in mutex_get_recursive_lock_depth()
|