Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/xfs/xfs_exchrange.c xfs_exchange_range() -> remap_verify_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 3 | write | 1 |
| CAPPED_DATA | 0 | file->f_path.mnt | 1 |
| BIT_INFO | 0 | file->f_flags | 0x0,0xfffffbff |
| BIT_INFO | 0 | file->f_mode | 0x3,0xffffffff |
| USER_DATA | 1 | pos | s64min-s64max |
| USER_DATA | 2 | len | s64min-s64max |
| UNITS | 1 | pos | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/xfs/xfs_exchrange.c xfs_exchange_range() -> remap_verify_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-s64max |
| PARAM_VALUE | 3 | write | 1 |
| CAPPED_DATA | 0 | file->f_path.mnt | 1 |
| FUZZY_MAX | 2 | len | 0 |
| BIT_INFO | 0 | file->f_flags | 0x0,0xfffffbff |
| BIT_INFO | 0 | file->f_mode | 0x3,0xffffffff |
| USER_DATA | 1 | pos | s64min-s64max |
| USER_DATA | 2 | len | 0-s64max |
| UNITS | 1 | pos | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/remap_range.c vfs_clone_file_range() -> remap_verify_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->remap_file_range | 1-u64max |
| PARAM_VALUE | 3 | write | 0 |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | pos | $1 |
| DATA_SOURCE | 2 | len | $4 |
| NOSPEC | 1 | pos | |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | s64min-s64max |
| USER_DATA | 2 | len | s64min-s64max |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &inode_out->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/remap_range.c vfs_clone_file_range() -> remap_verify_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-s64max |
| PARAM_VALUE | 3 | write | 1 |
| BUF_SIZE | 0 | file | s32min,(-1)-s32max |
| BUF_SIZE | 0 | file | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | file | $2 |
| DATA_SOURCE | 1 | pos | $3 |
| DATA_SOURCE | 2 | len | $4 |
| NOSPEC | 1 | pos | |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | s64min-s64max |
| USER_DATA | 2 | len | 0-s64max |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &inode_out->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/remap_range.c vfs_dedupe_file_range() -> remap_verify_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->remap_file_range | 1-u64max |
| PARAM_VALUE | 3 | write | 0 |
| DATA_SOURCE | 0 | file | $0 |
| BIT_INFO | 0 | file->f_mode | 0x1,0xffffffff |
| USER_DATA | 1 | pos | s64min-s64max |
| USER_DATA | 2 | len | s64min-s64max |
fs/remap_range.c vfs_dedupe_file_range_one() -> remap_verify_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 1-ptr_max |
| PARAM_VALUE | 1 | pos | 0-s64max |
| PARAM_VALUE | 2 | len | 0-s64max |
| PARAM_VALUE | 3 | write | 0 |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| CAPPED_DATA | 0 | file | 1 |
| CAPPED_DATA | 1 | pos | 1 |
| CAPPED_DATA | 1 | pos | 1 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | pos | $1 |
| DATA_SOURCE | 2 | len | $4 |
| NOSPEC | 1 | pos | |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | 0-s64max[c] |
| USER_DATA | 2 | len | 0-s64max[c] |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| HALF_LOCKED2 | &inode_out->i_rwsem |
fs/remap_range.c vfs_dedupe_file_range_one() -> remap_verify_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 0-s64max |
| PARAM_VALUE | 3 | write | 1 |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| CAPPED_DATA | 0 | file | 1 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | file | $2 |
| DATA_SOURCE | 1 | pos | $3 |
| DATA_SOURCE | 2 | len | $4 |
| NOSPEC | 1 | pos | |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | s64min-s64max |
| USER_DATA | 2 | len | 0-s64max[c] |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| HALF_LOCKED2 | &inode_out->i_rwsem |