Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/bcache/btree.c mca_alloc() -> mca_data_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io.all.next | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io.all.prev | 5007304420852699136 |
| PARAM_VALUE | 0 | b->io.closure_get_happened | 0 |
| PARAM_VALUE | 0 | b->io.fn | 0 |
| PARAM_VALUE | 0 | b->io.magic | 3226771742 |
| PARAM_VALUE | 0 | b->io.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io.remaining.counter | 1073741825 |
| PARAM_VALUE | 0 | b->io_mutex.first_waiter->up | 1 |
| PARAM_VALUE | 0 | b->io_mutex.last_holder | 0 |
| PARAM_VALUE | 0 | b->io_mutex.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->io_mutex.lock.owner | (-1) |
| PARAM_VALUE | 0 | b->io_mutex.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | b->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | k | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 11264 |
| CAPPED_DATA | 0 | &b->list | 1 |
| DATA_SOURCE | 1 | k | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &c->bucket_lock | ||
| LOCK2 | 0 | &b->lock | |
| TYPE_LOCK | (struct btree)->lock | ||
| TYPE_LOCK | (struct cache_set)->bucket_lock |
drivers/md/bcache/btree.c mca_bucket_alloc() -> mca_data_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c->bucket_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->c->bucket_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | b->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | b->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | b->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | b->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | b->lock.count.counter | 0 |
| PARAM_VALUE | 0 | b->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | b->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | b->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | b->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | b->write_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | b->write_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | k | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264,11264 |
| BUF_SIZE | 0 | b | 1120 |
| BUF_SIZE | 0 | b->c | (-1),87472 |
| DATA_SOURCE | 0 | b | r _kzalloc_noprof |
| DATA_SOURCE | 1 | k | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| HARD_MAX | 2 | gfp | 11264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->search.min_nr | |
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | global &bch_register_lock |