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_dedupe_file_range() -> vfs_dedupe_file_range_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src_file | 4096-ptr_max |
| PARAM_VALUE | 0 | src_file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | src_file->f_op->remap_file_range | 1-u64max |
| PARAM_VALUE | 1 | src_pos | 0-s64max |
| PARAM_VALUE | 2 | dst_file | 0,4-u64max |
| PARAM_VALUE | 4 | len | 0-1073741824 |
| PARAM_VALUE | 5 | remap_flags | 2 |
| CAPPED_DATA | 4 | len | 1 |
| DATA_SOURCE | 0 | src_file | $0 |
| BIT_INFO | 0 | src_file->f_mode | 0x1,0xffffffff |
| USER_DATA | 1 | src_pos | 0-s64max |
| USER_DATA | 3 | dst_pos | s64min-s64max[u] |
| USER_DATA | 4 | len | 1-1073741823[c] |
fs/overlayfs/file.c ovl_copyfile() -> vfs_dedupe_file_range_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src_file | 1-ptr_max |
| PARAM_VALUE | 1 | src_pos | 0-s64max |
| PARAM_VALUE | 2 | dst_file | 1-ptr_max |
| PARAM_VALUE | 3 | dst_pos | 0-s64max |
| PARAM_VALUE | 4 | len | 0-s64max |
| PARAM_VALUE | 5 | remap_flags | 0-2 |
| BUF_SIZE | 0 | src_file | s32min,(-1)-s32max |
| BUF_SIZE | 0 | src_file | s32min,(-1)-s32max |
| BUF_SIZE | 2 | dst_file | s32min,(-1)-s32max |
| BUF_SIZE | 2 | dst_file | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | src_file | 1 |
| CAPPED_DATA | 1 | src_pos | 1 |
| CAPPED_DATA | 1 | src_pos | 1 |
| CAPPED_DATA | 2 | dst_file | 1 |
| CAPPED_DATA | 3 | dst_pos | 1 |
| CAPPED_DATA | 3 | dst_pos | 1 |
| CAPPED_DATA | 4 | len | 1 |
| CAPPED_DATA | 4 | len | 1 |
| DATA_SOURCE | 0 | src_file | r ovl_real_file |
| DATA_SOURCE | 1 | src_pos | $1 |
| DATA_SOURCE | 2 | dst_file | r ovl_real_file |
| DATA_SOURCE | 3 | dst_pos | $3 |
| DATA_SOURCE | 4 | len | $4 |
| DATA_SOURCE | 5 | remap_flags | $5 |
| NOSPEC | 1 | src_pos | |
| NOSPEC | 1 | src_pos | |
| NOSPEC | 3 | dst_pos | |
| NOSPEC | 3 | dst_pos | |
| NOSPEC | 4 | len | |
| NOSPEC | 4 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | src_pos | 0-s64max[c] |
| USER_DATA | 3 | dst_pos | 0-s64max[c] |
| USER_DATA | 4 | len | 0-s64max[c] |
| NO_OVERFLOW_SIMPLE | 1 | src_pos | |
| NO_OVERFLOW_SIMPLE | 4 | len | |
| LOCK2 | &inode_out->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |