Searched refs:refcount_set (Results 1 – 13 of 13) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | refcount.h | 59 static inline void refcount_set(struct refcount *r, unsigned int val) in refcount_set() function
|
| /optee_os/core/arch/arm/mm/ |
| H A D | mobj_ffa.c | 181 refcount_set(&m->mf.mobj.refc, 0); in ffa_shm_new() 204 refcount_set(&m->mf.mobj.refc, 0); in ffa_prm_new() 664 refcount_set(&mf->mobj.refc, 1); in mobj_ffa_get_by_cookie() 697 refcount_set(&mf->mobj.refc, 1); in mobj_ffa_get_by_cookie() 701 refcount_set(&mfs->mapcount, 0); in mobj_ffa_get_by_cookie() 899 refcount_set(&m->mapcount, 1); in ffa_shm_inc_map()
|
| H A D | sp_mem.c | 66 refcount_set(&m->mobj.refc, 1); in sp_mem_new_mobj()
|
| /optee_os/core/mm/ |
| H A D | mobj.c | 172 refcount_set(&moph->mobj.refc, 1); in mobj_phys_init() 349 refcount_set(&m->mobj.refc, 1); in mobj_shm_alloc() 382 refcount_set(&m->mobj.refc, 1); in mobj_with_fobj_alloc()
|
| H A D | file.c | 156 refcount_set(&f->refc, 1); in file_get_by_tag()
|
| H A D | mobj_dyn_shm.c | 239 refcount_set(&r->mapcount, 1); in mobj_reg_shm_inc_map() 367 refcount_set(&mobj_reg_shm->mobj.refc, 1); in mobj_reg_shm_alloc() 710 refcount_set(&m->mobj.refc, 1); in mobj_protmem_alloc()
|
| H A D | fobj.c | 73 refcount_set(&fobj->refc, 1); in fobj_init() 778 refcount_set(&f->fobj.refc, 1); in fobj_sec_mem_alloc()
|
| /optee_os/core/drivers/clk/ |
| H A D | clk.c | 50 refcount_set(&clk->enabled_count, 0); in clk_alloc() 182 refcount_set(&clk->enabled_count, 1); in clk_enable_no_lock()
|
| H A D | clk-stm32-core.c | 618 refcount_set(&clk->enabled_count, 0); in clk_stm32_register_clocks()
|
| H A D | clk-stm32mp15.c | 1348 refcount_set(&stm32mp1_clk[n].enabled_count, 0); in register_stm32mp1_clocks()
|
| /optee_os/core/drivers/crypto/versal/ |
| H A D | authenc.c | 688 refcount_set(&engine.refc, 1); in do_free() 865 refcount_set(&engine.refc, 1); in versal_register_authenc()
|
| /optee_os/core/kernel/ |
| H A D | mutex.c | 88 refcount_set(&m->lock_depth, 1); in __mutex_lock_recursive()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | virtualization.c | 321 refcount_set(&prtn->refc, 1); in virt_guest_created()
|