Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/bcache/alloc.c bch_bucket_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/alloc.c bch_bucket_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/alloc.c bch_bucket_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/alloc.c bch_bucket_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c bch_btree_gc_finish() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &c->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c bch_btree_gc_finish() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &c->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c bch_btree_gc_finish() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &c->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c bch_btree_gc_finish() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &c->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_cache_set_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sb->nbuckets | |
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c bch_prio_write() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| LOCK2 | &ca->set->bucket_lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/super.c cache_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c cache_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c cache_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sb->nbuckets | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c cache_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sb->nbuckets | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c cache_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sb->nbuckets | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c cache_alloc() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sb->nbuckets | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c prio_io() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
drivers/md/bcache/super.c prio_read() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c prio_read() -> meta_bucket_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |