Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/md/bcache/btree.c, line 2018
- drivers/md/bcache/btree.h, line 360
- drivers/md/bcache/writeback.c, line 899
Smatch caller information:
drivers/md/bcache/writeback.c bch_root_node_dirty_init() -> bch_cannibalize_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root->keys.set | 4096-u64max |
| DATA_SOURCE | 0 | c | $0 |
| NOCHECK_CALL |
drivers/md/bcache/btree.c __bch_btree_map_nodes() -> bch_cannibalize_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root->io.s->done | 0-1 |
| PARAM_VALUE | 0 | c->root->io_mutex.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | c->root->keys.ops->insert_fixup | 3359186278354853888,8738410596996493312 |
| PARAM_VALUE | 0 | c->root->keys.ops->key_bad | 2053114610689146880,2965826758702149632 |
| PARAM_VALUE | 0 | c->root->keys.ops->key_dump | 5824308303565893632 |
| PARAM_VALUE | 0 | c->root->keys.ops->key_invalid | 5042869928339255296,8931906019736064000 |
| PARAM_VALUE | 0 | c->root->keys.ops->key_merge | 0,8943847820907044864 |
| PARAM_VALUE | 0 | c->root->keys.ops->key_to_text | 6644520337947410432 |
| PARAM_VALUE | 0 | c->root->keys.ops->sort_cmp | 127698777507876864,850943255651803136 |
| PARAM_VALUE | 0 | c->root->keys.ops->sort_fixup | 0,8945762327650275328 |
| PARAM_VALUE | 0 | c->root->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *c->verify_data->keys.set->prev | 0-255 |
| BUF_SIZE | 0 | c | (-1),87472 |
| BUF_SIZE | 0 | c | (-1),87472 |
| DATA_SOURCE | 0 | c | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 0 | c->root->c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->root->c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->root->c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->root->c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->root->c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 0 | c->root->c->search.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->search.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->sort.pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->verify_data->c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->verify_data->c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->verify_data->c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->verify_data->c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | c->verify_data->c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 0 | c->verify_data->c->search.min_nr | |
| HALF_LOCKED2 | global &bch_register_lock |
drivers/md/bcache/btree.c bch_btree_check_thread() -> bch_cannibalize_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root->c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | c->root->c->bucket_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | c->root->keys.set | 4096-u64max |
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_gc() -> bch_cannibalize_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | c->gc_mark_valid | 0 |
| PARAM_VALUE | 0 | c->root | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | c | 128 |
| BUF_SIZE | 0 | c | 128 |
| DATA_SOURCE | 0 | c | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_map_keys() -> bch_cannibalize_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | c | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | c | unit_array_size |
| HALF_LOCKED2 | 0 | &c->moving_in_flight |