Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/persistent-data/dm-btree-spine.c ro_step() -> bn_read_lock()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 result 4096-ptr_max
DATA_SOURCE 1 b $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pmd->root_lock
HALF_LOCKED2 &pool->lock

drivers/md/persistent-data/dm-btree.c dm_btree_lookup_next_single() -> bn_read_lock()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 result 2864415030172889088
DATA_SOURCE 0 info $0
DATA_SOURCE 1 b $1
PREEMPT_ADD
NO_OVERFLOW_SIMPLE 0 info->tm->bm->bufio->slab_buffer->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 info->tm->bm->bufio->slab_cache->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->block_size
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->slab_buffer->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->slab_cache->sheaf_capacity

drivers/md/persistent-data/dm-btree.c get_node_free_space() -> bn_read_lock()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->tm 4096-ptr_max
PARAM_VALUE 0 info->tm->bm->bufio->cache.num_locks 0-4294967295
PARAM_VALUE 0 info->tm->bm->bufio->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 info->tm->bm->bufio->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->tm->bm->bufio->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 info->tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 info->tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 info->tm->bm->bufio->lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 info->tm->bm->bufio->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 info->tm->bm->bufio->need_reserved_buffers 0-4294967295
PARAM_VALUE 0 info->tm->is_clone 0
PARAM_VALUE 0 info->tm->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 result 1235572961211641856
DATA_SOURCE 0 info $0
DATA_SOURCE 1 b $1
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->block_size
HALF_LOCKED2 &td->pmd->root_lock

drivers/md/persistent-data/dm-btree.c push_node() -> bn_read_lock()

Type Parameter Key Value
PARAM_VALUE 2 result 4096-ptr_max
DATA_SOURCE 1 b $1
PREEMPT_ADD
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->block_size

drivers/md/persistent-data/dm-btree.c walk_node() -> bn_read_lock()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 result 5514253201249591296
DATA_SOURCE 0 info $0
DATA_SOURCE 1 b $1
NO_OVERFLOW_SIMPLE 0 info->tm->bm->bufio->slab_buffer->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 info->tm->bm->bufio->slab_cache->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->block_size
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->slab_buffer->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 info->tm->real->bm->bufio->slab_cache->sheaf_capacity