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_allocator_thread() -> bch_prio_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->invalidate_needs_gc | 0-1 |
| PARAM_VALUE | 0 | ca->set | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->set->bucket_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ca->set->bucket_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ca->set->bucket_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ca->set->bucket_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | ca->set->bucket_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ca->set->bucket_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ca->set->prio_blocked.counter | 0 |
| PARAM_VALUE | 1 | wait | 0 |
| BUF_SIZE | 0 | ca | 128 |
| BUF_SIZE | 0 | ca | 128 |
| CAPPED_DATA | 0 | &ca->set->bucket_lock | 1 |
| DATA_SOURCE | 0 | ca | $0 |
| LOCK2 | 0 | &ca->set->bucket_lock | |
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c run_cache_set() -> bch_prio_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->alloc_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->alloc_thread->blocked_on | 0 |
| PARAM_VALUE | 0 | ca->alloc_thread->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->alloc_thread->migration_disabled | 0-1 |
| PARAM_VALUE | 0 | ca->alloc_thread->on_rq | 0-1,3-255 |
| PARAM_VALUE | 0 | ca->alloc_thread->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | ca->alloc_thread->saved_state | 0 |
| PARAM_VALUE | 0 | ca->alloc_thread->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | ca->sb.d | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->sb.keys | 2-256 |
| PARAM_VALUE | 0 | ca->sb.njournal_buckets | 2-256 |
| PARAM_VALUE | 0 | ca->set | 4096-ptr_max |
| PARAM_VALUE | 1 | wait | 1 |
| CAPPED_DATA | 0 | ca->sb.keys | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ca | unit_byte |
| LOCK2 | &c->bucket_lock | ||
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |