Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/smb2ops.c smb3_collapse_range() -> smb2_copychunk_range()

Type Parameter Key Value
PARAM_VALUE 3 src_off 0-9223372036854775806,9223372036854775808-u64max
PARAM_VALUE 5 dst_off 0-9223372036854775806,9223372036854775808-u64max
BUF_SIZE 1 src_file s32min-(-2),1-s32max
BUF_SIZE 1 src_file s32min-(-2),1-s32max
BUF_SIZE 2 dst_file s32min-(-2),1-s32max
BUF_SIZE 2 dst_file s32min-(-2),1-s32max
CAPPED_DATA 5 dst_off 1
DATA_SOURCE 0 xid r _get_xid
DATA_SOURCE 5 dst_off $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 len 1-9223372036854775806[c]
USER_DATA 5 dst_off 0-9223372036854775806[c]
LOCK2 &inode->i_mapping->invalidate_lock
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/smb/client/smb2ops.c smb3_insert_range() -> smb2_copychunk_range()

Type Parameter Key Value
PARAM_VALUE 1 src_file 4096-ptr_max
PARAM_VALUE 2 dst_file 4096-ptr_max
PARAM_VALUE 3 src_off 0-18446744073709551614
PARAM_VALUE 4 len 1-u64max
BUF_SIZE 1 src_file s32min-(-2),1-s32max
BUF_SIZE 1 src_file s32min-(-2),1-s32max
BUF_SIZE 2 dst_file s32min-(-2),1-s32max
BUF_SIZE 2 dst_file s32min-(-2),1-s32max
CAPPED_DATA 3 src_off 1
DATA_SOURCE 0 xid r _get_xid
DATA_SOURCE 3 src_off $2
NOSPEC 3 src_off
NOSPEC 3 src_off
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 src_off 1-9223372036854775807[c]
USER_DATA 4 len 1-9223372036854775806[c]
LOCK2 &inode->i_mapping->invalidate_lock
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/smb/client/cifsfs.c cifs_file_copychunk_range() -> (struct smb_version_operations)->copychunk_range()

Type Parameter Key Value
PARAM_VALUE 1 src_file 4096-ptr_max
PARAM_VALUE 1 src_file->tlink 4096-ptr_max
PARAM_VALUE 1 *src_file->tlink->tl_tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *src_file->tlink->tl_tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 2 dst_file 4096-ptr_max
PARAM_VALUE 2 dst_file->tlink 4096-ptr_max
PARAM_VALUE 2 dst_file->tlink->tl_tcon->ses 4096-ptr_max
PARAM_VALUE 2 dst_file->tlink->tl_tcon->ses->server 4096-ptr_max
PARAM_VALUE 2 dst_file->tlink->tl_tcon->ses->server->ops 4096-ptr_max
PARAM_VALUE 2 dst_file->tlink->tl_tcon->ses->server->ops->copychunk_range 4359182417368846336
PARAM_VALUE 3 src_off 0-1000000000
PARAM_VALUE 5 dst_off 0-1000000000
BUF_SIZE 1 src_file s32min-(-2),1-s32max
BUF_SIZE 1 src_file s32min-(-2),1-s32max
BUF_SIZE 2 dst_file s32min-(-2),1-s32max
BUF_SIZE 2 dst_file s32min-(-2),1-s32max
CAPPED_DATA 3 src_off 1
CAPPED_DATA 5 dst_off 1
DATA_SOURCE 0 xid $0
DATA_SOURCE 3 src_off $2
DATA_SOURCE 4 len $5
DATA_SOURCE 5 dst_off $4
NOSPEC 3 src_off
NOSPEC 3 src_off
NOSPEC 4 len
NOSPEC 4 len
NOSPEC 5 dst_off
NOSPEC 5 dst_off
RX_PATH
USER_DATA 3 src_off 0-1000000000[c]
USER_DATA 4 len 1-1000000000[c]
USER_DATA 5 dst_off 0-1000000000[c]
NO_OVERFLOW_SIMPLE 3 src_off
NO_OVERFLOW_SIMPLE 4 len