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 __btree_sort() -> bch_bset_build_written_tree()

Type Parameter Key Value
PARAM_VALUE 0 b 4096-ptr_max
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
CAPPED_DATA 0 b->nsets 1
CAPPED_DATA 0 b->page_order 1
DATA_SOURCE 0 b $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &b->io_mutex

drivers/md/bcache/bset.c bch_btree_sort_lazy() -> bch_bset_build_written_tree()

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