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 invalidate_buckets_fifo() -> bch_can_invalidate_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | ca | 128 |
| BUF_SIZE | 0 | ca | 128 |
| DATA_SOURCE | 0 | ca | $0 |
| LOCK2 | 0 | &ca->set->bucket_lock | |
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/alloc.c invalidate_buckets_lru() -> bch_can_invalidate_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-18446744073709547519 |
| BUF_SIZE | 0 | ca | 128 |
| BUF_SIZE | 0 | ca | 128 |
| CAPPED_DATA | 1 | b | 1 |
| DATA_SOURCE | 0 | ca | $0 |
| LOCK2 | 0 | &ca->set->bucket_lock | |
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/alloc.c invalidate_buckets_random() -> bch_can_invalidate_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | ca | 128 |
| BUF_SIZE | 0 | ca | 128 |
| DATA_SOURCE | 0 | ca | $0 |
| LOCK2 | 0 | &ca->set->bucket_lock | |
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c bch_initial_gc_finish() -> bch_can_invalidate_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-18446744073709547519 |
| CAPPED_DATA | 1 | b | 1 |
| UNITS | 0 | ca | unit_byte |
| LOCK2 | &c->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c btree_gc_start() -> bch_can_invalidate_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 4096-18446744073709547519 |
| CAPPED_DATA | 1 | b | 1 |
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ca | unit_byte |
| LOCK2 | &c->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |