Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/bcache/alloc.c __bch_invalidate_one_bucket() -> bch_inc_gen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | ca | (-1),128 |
| BUF_SIZE | 0 | ca | (-1),128 |
| DATA_SOURCE | 0 | ca | $0 |
| DATA_SOURCE | 1 | b | $1 |
| NOCHECK_CALL | |||
| UNITS | 0 | ca | unit_byte |
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | 0 | &ca->set->bucket_lock | |
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c make_btree_freeing_key() -> bch_inc_gen()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ca | unit_byte |
| LOCK2 | &b->c->bucket_lock | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |