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_bucket_alloc_set() -> bch_bucket_alloc()

Type Parameter Key Value
PARAM_VALUE 1 reserve 0,2-3
DATA_SOURCE 1 reserve $1
DATA_SOURCE 2 wait $3
FUZZY_MAX 1 reserve 3
HARD_MAX 1 reserve 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ca unit_byte
LOCK2 &c->bucket_lock
TYPE_LOCK (struct cache_set)->bucket_lock

drivers/md/bcache/super.c bch_prio_write() -> bch_bucket_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ca 4096-ptr_max
PARAM_VALUE 0 ca->disk_buckets 4096-ptr_max
PARAM_VALUE 0 ca->invalidate_needs_gc 0-1
PARAM_VALUE 0 ca->prio_buckets 4096-ptr_max
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 reserve 1
PARAM_VALUE 2 wait 0
BUF_SIZE 0 ca 128
BUF_SIZE 0 ca 128
DATA_SOURCE 0 ca $0
DATA_SOURCE 2 wait $1
LOCK2 0 &ca->set->bucket_lock
TYPE_LOCK (struct cache_set)->bucket_lock