Searched refs:next_offs (Results 1 – 5 of 5) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | embedded_ts.c | 127 size_t next_offs = 0; in read_uncompressed() local 129 if (ADD_OVERFLOW(h->offs, len, &next_offs) || in read_uncompressed() 130 next_offs > h->ts->size) in read_uncompressed() 137 h->offs = next_offs; in read_uncompressed()
|
| H A D | ree_fs_ta.c | 558 size_t next_offs = 0; in ree_fs_ta_read() local 566 if (ADD_OVERFLOW(handle->offs, len, &next_offs) || in ree_fs_ta_read() 567 next_offs > handle->nw_ta_size) in ree_fs_ta_read() 616 handle->offs = next_offs; in ree_fs_ta_read() 778 size_t next_offs = 0; in buf_ta_read() local 780 if (ADD_OVERFLOW(handle->offs, len, &next_offs) || in buf_ta_read() 781 next_offs > handle->ta_size) in buf_ta_read() 791 handle->offs = next_offs; in buf_ta_read()
|
| H A D | ldelf_syscalls.c | 252 size_t next_offs = 0; in binh_copy_to() local 257 if (ADD_OVERFLOW(offs_bytes, num_bytes, &next_offs)) in binh_copy_to() 268 if (next_offs > binh->size_bytes) { in binh_copy_to() 289 binh->offs_bytes = next_offs; in binh_copy_to()
|
| /optee_os/core/tee/ |
| H A D | tee_svc_cryp.c | 692 size_t next_offs; in op_u32_to_binary_helper() local 694 if (ADD_OVERFLOW(*offs, sizeof(field), &next_offs)) in op_u32_to_binary_helper() 697 if (data && next_offs <= data_len) { in op_u32_to_binary_helper() 701 (*offs) = next_offs; in op_u32_to_binary_helper() 765 size_t next_offs; in op_attr_secret_value_to_binary() local 771 if (ADD_OVERFLOW(*offs, key->key_size, &next_offs)) in op_attr_secret_value_to_binary() 774 if (data && next_offs <= data_len) in op_attr_secret_value_to_binary() 776 (*offs) = next_offs; in op_attr_secret_value_to_binary() 885 size_t next_offs; in op_attr_bignum_to_binary() local 891 if (ADD_OVERFLOW(*offs, n, &next_offs)) in op_attr_bignum_to_binary() [all …]
|
| /optee_os/ldelf/ |
| H A D | ta_elf.c | 1194 static size_t next_offs = TCB_HEAD_SIZE; in set_tls_offset() local 1200 elf->tls_tcb_offs = next_offs; in set_tls_offset() 1201 next_offs += elf->tls_memsz; in set_tls_offset()
|