Searched refs:new_pos (Results 1 – 1 of 1) sorted by relevance
886 tee_fs_off_t new_pos = 0; in syscall_storage_obj_seek() local897 new_pos = offset; in syscall_storage_obj_seek()900 if (ADD_OVERFLOW(o->info.dataPosition, offset, &new_pos)) in syscall_storage_obj_seek()904 if (ADD_OVERFLOW(o->info.dataSize, offset, &new_pos)) in syscall_storage_obj_seek()911 if (new_pos < 0) in syscall_storage_obj_seek()912 new_pos = 0; in syscall_storage_obj_seek()914 if (new_pos > TEE_DATA_MAX_POSITION) { in syscall_storage_obj_seek()919 o->info.dataPosition = new_pos; in syscall_storage_obj_seek()