Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/extent-tree.c btrfs_run_delayed_refs_for_head() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | head | 1 |
| DATA_SOURCE | 0 | head | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &head->lock | |
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |
fs/btrfs/extent-tree.c btrfs_run_delayed_refs_for_head() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->extent_op | 0 |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | head->must_insert_reserved | 0 |
| CAPPED_DATA | 0 | head | 1 |
| DATA_SOURCE | 0 | head | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &head->lock | |
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |
fs/btrfs/tests/delayed-refs-tests.c merge_tests() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->bytenr | 0 |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | head->must_insert_reserved | 0 |
| PARAM_VALUE | 0 | head->num_bytes | 0-u32max |
| PARAM_VALUE | 0 | head->ref_mod | (-1)-1 |
| PARAM_VALUE | 0 | head->total_ref_mod | (-1)-1 |
| CAPPED_DATA | 0 | head | 1 |
| CAPPED_DATA | 0 | head->num_bytes | 1 |
| CAPPED_DATA | 0 | head->ref_mod | 1 |
| CAPPED_DATA | 0 | head->total_ref_mod | 1 |
| DATA_SOURCE | 0 | head | r btrfs_select_ref_head |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &head->lock | |
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |
fs/btrfs/tests/delayed-refs-tests.c select_delayed_refs_test() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->bytenr | 0 |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | head->must_insert_reserved | 0 |
| PARAM_VALUE | 0 | head->num_bytes | 0-u32max |
| PARAM_VALUE | 0 | head->ref_mod | (-1)-1 |
| PARAM_VALUE | 0 | head->total_ref_mod | (-1)-1 |
| CAPPED_DATA | 0 | head | 1 |
| CAPPED_DATA | 0 | head->num_bytes | 1 |
| CAPPED_DATA | 0 | head->ref_mod | 1 |
| CAPPED_DATA | 0 | head->total_ref_mod | 1 |
| DATA_SOURCE | 0 | head | r btrfs_select_ref_head |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &head->lock | |
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |
fs/btrfs/tests/delayed-refs-tests.c select_delayed_refs_test() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->bytenr | 0 |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | head->must_insert_reserved | 0 |
| PARAM_VALUE | 0 | head->num_bytes | 0-u32max |
| PARAM_VALUE | 0 | head->ref_mod | (-1)-1 |
| PARAM_VALUE | 0 | head->ref_tree.rb_leftmost | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ref_tree.rb_leftmost->rb_left | 0 |
| PARAM_VALUE | 0 | head->ref_tree.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | head->total_ref_mod | (-1)-1 |
| CAPPED_DATA | 0 | head | 1 |
| CAPPED_DATA | 0 | head->num_bytes | 1 |
| CAPPED_DATA | 0 | head->ref_mod | 1 |
| CAPPED_DATA | 0 | head->total_ref_mod | 1 |
| DATA_SOURCE | 0 | head | r btrfs_select_ref_head |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &head->lock | |
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |
fs/btrfs/tests/delayed-refs-tests.c select_delayed_refs_test() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->bytenr | 0 |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | head->must_insert_reserved | 0 |
| PARAM_VALUE | 0 | head->num_bytes | 0-u32max |
| PARAM_VALUE | 0 | head->ref_mod | (-1)-1 |
| PARAM_VALUE | 0 | head->total_ref_mod | (-1)-1 |
| CAPPED_DATA | 0 | head | 1 |
| CAPPED_DATA | 0 | head->num_bytes | 1 |
| CAPPED_DATA | 0 | head->ref_mod | 1 |
| CAPPED_DATA | 0 | head->total_ref_mod | 1 |
| DATA_SOURCE | 0 | head | r btrfs_select_ref_head |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &head->lock | |
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |
fs/btrfs/tests/delayed-refs-tests.c select_delayed_refs_test() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->bytenr | 0 |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | head->must_insert_reserved | 0 |
| PARAM_VALUE | 0 | head->num_bytes | 0-u32max |
| PARAM_VALUE | 0 | head->ref_mod | (-1)-1 |
| PARAM_VALUE | 0 | head->ref_tree.rb_leftmost | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ref_tree.rb_leftmost->rb_left | 0 |
| PARAM_VALUE | 0 | head->ref_tree.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | head->total_ref_mod | (-1)-1 |
| CAPPED_DATA | 0 | head | 1 |
| CAPPED_DATA | 0 | head->num_bytes | 1 |
| CAPPED_DATA | 0 | head->ref_mod | 1 |
| CAPPED_DATA | 0 | head->total_ref_mod | 1 |
| DATA_SOURCE | 0 | head | r btrfs_select_ref_head |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &head->lock | |
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |
fs/btrfs/tests/delayed-refs-tests.c simple_test() -> btrfs_select_delayed_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->bytenr | 0 |
| PARAM_VALUE | 0 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | head->must_insert_reserved | 0 |
| PARAM_VALUE | 0 | head->num_bytes | 0-u32max |
| PARAM_VALUE | 0 | head->ref_mod | (-1)-1 |
| PARAM_VALUE | 0 | head->total_ref_mod | (-1)-1 |
| CAPPED_DATA | 0 | head | 1 |
| CAPPED_DATA | 0 | head->num_bytes | 1 |
| CAPPED_DATA | 0 | head->ref_mod | 1 |
| CAPPED_DATA | 0 | head->total_ref_mod | 1 |
| DATA_SOURCE | 0 | head | r btrfs_select_ref_head |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &head->lock | |
| TYPE_LOCK | (struct btrfs_delayed_ref_head)->lock |