Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 19 of 19) sorted by relevance

/optee_os-3.20.0/core/arch/arm/mm/
A Dmobj_ffa.c19 uint64_t cookie; member
125 return mf->cookie == cookie; in cmp_cookie()
178 int i = mf->cookie & ~BIT64(44); in mobj_ffa_sel1_spmc_delete()
199 mf->cookie = cookie; in mobj_ffa_spmc_new()
230 return mf->cookie; in mobj_ffa_get_cookie()
244 return mf->cookie; in mobj_ffa_push_to_inactive()
339 thread_spmc_relinquish(cookie); in mobj_ffa_unregister_by_cookie()
384 cookie); in mobj_ffa_get_by_cookie()
423 cookie, internal_offs); in mobj_ffa_get_by_cookie()
493 DMSG("cookie %#"PRIx64, mf->cookie); in ffa_inactivate()
[all …]
A Dmobj_dyn_shm.c37 uint64_t cookie; member
253 return to_mobj_reg_shm(mobj)->cookie; in mobj_reg_shm_get_cookie()
297 paddr_t page_offset, uint64_t cookie) in mobj_reg_shm_alloc() argument
318 mobj_reg_shm->cookie = cookie; in mobj_reg_shm_alloc()
357 if (mobj_reg_shm->cookie == cookie) in reg_shm_find_unlocked()
363 struct mobj *mobj_reg_shm_get_by_cookie(uint64_t cookie) in mobj_reg_shm_get_by_cookie() argument
366 struct mobj_reg_shm *r = reg_shm_find_unlocked(cookie); in mobj_reg_shm_get_by_cookie()
375 TEE_Result mobj_reg_shm_release_by_cookie(uint64_t cookie) in mobj_reg_shm_release_by_cookie() argument
387 r = reg_shm_find_unlocked(cookie); in mobj_reg_shm_release_by_cookie()
434 paddr_t page_offset, uint64_t cookie) in mobj_mapped_shm_alloc() argument
[all …]
/optee_os-3.20.0/core/include/mm/
A Dmobj.h236 struct mobj *mobj_ffa_get_by_cookie(uint64_t cookie,
239 TEE_Result mobj_ffa_unregister_by_cookie(uint64_t cookie);
245 TEE_Result mobj_ffa_sel1_spmc_reclaim(uint64_t cookie);
247 struct mobj_ffa *mobj_ffa_spmc_new(uint64_t cookie, unsigned int num_pages);
259 paddr_t page_offset, uint64_t cookie);
271 struct mobj *mobj_reg_shm_get_by_cookie(uint64_t cookie);
273 TEE_Result mobj_reg_shm_release_by_cookie(uint64_t cookie);
291 paddr_t page_offset, uint64_t cookie);
298 uint64_t cookie __unused) in mobj_mapped_shm_alloc()
303 static inline struct mobj *mobj_reg_shm_get_by_cookie(uint64_t cookie __unused) in mobj_reg_shm_get_by_cookie()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_cookie.c195 const unsigned char *cookie, size_t cookie_len, in mbedtls_ssl_cookie_check() argument
215 if( ssl_cookie_hmac( &ctx->hmac_ctx, cookie, in mbedtls_ssl_cookie_check()
231 if( mbedtls_ct_memcmp( cookie + 4, ref_hmac, sizeof( ref_hmac ) ) != 0 ) in mbedtls_ssl_cookie_check()
243 cookie_time = ( (unsigned long) cookie[0] << 24 ) | in mbedtls_ssl_cookie_check()
244 ( (unsigned long) cookie[1] << 16 ) | in mbedtls_ssl_cookie_check()
245 ( (unsigned long) cookie[2] << 8 ) | in mbedtls_ssl_cookie_check()
246 ( (unsigned long) cookie[3] ); in mbedtls_ssl_cookie_check()
A Dssl_tls.c3916 const unsigned char *cookie, size_t cookie_len, in ssl_cookie_check_dummy() argument
3920 ((void) cookie); in ssl_cookie_check_dummy()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dthread_optee_smc.c88 static void thread_rpc_free_arg(uint64_t cookie) in thread_rpc_free_arg() argument
90 if (cookie) { in thread_rpc_free_arg()
247 mobj = mobj_reg_shm_get_by_cookie(cookie); in std_entry_with_regd_arg()
249 EMSG("Bad arg cookie 0x%"PRIx64, cookie); in std_entry_with_regd_arg()
334 *cookie = 0; in thread_disable_prealloc_rpc_cache()
373 return mobj_shm_alloc(pa, sz, cookie); in rpc_shm_mobj_alloc()
377 return mobj_mapped_shm_alloc(&pa, 1, 0, cookie); in rpc_shm_mobj_alloc()
614 uint64_t cookie = 0; in get_rpc_alloc_res() local
628 cookie = arg->params[0].u.tmem.shm_ref; in get_rpc_alloc_res()
633 mobj = rpc_shm_mobj_alloc(p, sz, cookie); in get_rpc_alloc_res()
[all …]
A Dthread_spmc.c464 uint64_t cookie = reg_pair_to_64(a5, a4); in handle_unregister_shm() local
920 uint64_t cookie = 0; in handle_mem_reclaim() local
1106 param->u.fmem.global_id = cookie; in set_fmem()
1229 cookie, res2); in thread_rpc_free()
1245 uint64_t cookie = 0; in thread_rpc_alloc() local
1261 cookie, internal_offset); in thread_rpc_alloc()
1402 trans_descr->global_handle = cookie; in spmc_retrieve_req()
1418 cookie, (int)args.a2); in spmc_retrieve_req()
1421 cookie, args.a0); in spmc_retrieve_req()
1436 relinquish_desc->handle = cookie; in thread_spmc_relinquish()
[all …]
/optee_os-3.20.0/core/arch/arm/tee/
A Dentry_fast.c123 uint64_t cookie; in tee_entry_disable_shm_cache() local
125 if (!thread_disable_prealloc_rpc_cache(&cookie)) { in tee_entry_disable_shm_cache()
130 if (!cookie) { in tee_entry_disable_shm_cache()
136 args->a1 = cookie >> 32; in tee_entry_disable_shm_cache()
137 args->a2 = cookie; in tee_entry_disable_shm_cache()
/optee_os-3.20.0/lib/libutee/arch/arm/gprof/
A Dgmon_out.h92 char cookie[4]; member
A Dgprof.c224 memcpy(&ghdr.cookie[0], GMON_MAGIC, sizeof(ghdr.cookie)); in _gprof_write_header()
/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dthread_spmc.h35 struct mobj_ffa *thread_spmc_populate_mobj_from_rx(uint64_t cookie);
A Dthread_arch.h443 bool thread_disable_prealloc_rpc_cache(uint64_t *cookie);
/optee_os-3.20.0/core/mm/
A Dmobj.c350 uint64_t cookie; member
420 return to_mobj_shm(mobj)->cookie; in mobj_shm_get_cookie()
444 struct mobj *mobj_shm_alloc(paddr_t pa, size_t size, uint64_t cookie) in mobj_shm_alloc() argument
460 m->cookie = cookie; in mobj_shm_alloc()
/optee_os-3.20.0/core/arch/arm/include/sm/
A Dpsci.h71 int psci_system_reset2(uint32_t reset_type, uint32_t cookie);
/optee_os-3.20.0/core/arch/arm/sm/
A Dpsci.c110 uint32_t cookie __unused) in psci_system_reset2()
/optee_os-3.20.0/core/arch/arm/plat-imx/pm/
A Dpsci.c245 uint32_t cookie __unused) in psci_system_reset2()
/optee_os-3.20.0/core/tee/
A Dentry_std.c509 uint64_t cookie = arg->params[0].u.rmem.shm_ref; in unregister_shm() local
510 TEE_Result res = mobj_reg_shm_release_by_cookie(cookie); in unregister_shm()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl.h2292 const unsigned char *cookie, size_t clen,
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog32 and possibly up to 571 bytes with a custom cookie check function.
2801 connection, if cookie verification is available
2802 (MBEDTLS_SSL_DTLS_HELLO_VERIFY defined in config.h, and usable cookie

Completed in 48 milliseconds