Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ext4/extents.c ext4_fiemap() -> ext4_fiemap_check_ranges()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | start | $2 |
| USER_DATA | 1 | start | 0-u64max |
| USER_DATA | 2 | *len | 0-u64max |
| USER_PTR | 2 | len | |
| LOCK2 | 0 | &inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/extents.c ext4_get_es_cache() -> ext4_fiemap_check_ranges()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_maxbytes | s64min-(-1),1-s64max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 2 | len | 4096-ptr_max |
| PARAM_VALUE | 2 | *len | 1-u64max |
| CAPPED_DATA | 0 | inode->i_sb->s_maxbytes | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | start | $2 |
| PARAM_COMPARE | 0 | inode->i_sb->s_maxbytes | > $1 |
| PARAM_COMPARE | 1 | start | < $0->i_sb->s_maxbytes |
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| USER_DATA | 2 | *len | 1-9223372036854775807[c] |
| UNITS | 1 | start | unit_byte |
| USER_PTR | 2 | len |