Defined in 7 files as a member:

Defined in 6 files as a function:

Referenced in 46 files:

Smatch caller information:

drivers/media/platform/raspberrypi/rp1-cfe/cfe.c cfe_eof_isr() -> set_state()

Type Parameter Key Value
PARAM_VALUE 1 state 16
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cfe->state_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct cfe_device)->state_lock

drivers/media/platform/raspberrypi/rp1-cfe/cfe.c cfe_register_node() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 1 state 1
PARAM_VALUE 2 node_id 0-7
DATA_SOURCE 0 qhp $0
DATA_SOURCE 2 node_id $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock

drivers/media/platform/raspberrypi/rp1-cfe/cfe.c cfe_sof_isr() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 1 state 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cfe->state_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct cfe_device)->state_lock

drivers/media/platform/raspberrypi/rp1-cfe/cfe.c cfe_start_streaming() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 1 state 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 vq->lock
HALF_LOCKED2 0 qhp->csi2.sd.active_state->lock

drivers/media/platform/raspberrypi/rp1-cfe/cfe.c cfe_video_link_notify() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 1 state 2
PARAM_VALUE 2 node_id 0-7
FUZZY_MAX 2 node_id 7
HARD_MAX 2 node_id 7
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 lock_flags
LOCK2 0 &qhp->state_lock
HALF_LOCKED2 &link->graph_obj.mdev->graph_mutex
TYPE_LOCK (struct cfe_device)->state_lock

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.llp_stream_handle 0,4096-ptr_max
PARAM_VALUE 0 qhp->attr.state 0
PARAM_VALUE 0 qhp->ep 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 state 1
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 qhp->attr.max_ird 0-16383[c]
USER_DATA 0 qhp->attr.max_ord 0-16383[c]
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &ep->com.mutex
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.state 0
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 state 2
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 qhp->attr.max_ird 0-16383[c]
USER_DATA 0 qhp->attr.max_ord 0-16383[c]
USER_DATA 0 qhp->wq->srqidxp 1-67108863[c]
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &ep->com.mutex
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.state 1
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qhp->wq->qp_errp 1
PARAM_VALUE 0 qhp->wq.qp_errp 4096-ptr_max
PARAM_VALUE 1 state 4
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &ep->com.mutex
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.state 1
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qhp->wq->qp_errp 1
PARAM_VALUE 0 qhp->wq.qp_errp 4096-ptr_max
PARAM_VALUE 1 state 3
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &ep->com.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.state 1
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qhp->wq->qp_errp 1
PARAM_VALUE 0 qhp->wq.qp_errp 4096-ptr_max
PARAM_VALUE 1 state 2
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 qhp->wq->srqidxp 1-67108863[c]
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &ep->com.mutex
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.state 4
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qhp->wq.flushed s32min-(-1),1-s32max
PARAM_VALUE 1 state 0
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
NOCHECK_CALL
LOCK2 &ep->com.mutex
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct c4iw_ep_common)->mutex
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.state 2
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qhp->wq.rq.in_use 0
PARAM_VALUE 0 qhp->wq.sq.in_use 0
PARAM_VALUE 1 state 0
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &ep->com.mutex
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/infiniband/hw/cxgb4/qp.c c4iw_modify_qp() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->attr.llp_stream_handle 0
PARAM_VALUE 0 qhp->attr.state 1-u32max
PARAM_VALUE 0 qhp->ep 0
PARAM_VALUE 0 qhp->mutex.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qhp->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qhp->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 qhp->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qhp->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 qhp->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 state 2
CAPPED_DATA 0 qhp 1
CAPPED_DATA 0 &qhp->mutex 1
DATA_SOURCE 0 qhp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 qhp->attr.max_ird 0-16383[c]
USER_DATA 0 qhp->attr.max_ord 0-16383[c]
USER_DATA 0 qhp->wq->srqidxp 1-67108863[c]
LOCK2 0 &qhp->mutex
HALF_LOCKED2 &ep->com.mutex
TYPE_LOCK (struct c4iw_qp)->mutex

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_force_abort() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->phase 0-9
PARAM_VALUE 1 state 3
DATA_SOURCE 0 qhp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &kcs_bmc->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
HALF_LOCKED2 0 &qhp->lock
HALF_LOCKED2 0 &qhp->mutex

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_handle_cmd() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 state 2
DATA_SOURCE 0 qhp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &kcs_bmc->lock
LOCK2 flags
LOCK2 0 &qhp->lock
TYPE_LOCK (struct kcs_bmc_device)->lock
TYPE_LOCK (struct kcs_bmc_ipmi)->lock

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_handle_data() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->data_in_idx s32min-999
PARAM_VALUE 0 qhp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 qhp->phase 2
PARAM_VALUE 1 state 2
DATA_SOURCE 0 qhp $0
FUZZY_MAX 0 qhp->data_in_idx 999
HARD_MAX 0 qhp->data_in_idx 999
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &kcs_bmc->lock
LOCK2 flags
LOCK2 0 &qhp->lock
TYPE_LOCK (struct kcs_bmc_device)->lock
TYPE_LOCK (struct kcs_bmc_ipmi)->lock

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_handle_data() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->data_in_idx s32min-999
PARAM_VALUE 0 qhp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 qhp->phase 3
PARAM_VALUE 1 state 1
DATA_SOURCE 0 qhp $0
FUZZY_MAX 0 qhp->data_in_idx 999
HARD_MAX 0 qhp->data_in_idx 999
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &kcs_bmc->lock
LOCK2 flags
LOCK2 0 &qhp->lock
TYPE_LOCK (struct kcs_bmc_device)->lock
TYPE_LOCK (struct kcs_bmc_ipmi)->lock

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_handle_data() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->data_out_idx 0,3-1000
PARAM_VALUE 0 qhp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 qhp->phase 6
PARAM_VALUE 1 state 0
CAPPED_DATA 0 qhp->data_out_idx 1
CAPPED_DATA 0 qhp->data_out_len 1
DATA_SOURCE 0 qhp $0
PARAM_COMPARE 0 qhp->data_out_idx == $0->data_out_len
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &kcs_bmc->lock
LOCK2 flags
LOCK2 0 &qhp->lock
TYPE_LOCK (struct kcs_bmc_device)->lock
TYPE_LOCK (struct kcs_bmc_ipmi)->lock

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_handle_data() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->client.dev 4096-ptr_max
PARAM_VALUE 0 qhp->client.dev->ops 4096-ptr_max
PARAM_VALUE 0 qhp->client.dev->ops->io_inputb 4096-ptr_max
PARAM_VALUE 0 qhp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 qhp->phase 6
PARAM_VALUE 1 state 3
DATA_SOURCE 0 qhp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &kcs_bmc->lock
LOCK2 flags
LOCK2 0 &qhp->lock
TYPE_LOCK (struct kcs_bmc_device)->lock
TYPE_LOCK (struct kcs_bmc_ipmi)->lock

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_handle_data() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 qhp->phase 7
PARAM_VALUE 1 state 1
DATA_SOURCE 0 qhp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &kcs_bmc->lock
LOCK2 flags
LOCK2 0 &qhp->lock
TYPE_LOCK (struct kcs_bmc_device)->lock
TYPE_LOCK (struct kcs_bmc_ipmi)->lock

