Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Dcallout.c20 static void insert_callout(struct callout *co) in insert_callout() argument
25 if (co->expiry_value < co2->expiry_value) { in insert_callout()
26 TAILQ_INSERT_BEFORE(co2, co, link); in insert_callout()
31 TAILQ_INSERT_TAIL(&callout_head, co, link); in insert_callout()
37 struct callout *co = TAILQ_FIRST(&callout_head); in schedule_next_timeout() local
39 if (co) in schedule_next_timeout()
40 desc->set_next_timeout(desc, co->expiry_value); in schedule_next_timeout()
56 static bool callout_is_active(struct callout *co) in callout_is_active() argument
61 if (co2 == co) in callout_is_active()
67 void callout_rem(struct callout *co) in callout_rem() argument
[all …]
/optee_os/core/include/kernel/
H A Dcallout.h30 bool (*callback)(struct callout *co);
57 void callout_add(struct callout *co, bool (*callback)(struct callout *co),
73 void callout_rem(struct callout *co);
86 void callout_set_next_timeout(struct callout *co, uint32_t ms);
/optee_os/core/tests/
H A Dnotif_test_wd.c37 static bool test_wd_callback(struct callout *co) in test_wd_callback() argument
39 struct wd_data *wd = container_of(co, struct wd_data, callout); in test_wd_callback()
127 static bool periodic_callback(struct callout *co) in periodic_callback() argument
129 struct periodic_data *d = container_of(co, struct periodic_data, in periodic_callback()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dconstant_time_impl.h396 const unsigned char co = (unsigned char) mbedtls_ct_compiler_opaque(c); in mbedtls_ct_uchar_in_range_if() local
400 unsigned low_mask = ((unsigned) co - low) >> 8; in mbedtls_ct_uchar_in_range_if()
402 unsigned high_mask = ((unsigned) high - co) >> 8; in mbedtls_ct_uchar_in_range_if()
/optee_os/core/arch/riscv/kernel/
H A Dthread_optee_abi.c392 uint64_t co; in thread_rpc_alloc_arg() local
403 co = reg_pair_to_64(rpc_args[2], rpc_args[3]); in thread_rpc_alloc_arg()
408 mobj = rpc_shm_mobj_alloc(pa, size, co); in thread_rpc_alloc_arg()
414 thread_rpc_free_arg(co); in thread_rpc_alloc_arg()
/optee_os/core/arch/arm/kernel/
H A Dthread_optee_smc.c391 uint64_t co; in thread_rpc_alloc_arg() local
402 co = reg_pair_to_64(rpc_args[2], rpc_args[3]); in thread_rpc_alloc_arg()
407 mobj = rpc_shm_mobj_alloc(pa, size, co); in thread_rpc_alloc_arg()
413 thread_rpc_free_arg(co); in thread_rpc_alloc_arg()
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog2158 information (typically, a co-located process) could recover a Curve25519