Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/bcache/writeback.c refill_dirty() -> bch_refill_keybuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c->root->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | end | 9220198735321792512 |
| BUF_SIZE | 1 | buf | 48136 |
| NOCHECK_CALL | |||
| LOCK2 | &dc->writeback_lock | ||
| TYPE_LOCK | (struct cached_dev)->writeback_lock |
drivers/md/bcache/writeback.c refill_dirty() -> bch_refill_keybuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->btree_cache_alloc_lock | 0 |
| PARAM_VALUE | 0 | c->btree_cannibalize_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->root | 4096-ptr_max |
| PARAM_VALUE | 0 | c->root->keys.page_order | 0-63,255 |
| PARAM_VALUE | 0 | c->root->keys.set | 4096-u64max |
| 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 | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | end | 3467675534183759872 |
| BUF_SIZE | 1 | buf | 48136 |
| CAPPED_DATA | 0 | c->root | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &dc->writeback_lock | ||
| TYPE_LOCK | (struct cached_dev)->writeback_lock |
drivers/md/bcache/writeback.c refill_full_stripes() -> bch_refill_keybuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c->root->keys.ops | 0,4889910169258827776,7358500608655163392 |
| PARAM_VALUE | 0 | c->root->keys.page_order | 0-63,255 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | end | 4096-ptr_max |
| BUF_SIZE | 1 | buf | 48136 |
| NOCHECK_CALL | |||
| LOCK2 | &dc->writeback_lock | ||
| TYPE_LOCK | (struct cached_dev)->writeback_lock |
drivers/md/bcache/btree.c bch_keybuf_next_rescan() -> bch_refill_keybuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c->moving_in_flight.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->root->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | end | 4096-ptr_max |
| BUF_SIZE | 0 | c | (-1),128 |
| BUF_SIZE | 0 | c | (-1),128 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | end | $2 |
| DATA_SOURCE | 3 | pred | $3 |
| NOCHECK_CALL | |||
| UNITS | 0 | c | unit_array_size |
| HALF_LOCKED2 | 0 | &c->moving_in_flight |