Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/base/class.c class_dev_iter_next() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &seqf->lock
HALF_LOCKED2 &sf->lock
HALF_LOCKED2 &sp->mutex
HALF_LOCKED2 global &nfc_devlist_mutex
HALF_LOCKED2 global &wwan_register_lock

drivers/base/attribute_container.c attribute_container_device_trigger() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5633564756063002624
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c attribute_container_device_trigger() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5633564756063002624
PARAM_VALUE 0 i->i_cur 4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c attribute_container_find_class_device() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 1307266708129964032
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sdev->request_queue->limits_lock
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c attribute_container_find_class_device() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 1307266708129964032
PARAM_VALUE 0 i->i_cur 4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sdev->request_queue->limits_lock
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c attribute_container_remove_device() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 4724060832601014272
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c attribute_container_remove_device() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 4724060832601014272
PARAM_VALUE 0 i->i_cur 4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c do_attribute_container_device_trigger_safe() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5855218823479103488
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c do_attribute_container_device_trigger_safe() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5855218823479103488
PARAM_VALUE 0 i->i_cur 4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c do_attribute_container_device_trigger_safe() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5855218823479103488
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/attribute_container.c do_attribute_container_device_trigger_safe() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5855218823479103488
PARAM_VALUE 0 i->i_cur 4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &shost->scan_mutex

drivers/base/bus.c next_device() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3653614674410622976,6417281758588755968
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 &tb->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &pi_mutex
HALF_LOCKED2 global &vdpa_dev_lock

drivers/base/bus.c next_driver() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 7466731011260993536
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
DATA_SOURCE 0 i $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/base/bus.c subsys_dev_iter_next() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3845197355658153984,8503256464910782464
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sp->mutex
TYPE_LOCK (struct subsys_private)->mutex

drivers/base/core.c next_device() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3195163405807378432,8171111194515144704
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1-u64max
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING

drivers/base/driver.c next_device() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 967904248452177920,1961537901535137792
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 4096-ptr_max
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING

lib/tests/list-test.c klist_test_add_before() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 569045606422978560
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 269654901860569088

lib/tests/list-test.c klist_test_add_before() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 569045606422978560
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 269654901860569088

lib/tests/list-test.c klist_test_add_before() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 569045606422978560
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 269654901860569088

lib/tests/list-test.c klist_test_add_before() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 569045606422978560
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 269654901860569088

lib/tests/list-test.c klist_test_add_before() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 569045606422978560
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 269654901860569088

lib/tests/list-test.c klist_test_add_behind() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 7741220288359600128
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1562662058041688064

lib/tests/list-test.c klist_test_add_behind() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 7741220288359600128
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1562662058041688064

lib/tests/list-test.c klist_test_add_behind() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 7741220288359600128
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1562662058041688064

lib/tests/list-test.c klist_test_add_behind() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 7741220288359600128
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1562662058041688064

lib/tests/list-test.c klist_test_add_behind() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 7741220288359600128
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1562662058041688064

lib/tests/list-test.c klist_test_add_head() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 846821441351483392
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 7622503939964665856

lib/tests/list-test.c klist_test_add_head() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 846821441351483392
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 7622503939964665856

lib/tests/list-test.c klist_test_add_head() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 846821441351483392
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 7622503939964665856

lib/tests/list-test.c klist_test_add_tail() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 1661878043361509376
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1375355288024154112

lib/tests/list-test.c klist_test_add_tail() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 1661878043361509376
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1375355288024154112

lib/tests/list-test.c klist_test_add_tail() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 1661878043361509376
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1375355288024154112

lib/tests/list-test.c klist_test_del_refcount_greater_than_zero() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5775323695252537344
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1110063589052612608

lib/tests/list-test.c klist_test_del_refcount_greater_than_zero() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5775323695252537344
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1110063589052612608

lib/tests/list-test.c klist_test_del_refcount_greater_than_zero() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 5775323695252537344
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1110063589052612608

lib/tests/list-test.c klist_test_del_refcount_zero() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3963902231824502784
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1641452512474484736

lib/tests/list-test.c klist_test_del_refcount_zero() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3963902231824502784
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1641452512474484736

lib/tests/list-test.c klist_test_del_refcount_zero() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3963902231824502784
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1641452512474484736

lib/tests/list-test.c klist_test_del_refcount_zero() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3963902231824502784
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 1641452512474484736

lib/tests/list-test.c klist_test_remove() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3696082945861275648
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 2620473255834009600

lib/tests/list-test.c klist_test_remove() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3696082945861275648
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 2620473255834009600

lib/tests/list-test.c klist_test_remove() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3696082945861275648
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 2620473255834009600

lib/tests/list-test.c klist_test_remove() -> klist_next()

Type Parameter Key Value
PARAM_VALUE 0 i 3696082945861275648
PARAM_VALUE 0 i->i_cur 0,4096-ptr_max
PARAM_VALUE 0 i->i_klist 2620473255834009600