drivers/char/ipmi/kcs_bmc_cdev_ipmi.c kcs_bmc_ipmi_handle_data() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
PARAM_VALUE 0 qhp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 qhp->phase 8
PARAM_VALUE 1 state 0
DATA_SOURCE 0 qhp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &kcs_bmc->lock
LOCK2 flags
LOCK2 0 &qhp->lock
TYPE_LOCK (struct kcs_bmc_device)->lock
TYPE_LOCK (struct kcs_bmc_ipmi)->lock

kernel/stop_machine.c ack_state() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4096-ptr_max
BUF_SIZE 0 qhp 24,40
BUF_SIZE 0 qhp 24,40
DATA_SOURCE 0 qhp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *qhp->data s64min-s64max
HALF_LOCKED2 global &stop_cpus_mutex
HALF_LOCKED2 irq

kernel/stop_machine.c stop_core_cpuslocked() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4825904087703027712
PARAM_VALUE 0 qhp->state 0
PARAM_VALUE 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &ifs_sem
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/stop_machine.c stop_machine_cpuslocked() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 6432102216311144448
PARAM_VALUE 0 qhp->state 0
PARAM_VALUE 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &mtrr_mutex
HALF_LOCKED2 global &sparse_irq_lock

kernel/stop_machine.c stop_machine_from_inactive_cpu() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 4838165034212028416
PARAM_VALUE 0 qhp->state 0
PARAM_VALUE 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &stop_cpus_mutex
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

kernel/stop_machine.c stop_two_cpus() -> set_state()

Type Parameter Key Value
PARAM_VALUE 0 qhp 1561775482262028288
PARAM_VALUE 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mm->mmap_lock