Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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->page_order 0-63,255
PARAM_VALUE 0 b->set 4096-u64max
PARAM_VALUE 1 l 4096-ptr_max
PARAM_VALUE 2 r 4096-ptr_max
DATA_SOURCE 0 b $0
DATA_SOURCE 2 r $1
RX_PATH
TASK_NOT_RUNNING
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/bset.c bch_btree_insert_key() -> bch_bkey_try_merge()

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 1 l 4096-ptr_max
DATA_SOURCE 0 b $0
DATA_SOURCE 1 l $1
RX_PATH
TASK_NOT_RUNNING
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/bset.c btree_mergesort() -> bch_bkey_try_merge()

Type Parameter Key Value
PARAM_VALUE 0 b 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->ops->sort_fixup 0,8945762327650275328
PARAM_VALUE 0 b->page_order 0-63,255
PARAM_VALUE 1 l 1-u64max
PARAM_VALUE 1 *l->ptr 0-s64max
PARAM_VALUE 2 r 1-u64max
DATA_SOURCE 0 b $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &n->write_lock