Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ceph/addr.c ceph_netfs_issue_read() -> ceph_fscrypt_adjust_off_and_len()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 off 3189234317496807424
PARAM_VALUE 2 len 3640366479097417728
BIT_INFO 0 inode->i_flags 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *off 0-18446744073709551614
USER_DATA 2 *len 0-9223372036854775806[c]
USER_PTR 1 off
USER_PTR 2 len

fs/ceph/file.c __ceph_sync_read() -> ceph_fscrypt_adjust_off_and_len()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 off 5746588710005960704
PARAM_VALUE 2 len 6287187227089645568
PARAM_VALUE 2 *len 1-1000000000
DATA_SOURCE 0 inode $0
NOSPEC 1 *off
NOSPEC 2 *len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *off 0-13442450941[c]
USER_DATA 2 *len 1-1000000000
USER_PTR 1 off
USER_PTR 2 len
HALF_LOCKED2 &inode->i_rwsem

fs/ceph/file.c ceph_sync_write() -> ceph_fscrypt_adjust_off_and_len()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 off 567397565412487168
PARAM_VALUE 2 len 4115139265122820096
PARAM_VALUE 2 *len 1-1000000000
CAPPED_DATA 0 inode->i_sb->s_time_max 1
PARAM_COMPARE 0 inode->i_sb->s_time_max >= $0->i_sb->s_time_min
NOSPEC 0 inode->i_size
NOSPEC 1 *off
NOSPEC 2 *len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 inode->i_blocks 0-18014398509481984[c]
USER_DATA 0 inode->i_size (-9223372036854775807)-9223372036854775806
USER_DATA 1 *off 0-9223372036854775806,9223372036854775808-18446744073709551614[
USER_DATA 2 *len 1-1000000000
USER_PTR 1 off
USER_PTR 2 len
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem