Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/remap_range.c vfs_clone_file_range() -> generic_file_rw_checks()

Type Parameter Key Value
PARAM_VALUE 0 file_in 4096-ptr_max
PARAM_VALUE 1 file_out 4096-ptr_max
BUF_SIZE 0 file_in s32min,(-1),1-s32max
BUF_SIZE 0 file_in s32min,(-1),1-s32max
BUF_SIZE 1 file_out s32min,(-1)-s32max
BUF_SIZE 1 file_out s32min,(-1)-s32max
DATA_SOURCE 0 file_in $0
DATA_SOURCE 1 file_out $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode_out->i_rwsem
HALF_LOCKED2 &pool->lock

fs/read_write.c generic_copy_file_checks() -> generic_file_rw_checks()

Type Parameter Key Value
PARAM_VALUE 0 file_in 4096-ptr_max
PARAM_VALUE 1 file_out 4096-ptr_max
BUF_SIZE 0 file_in s32min,(-1),1-s32max
BUF_SIZE 0 file_in s32min,(-1),1-s32max
BUF_SIZE 1 file_out s32min,(-1),1-s32max
BUF_SIZE 1 file_out s32min,(-1),1-s32max
DATA_SOURCE 0 file_in $0
DATA_SOURCE 1 file_out $2
RX_PATH
UNITS 0 file_in unit_byte
UNITS 1 file_out unit_byte
HALF_LOCKED2 &inode_out->i_rwsem
HALF_LOCKED2 &pool->lock