Searched refs:SUB_OVERFLOW (Results 1 – 10 of 10) sorted by relevance
/optee_os-3.20.0/core/pta/tests/ |
A D | misc.c | 93 if (SUB_OVERFLOW(8U, 1U, &r_s32)) in self_test_sub_overflow() 97 if (SUB_OVERFLOW(32U, 30U, &r_u32)) in self_test_sub_overflow() 101 if (!SUB_OVERFLOW(30U, 31U, &r_u32)) in self_test_sub_overflow() 104 if (SUB_OVERFLOW(30, 31, &r_s32)) in self_test_sub_overflow() 108 if (SUB_OVERFLOW(-1, INT32_MAX, &r_s32)) in self_test_sub_overflow() 112 if (!SUB_OVERFLOW(-2, INT32_MAX, &r_s32)) in self_test_sub_overflow() 115 if (SUB_OVERFLOW((uint32_t)30, (int32_t)-31, &r_s32)) in self_test_sub_overflow() 119 if (SUB_OVERFLOW((int32_t)30, (int32_t)-31, &r_s32)) in self_test_sub_overflow() 123 if (SUB_OVERFLOW((int32_t)-31, (uint32_t)30, &r_s32)) in self_test_sub_overflow() 127 if (SUB_OVERFLOW((int32_t)-31, (int32_t)-30, &r_s32)) in self_test_sub_overflow() [all …]
|
/optee_os-3.20.0/ldelf/ |
A D | ftrace.c | 37 if (SUB_OVERFLOW(finfo->buf_end.ptr64, finfo->buf_start.ptr64, in ftrace_init()
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | unwind_arm32.c | 66 if (SUB_OVERFLOW((vaddr_t)__exidx_end, (vaddr_t)__exidx_start, in unw_get_kernel_stack()
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | util.h | 151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
|
/optee_os-3.20.0/ta/trusted_keys/ |
A D | entry.c | 131 if (SUB_OVERFLOW(in_sz, sizeof(*hdr), &enc_key_len)) in huk_ae_decrypt()
|
/optee_os-3.20.0/core/mm/ |
A D | core_mmu.c | 193 if (SUB_OVERFLOW(len, 1, &end_pa) || ADD_OVERFLOW(pa, end_pa, &end_pa)) in pa_is_in_map() 1052 if (SUB_OVERFLOW(va, map->size, &va)) in assign_mem_va_dir() 1061 if (SUB_OVERFLOW(va, CORE_MMU_PGDIR_SIZE, &va)) in assign_mem_va_dir() 2216 if (SUB_OVERFLOW(len, 1, &end_pa) || ADD_OVERFLOW(pa, end_pa, &end_pa)) in phys_to_virt_tee_ram()
|
/optee_os-3.20.0/core/drivers/ |
A D | stm32_i2c.c | 439 if (SUB_OVERFLOW(sdadel_min, delay, &sdadel_min)) in i2c_compute_timing() 444 if (SUB_OVERFLOW(sdadel_max, delay, &sdadel_max)) in i2c_compute_timing()
|
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/ |
A D | scmi_server.c | 700 if (SUB_OVERFLOW(full_count, start_index, &out_count)) in pmic_describe_levels()
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_arith_mpi.c | 205 if (SUB_OVERFLOW(0, TEE_U32_FROM_BIG_ENDIAN(v), dest)) in TEE_BigIntConvertToS32()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_rpmb_fs.c | 1133 SUB_OVERFLOW(nblocks, 1, &rpmb_ctx->max_blk_idx)) { in tee_rpmb_init()
|
Completed in 21 milliseconds