Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/defrag.c defrag_check_next_extent() -> get_extent_max_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | em | 4096-ptr_max |
| CAPPED_DATA | 1 | em->len | 1 |
| CAPPED_DATA | 1 | em->start | 1 |
| DATA_SOURCE | 1 | em | $1 |
| BIT_INFO | 1 | em->flags | 0x0,0xffffffef |
| NOSPEC | 1 | em->len | |
| NOSPEC | 1 | em->start | |
| USER_DATA | 1 | em->len | 1-s32max[c] |
| USER_DATA | 1 | em->start | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | em->start | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/defrag.c defrag_collect_targets() -> get_extent_max_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | em | 4096-ptr_max |
| CAPPED_DATA | 1 | em->len | 1 |
| DATA_SOURCE | 1 | em | r defrag_lookup_extent |
| BIT_INFO | 1 | em->flags | 0x0,0xffffffef |
| NOSPEC | 1 | em->start | |
| USER_DATA | 1 | em->len | 1-4294967294[c] |
| USER_DATA | 1 | em->start | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | em->start | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |