Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

lib/klist.c klist_remove() -> klist_del()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
DATA_SOURCE 0 n $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &dpm_list_mtx

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

Type Parameter Key Value
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/bus.c bus_add_driver() -> klist_del()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->n_klist 4096-ptr_max
PARAM_VALUE 0 n->n_node.next 4096-ptr_max
PARAM_VALUE 0 n->n_ref.refcount.refs.counter 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &ipmi_interfaces_mutex
HALF_LOCKED2 global &table_lock

drivers/base/bus.c bus_remove_device() -> klist_del()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->n_klist 1-u64max
NOCHECK_CALL

drivers/base/core.c device_del() -> klist_del()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
NOCHECK_CALL

drivers/base/core.c device_del() -> klist_del()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
NOCHECK_CALL
LOCK2 &sp->mutex
TYPE_LOCK (struct subsys_private)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 n 3061953330037948416
PARAM_VALUE 0 n->n_klist 1110063589052612608
PARAM_VALUE 0 n->n_node.next 4096-ptr_max
PARAM_VALUE 0 n->n_ref.refcount.refs.counter 1
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 n 2594605634384244736
PARAM_VALUE 0 n->n_klist 1641452512474484736
PARAM_VALUE 0 n->n_node.next 4096-ptr_max
PARAM_VALUE 0 n->n_ref.refcount.refs.counter 1
NOCHECK_CALL

lib/tests/list-test.c klist_test_node_attached() -> klist_del()

Type Parameter Key Value
PARAM_VALUE 0 n 971311415804485632
PARAM_VALUE 0 n->n_klist 576934384175435776
PARAM_VALUE 0 n->n_node.next 4096-ptr_max
PARAM_VALUE 0 n->n_node.prev 4096-ptr_max
PARAM_VALUE 0 n->n_ref.refcount.refs.counter 1
NOCHECK_CALL