Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/md/bcache/bset.c, line 54 (as a function)
- drivers/md/bcache/bset.h, line 577 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/md/bcache/bset.c bch_count_data() -> __bch_count_data()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->ops->key_merge | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->ops->sort_fixup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->page_order | 0-63,255 |
| PARAM_VALUE | 0 | *b->expensive_debug_checks | 1 |
| CAPPED_DATA | 0 | b->page_order | 1 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &b->write_lock | ||
| HALF_LOCKED2 | b |
drivers/md/bcache/btree.c bch_count_data() -> __bch_count_data()
| 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->expensive_debug_checks | 1 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &b->write_lock | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | &n2->io_mutex | ||
| HALF_LOCKED2 | &n2->write_lock | ||
| TYPE_LOCK | (struct btree)->write_lock |