Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/base/attribute_container.c, line 181
- drivers/base/core.c
- lib/klist.c, line 301
- lib/tests/list-test.c
Smatch caller information:
drivers/base/attribute_container.c attribute_container_device_trigger() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 5633564756063002624 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &attribute_container_mutex | ||
| HALF_LOCKED2 | &shost->scan_mutex |
drivers/base/attribute_container.c attribute_container_find_class_device() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 1307266708129964032 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 4724060832601014272 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 5855218823479103488 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 5855218823479103488 |
| PARAM_VALUE | 1 | i->i_cur | 0 |
| PARAM_VALUE | 1 | i->i_klist | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &attribute_container_mutex | ||
| HALF_LOCKED2 | &host->add_target_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &shost->scan_mutex |
drivers/base/core.c device_find_child() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 1-u64max |
| PARAM_VALUE | 1 | i | 3195163405807378432 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &endpoint->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &dpm_list_mtx | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &nvdimm_bus_list_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &wwan_register_lock |
drivers/base/core.c device_for_each_child() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 1-u64max |
| PARAM_VALUE | 1 | i | 8171111194515144704 |
| NOCHECK_CALL |
drivers/base/core.c device_for_each_child_reverse() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 1-u64max |
| PARAM_VALUE | 1 | i | 6257366761859395584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &nh->srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &ptp->n_vclocks_mux |
lib/tests/list-test.c klist_test_add_before() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 269654901860569088 |
| PARAM_VALUE | 0 | k->get | 219889267673993216 |
| PARAM_VALUE | 0 | k->k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | k->k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | k->put | 0 |
| PARAM_VALUE | 1 | i | 569045606422978560 |
| NOCHECK_CALL |
lib/tests/list-test.c klist_test_add_behind() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 1562662058041688064 |
| PARAM_VALUE | 0 | k->get | 219889267673993216 |
| PARAM_VALUE | 0 | k->k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | k->k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | k->put | 0 |
| PARAM_VALUE | 1 | i | 7741220288359600128 |
| NOCHECK_CALL |
lib/tests/list-test.c klist_test_add_head() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 7622503939964665856 |
| PARAM_VALUE | 0 | k->get | 219889267673993216 |
| PARAM_VALUE | 0 | k->k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | k->k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | k->put | 0 |
| PARAM_VALUE | 1 | i | 846821441351483392 |
| NOCHECK_CALL |
lib/tests/list-test.c klist_test_add_tail() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 1375355288024154112 |
| PARAM_VALUE | 0 | k->get | 219889267673993216 |
| PARAM_VALUE | 0 | k->k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | k->k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | k->put | 0 |
| PARAM_VALUE | 1 | i | 1661878043361509376 |
| NOCHECK_CALL |
lib/tests/list-test.c klist_test_del_refcount_greater_than_zero() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 1110063589052612608 |
| PARAM_VALUE | 0 | k->get | 219889267673993216 |
| PARAM_VALUE | 0 | k->k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | k->k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | k->put | 7818476545058041856 |
| PARAM_VALUE | 1 | i | 5775323695252537344 |
| NOCHECK_CALL |
lib/tests/list-test.c klist_test_del_refcount_zero() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 1641452512474484736 |
| PARAM_VALUE | 0 | k->get | 219889267673993216 |
| PARAM_VALUE | 0 | k->k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | k->k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | k->put | 7818476545058041856 |
| PARAM_VALUE | 1 | i | 3963902231824502784 |
| NOCHECK_CALL |
lib/tests/list-test.c klist_test_remove() -> klist_iter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 2620473255834009600 |
| PARAM_VALUE | 0 | k->get | 219889267673993216 |
| PARAM_VALUE | 0 | k->k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | k->k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | k->put | 7818476545058041856 |
| PARAM_VALUE | 1 | i | 3696082945861275648 |
| NOCHECK_CALL |