Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/backref.c add_missing_keys() -> free_pref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->key_for_search.type | 0 |
| PARAM_VALUE | 0 | ref->parent | 0 |
| PARAM_VALUE | 0 | ref->wanted_disk_byte | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ref | unit_byte |
| HALF_LOCKED2 | &fs_info->commit_root_sem |
fs/btrfs/backref.c prelim_ref_insert() -> free_pref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| CAPPED_DATA | 0 | &ref->rbnode | 1 |
| DATA_SOURCE | 0 | ref | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ref->wanted_disk_byte | |
| UNITS | 0 | ref | unit_byte |
| HALF_LOCKED2 | &fs_info->commit_root_sem |
fs/btrfs/backref.c prelim_release() -> free_pref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->inode_list | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/backref.c resolve_indirect_refs() -> free_pref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->count | 0 |
| PARAM_VALUE | 0 | ref->parent | 0 |
| PARAM_VALUE | 0 | ref->rbnode.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->rbnode.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &ref->rbnode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ref | unit_byte |
| HALF_LOCKED2 | &ctx->fs_info->commit_root_sem |
fs/btrfs/backref.c resolve_indirect_refs() -> free_pref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->count | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ref->parent | 0 |
| PARAM_VALUE | 0 | ref->rbnode.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->rbnode.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &ref->rbnode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ref | unit_byte |
| HALF_LOCKED2 | &ctx->fs_info->commit_root_sem |
fs/btrfs/backref.c resolve_indirect_refs() -> free_pref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->count | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ref->parent | 0 |
| PARAM_VALUE | 0 | ref->rbnode.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->rbnode.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 0 | ref->count | 1 |
| CAPPED_DATA | 0 | &ref->rbnode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ref | unit_byte |
| HALF_LOCKED2 | &ctx->fs_info->commit_root_sem |
fs/btrfs/backref.c resolve_indirect_refs() -> free_pref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->count | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ref->rbnode.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->rbnode.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 0 | ref->count | 1 |
| CAPPED_DATA | 0 | &ref->rbnode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ref | unit_byte |
| HALF_LOCKED2 | &ctx->fs_info->commit_root_sem |