Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvme/host/multipath.c nvme_mpath_set_live() -> __nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->disk 1-u64max
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 head->disk->bdi->debug_dir->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 head->disk->ia_ranges->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 head->disk->part0->bd_holder_dir->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 head->disk->queue->debugfs_dir->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 head->disk->queue->mq_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 head->disk->queue->sched_debugfs_dir->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 head->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 head->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type 0-1
PARAM_VALUE 0 head->disk->queue_kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 head->disk->slave_dir->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 head->lock.dep_map->name 0-255
PARAM_VALUE 0 head->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 head->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 head->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 head->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 head->lock.wait_lock.owner (-1)
PARAM_VALUE 0 head->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 1 node 0-64
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
CAPPED_DATA 0 head->srcu.srcu_reader_flavor 1
CAPPED_DATA 0 &head->lock 1
CAPPED_DATA 1 node 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 head->cdev.count
LOCK2 0 &head->lock
LOCK2 0 &head->srcu
TYPE_LOCK (struct nvme_ns_head)->lock
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/multipath.c nvme_numa_path() -> __nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->current_path 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-1),1-s32max
BUF_SIZE 0 head s32min-(-1),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
DATA_SOURCE 0 head $0
DATA_SOURCE 1 node r numa_node_id
RX_PATH
TASK_NOT_RUNNING
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/multipath.c nvme_numa_path() -> __nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->current_path 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-1),1-s32max
BUF_SIZE 0 head s32min-(-1),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
DATA_SOURCE 0 head $0
DATA_SOURCE 1 node r numa_node_id
RX_PATH
TASK_NOT_RUNNING
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct nvme_ns_head)->srcu

drivers/nvme/host/multipath.c nvme_round_robin_path() -> __nvme_find_path()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->current_path 4096-ptr_max
PARAM_VALUE 0 head->srcu.srcu_ctrp 4096-ptr_max
BUF_SIZE 0 head s32min-(-1),1-s32max
BUF_SIZE 0 head s32min-(-1),1-s32max
CAPPED_DATA 0 head->srcu.srcu_ctrp 1
DATA_SOURCE 0 head $0
DATA_SOURCE 1 node r numa_node_id
RX_PATH
TASK_NOT_RUNNING
UNITS 0 head unit_byte
LOCK2 0 &head->srcu
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct nvme_ns_head)->srcu