Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/bcache/bset.c
- drivers/md/bcache/bset.h
- drivers/md/bcache/btree.c
- drivers/md/bcache/writeback.c, line 917
Smatch caller information:
drivers/md/bcache/writeback.c bch_dirty_init_thread() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 6988263798032490496 |
| PARAM_VALUE | 2 | search | 0 |
| NOCHECK_CALL |
drivers/md/bcache/writeback.c bch_sectors_dirty_init() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 254133837307498496 |
| PARAM_VALUE | 2 | search | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | b | ||
| HALF_LOCKED2 | &dc->writeback_lock | ||
| HALF_LOCKED2 | global &bch_register_lock |
drivers/md/bcache/bset.c __bch_check_keys() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 5239659691820687360 |
| PARAM_VALUE | 2 | search | 0 |
| DATA_SOURCE | 0 | b | $0 |
| STR_LEN | 0 | b | 7,9 |
| STR_LEN | 0 | b | 7,9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &b->write_lock |
drivers/md/bcache/bset.c __bch_count_data() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 0 | b->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | b->page_order | 0-63,255 |
| PARAM_VALUE | 1 | iter | 6705463959362039808 |
| PARAM_VALUE | 2 | search | 0 |
| CAPPED_DATA | 0 | b->page_order | 1 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &b->write_lock | ||
| HALF_LOCKED2 | &n1->io_mutex |
drivers/md/bcache/bset.c bch_btree_insert_key() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 0 | b->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | b->page_order | 0-63,255 |
| PARAM_VALUE | 1 | iter | 1376720844683714560 |
| PARAM_VALUE | 2 | search | 0,3878302481772290048 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &b->write_lock | ||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | &n2->io_mutex | ||
| HALF_LOCKED2 | &n2->write_lock | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/bset.c bch_btree_sort_into() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 2885623547180793856 |
| PARAM_VALUE | 2 | search | 0 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &n->write_lock | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/sysfs.c bch_root_usage() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 1679868775085109248 |
| PARAM_VALUE | 2 | search | 0 |
| NOCHECK_CALL | |||
| LOCK2 | b | ||
| LOCK2 | global &bch_register_lock |
drivers/md/bcache/btree.c bch_btree_check() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 8557152298088398848 |
| PARAM_VALUE | 2 | search | 0 |
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_check_recurse() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 6392494922386116608 |
| PARAM_VALUE | 2 | search | 0 |
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_check_recurse() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 6392494922386116608 |
| PARAM_VALUE | 1 | iter->iter.b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter->iter.size | 4 |
| PARAM_VALUE | 1 | iter->iter.used | 0-17 |
| PARAM_VALUE | 2 | search | 0 |
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_check_thread() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 1130872355119517696 |
| PARAM_VALUE | 2 | search | 0 |
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_map_keys_recurse() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 4606654962132836352 |
| DATA_SOURCE | 2 | search | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | b |
drivers/md/bcache/btree.c bch_btree_map_nodes_recurse() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 1757966870521991168 |
| DATA_SOURCE | 2 | search | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | b |
drivers/md/bcache/btree.c btree_gc_count_keys() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 1787716196848709632 |
| PARAM_VALUE | 2 | search | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &last->b->io_mutex | ||
| HALF_LOCKED2 | b |
drivers/md/bcache/btree.c btree_gc_mark_node() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 8072389658320084992 |
| PARAM_VALUE | 2 | search | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | b |
drivers/md/bcache/btree.c btree_gc_recurse() -> bch_btree_iter_stack_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 5181891542499254272 |
| PARAM_VALUE | 2 | search | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | b |