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_alloc_sectors() -> bch_bucket_alloc_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | c->data_bucket_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reserve | 2-3 |
| PARAM_VALUE | 2 | k | 4096-ptr_max |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 3 | wait | $5 |
| FUZZY_MAX | 1 | reserve | 3 |
| BIT_INFO | 1 | reserve | 0x2,0x3 |
| HARD_MAX | 1 | reserve | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &dc->in_flight |
drivers/md/bcache/super.c __uuid_write() -> bch_bucket_alloc_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | reserve | 0 |
| PARAM_VALUE | 3 | wait | 1 |
| DATA_SOURCE | 0 | c | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &bch_register_lock |