Searched refs:pos_tmp (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_svc_storage.c | 722 size_t pos_tmp = 0; in syscall_storage_obj_read() local 740 if (ADD_OVERFLOW(o->info.dataPosition, len, &pos_tmp)) { in syscall_storage_obj_read() 748 if (ADD_OVERFLOW(o->ds_pos, o->info.dataPosition, &pos_tmp)) { in syscall_storage_obj_read() 752 res = o->pobj->fops->read(o->fh, pos_tmp, NULL, data, &bytes); in syscall_storage_obj_read() 775 size_t pos_tmp = 0; in syscall_storage_obj_write() local 792 if (ADD_OVERFLOW(o->info.dataPosition, len, &pos_tmp)) { in syscall_storage_obj_write() 799 if (ADD_OVERFLOW(o->ds_pos, o->info.dataPosition, &pos_tmp)) { in syscall_storage_obj_write() 803 res = o->pobj->fops->write(o->fh, pos_tmp, NULL, data, len); in syscall_storage_obj_write()
|