Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- fs/btrfs/delayed-ref.c, line 408
- fs/btrfs/extent-tree.c
- fs/btrfs/tests/delayed-refs-tests.c, line 67
Smatch caller information:
fs/btrfs/extent-tree.c btrfs_run_delayed_refs_for_head() -> btrfs_put_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->add_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->ref_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->type | 0-171,173-255 |
| CAPPED_DATA | 0 | &ref->add_list | 1 |
| CAPPED_DATA | 0 | &ref->ref_node | 1 |
| DATA_SOURCE | 0 | ref | r btrfs_select_delayed_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->reloc_mutex |
fs/btrfs/extent-tree.c btrfs_run_delayed_refs_for_head() -> btrfs_put_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->add_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->ref_node.rb_left | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &ref->add_list | 1 |
| CAPPED_DATA | 0 | &ref->ref_node | 1 |
| DATA_SOURCE | 0 | ref | r btrfs_select_delayed_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->reloc_mutex |
fs/btrfs/tests/delayed-refs-tests.c delete_delayed_ref_node() -> btrfs_put_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->action | 1-2 |
| PARAM_VALUE | 0 | ref->add_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->bytenr | 0 |
| PARAM_VALUE | 0 | ref->num_bytes | 0-u32max |
| PARAM_VALUE | 0 | ref->parent | 0,1048576 |
| PARAM_VALUE | 0 | ref->ref_mod | 1-2 |
| PARAM_VALUE | 0 | ref->ref_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->ref_node.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->ref_root | 256-258 |
| PARAM_VALUE | 0 | ref->type | 176,178,182,184 |
| CAPPED_DATA | 0 | ref->action | 1 |
| CAPPED_DATA | 0 | ref->num_bytes | 1 |
| CAPPED_DATA | 0 | ref->parent | 1 |
| CAPPED_DATA | 0 | ref->ref_mod | 1 |
| CAPPED_DATA | 0 | ref->ref_root | 1 |
| CAPPED_DATA | 0 | ref->type | 1 |
| CAPPED_DATA | 0 | &ref->add_list | 1 |
| CAPPED_DATA | 0 | &ref->ref_node | 1 |
| DATA_SOURCE | 0 | ref | $1 |
| NOCHECK_CALL |
fs/btrfs/delayed-ref.c drop_delayed_ref() -> btrfs_put_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->add_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->ref_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->ref_node.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &ref->add_list | 1 |
| CAPPED_DATA | 0 | &ref->ref_node | 1 |
| DATA_SOURCE | 0 | ref | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ref | unit_byte |
| LOCK2 | &head->lock | ||
| HALF_LOCKED2 | &delayed_refs->lock | ||
| HALF_LOCKED2 | &delayed_refs->lock | ||
| HALF_LOCKED2 | &head->mutex | ||
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |