Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/extent-tree.c __btrfs_free_extent() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 176,178,182,184 |
| DATA_SOURCE | 0 | node | $2 |
| FUZZY_MAX | 0 | node->type | 184 |
| BIT_INFO | 0 | node->type | 0xb0,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &href->mutex |
fs/btrfs/extent-tree.c __btrfs_inc_extent_ref() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 176,178,182,184 |
| DATA_SOURCE | 0 | node | $1 |
| FUZZY_MAX | 0 | node->type | 184 |
| BIT_INFO | 0 | node->type | 0xb0,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &href->mutex |
fs/btrfs/extent-tree.c check_delayed_ref() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 178 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | node | unit_byte |
| LOCK2 | &head->lock | ||
| LOCK2 | &head->mutex | ||
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock | ||
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->mutex |
fs/btrfs/extent-tree.c insert_extent_data_ref() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 176,178,182,184 |
| DATA_SOURCE | 0 | node | $2 |
| BIT_INFO | 0 | node->type | 0xb0,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &href->mutex |
fs/btrfs/extent-tree.c run_delayed_data_ref() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 178,184 |
| DATA_SOURCE | 0 | node | $2 |
| FUZZY_MAX | 0 | node->type | 184 |
| BIT_INFO | 0 | node->type | 0xb0,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &href->mutex |
fs/btrfs/tests/delayed-refs-tests.c validate_ref_node() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 176,178,182,184 |
| CAPPED_DATA | 0 | node->action | 1 |
| CAPPED_DATA | 0 | node->num_bytes | 1 |
| CAPPED_DATA | 0 | node->parent | 1 |
| CAPPED_DATA | 0 | node->ref_root | 1 |
| CAPPED_DATA | 0 | node->type | 1 |
| DATA_SOURCE | 0 | node | $0 |
fs/btrfs/tests/delayed-refs-tests.c validate_ref_node() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 178,184 |
| CAPPED_DATA | 0 | node->action | 1 |
| CAPPED_DATA | 0 | node->num_bytes | 1 |
| CAPPED_DATA | 0 | node->parent | 1 |
| CAPPED_DATA | 0 | node->ref_root | 1 |
| CAPPED_DATA | 0 | node->type | 1 |
| DATA_SOURCE | 0 | node | $0 |
fs/btrfs/backref.c add_delayed_refs() -> btrfs_delayed_ref_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 178 |
| CAPPED_DATA | 0 | node->seq | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | node | unit_byte |
| LOCK2 | &head->lock | ||
| LOCK2 | &head->mutex | ||
| HALF_LOCKED2 | &fs_info->commit_root_sem | ||
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock | ||
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->mutex |