Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/ordered-data.c btrfs_lookup_first_ordered_range() -> btrfs_range_overlaps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| DATA_SOURCE | 1 | file_offset | $1 |
| DATA_SOURCE | 2 | len | $2 |
| NOSPEC | 1 | file_offset | |
| NOSPEC | 1 | file_offset | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file_offset | 0-9223372036854775807[c] |
| NO_OVERFLOW_SIMPLE | 0 | entry->file_offset | |
| NO_OVERFLOW_SIMPLE | 0 | entry->num_bytes | |
| UNITS | 0 | entry | unit_byte |
| UNITS | 1 | file_offset | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &inode->ordered_tree_lock | ||
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/ordered-data.c btrfs_lookup_first_ordered_range() -> btrfs_range_overlaps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| DATA_SOURCE | 1 | file_offset | $1 |
| DATA_SOURCE | 2 | len | $2 |
| NOSPEC | 1 | file_offset | |
| NOSPEC | 1 | file_offset | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file_offset | 0-9223372036854775807[c] |
| NO_OVERFLOW_SIMPLE | 0 | entry->file_offset | |
| NO_OVERFLOW_SIMPLE | 0 | entry->num_bytes | |
| UNITS | 0 | entry | unit_byte |
| UNITS | 1 | file_offset | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &inode->ordered_tree_lock | ||
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |
fs/btrfs/ordered-data.c btrfs_lookup_ordered_range() -> btrfs_range_overlaps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| DATA_SOURCE | 1 | file_offset | $1 |
| DATA_SOURCE | 2 | len | $2 |
| NOSPEC | 1 | file_offset | |
| NOSPEC | 1 | file_offset | |
| NOSPEC | 2 | len | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file_offset | 0-u64max |
| USER_DATA | 2 | len | 0-5294967294 |
| UNITS | 0 | entry | unit_byte |
| UNITS | 1 | file_offset | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &inode->ordered_tree_lock | ||
| HALF_LOCKED2 | &inode->i_mmap_lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct btrfs_inode)->ordered_tree_lock |