Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/bcache/bset.c bch_btree_insert_key() -> bch_bset_insert()

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->ops 4096-ptr_max
PARAM_VALUE 0 b->ops->key_merge 0,4096-ptr_max
PARAM_VALUE 0 b->page_order 0-63,255
PARAM_VALUE 0 b->set 4096-u64max
PARAM_VALUE 2 insert 4096-ptr_max
DATA_SOURCE 0 b $0
DATA_SOURCE 2 insert $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &b->write_lock
HALF_LOCKED2 &b->io_mutex
HALF_LOCKED2 &n->io_mutex
HALF_LOCKED2 &n1->io_mutex
HALF_LOCKED2 &n2->io_mutex
HALF_LOCKED2 &n2->write_lock
HALF_LOCKED2 b
TYPE_LOCK (struct btree)->write_lock

drivers/md/bcache/extents.c bch_extent_insert_fixup() -> bch_bset_insert()

Type Parameter Key Value
PARAM_VALUE 0 b 583748794390114304
PARAM_VALUE 0 b->expensive_debug_checks 4096-ptr_max
PARAM_VALUE 0 b->ops 7358500608655163392
PARAM_VALUE 0 b->page_order 0-63,255
PARAM_VALUE 0 b->set 4096-u64max
PARAM_VALUE 2 insert 4096-ptr_max
CAPPED_DATA 2 insert 1
DATA_SOURCE 0 b $0
DATA_SOURCE 1 where r bch_bset_search
DATA_SOURCE 2 insert r bch_btree_iter_next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &b->write_lock
HALF_LOCKED2 &b->io_mutex
HALF_LOCKED2 &n->io_mutex
HALF_LOCKED2 &n2->io_mutex
HALF_LOCKED2 &n2->write_lock
HALF_LOCKED2 b
TYPE_LOCK (struct btree)->write_lock

drivers/md/bcache/extents.c bch_extent_insert_fixup() -> bch_bset_insert()

Type Parameter Key Value
PARAM_VALUE 0 b 583748794390114304
PARAM_VALUE 0 b->expensive_debug_checks 4096-ptr_max
PARAM_VALUE 0 b->last_set_unwritten 1
PARAM_VALUE 0 b->ops 7358500608655163392
PARAM_VALUE 0 b->page_order 0-63,255
PARAM_VALUE 0 b->set 4096-u64max
PARAM_VALUE 1 where 4096-ptr_max
CAPPED_DATA 1 where 1
DATA_SOURCE 0 b $0
DATA_SOURCE 1 where r bch_btree_iter_next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &b->write_lock
HALF_LOCKED2 &b->io_mutex
HALF_LOCKED2 &n->io_mutex
HALF_LOCKED2 &n2->io_mutex
HALF_LOCKED2 &n2->write_lock
HALF_LOCKED2 b
TYPE_LOCK (struct btree)->write_lock