Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/bcache/bset.c bch_btree_sort_partial() -> bch_count_data()

Type Parameter Key Value
PARAM_VALUE 0 b 4096-ptr_max
PARAM_VALUE 0 b->nsets 1-255
PARAM_VALUE 0 b->ops 0,4096-ptr_max
PARAM_VALUE 0 b->page_order 0-63,255
DATA_SOURCE 0 b $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &b->io_mutex
HALF_LOCKED2 &b->write_lock
HALF_LOCKED2 b

drivers/md/bcache/bset.c bch_btree_sort_partial() -> bch_count_data()

Type Parameter Key Value
PARAM_VALUE 0 b 4096-ptr_max
PARAM_VALUE 0 b->expensive_debug_checks 4096-ptr_max
PARAM_VALUE 0 b->last_set_unwritten 0
PARAM_VALUE 0 b->nsets 0-254
PARAM_VALUE 0 b->ops 0,4096-ptr_max
PARAM_VALUE 0 b->ops->key_merge 0,4096-ptr_max
PARAM_VALUE 0 b->ops->sort_fixup 0,4096-ptr_max
PARAM_VALUE 0 b->page_order 0-63,255
PARAM_VALUE 0 b->set 4096-ptr_max
PARAM_VALUE 0 b->set->data s64max
PARAM_VALUE 0 *b->expensive_debug_checks 1
CAPPED_DATA 0 b->page_order 1
CAPPED_DATA 0 b->set 1
DATA_SOURCE 0 b $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &b->io_mutex
HALF_LOCKED2 &b->write_lock
HALF_LOCKED2 b

drivers/md/bcache/btree.c bch_btree_insert_keys() -> bch_count_data()

Type Parameter Key Value
PARAM_VALUE 0 b 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &b->write_lock
HALF_LOCKED2 &n->io_mutex
HALF_LOCKED2 &n1->io_mutex
HALF_LOCKED2 &n2->io_mutex
HALF_LOCKED2 &n2->write_lock
TYPE_LOCK (struct btree)->write_lock

drivers/md/bcache/btree.c bch_btree_insert_keys() -> bch_count_data()

Type Parameter Key Value
PARAM_VALUE 0 b 4096-ptr_max
PARAM_VALUE 0 b->expensive_debug_checks 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &b->write_lock
HALF_LOCKED2 &n->io_mutex
HALF_LOCKED2 &n1->io_mutex
HALF_LOCKED2 &n2->io_mutex
HALF_LOCKED2 &n2->write_lock
TYPE_LOCK (struct btree)->write_lock