Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/chrome/cros_ec_sensorhub_ring.c cros_ec_sensorhub_ring_handler() -> cros_ec_sensor_ring_process_event()

Type Parameter Key Value
PARAM_VALUE 0 sensorhub 4096-ptr_max
PARAM_VALUE 0 sensorhub->cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 sensorhub->cmd_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sensorhub->cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sensorhub->cmd_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sensorhub->cmd_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sensorhub->cmd_lock.wait_lock.owner (-1)
PARAM_VALUE 0 sensorhub->cmd_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sensorhub->ec 4096-ptr_max
PARAM_VALUE 0 sensorhub->ec->ec_dev 4096-ptr_max
PARAM_VALUE 0 sensorhub->ec->ec_dev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 sensorhub->ec->ec_dev->event_data.event_type 2
PARAM_VALUE 0 sensorhub->ec->ec_dev->event_size 13
PARAM_VALUE 0 sensorhub->ec->ec_dev->host_event_wake_mask 48879,4288675598
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sensorhub->ec->ec_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sensorhub->ec->ec_dev->priv->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 sensorhub->ec->ec_dev->priv->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 sensorhub->ec->ec_dev->priv->high_pri_worker->lock.dep_map->name 0-255
PARAM_VALUE 0 sensorhub->ec->ec_dev->priv->high_pri_worker->task->se.avg.util_avg 0-4294967295
PARAM_VALUE 0 sensorhub->ec->ec_dev->priv->xfer_ack.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 sensorhub->ec->ec_dev->priv->xfer_ack.wait.lock.owner (-1)
PARAM_VALUE 0 sensorhub->ec->ec_dev->priv->xfer_ack.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 sensorhub->fifo_info 4096-ptr_max
PARAM_VALUE 0 sensorhub->fifo_size 0-u16max
PARAM_VALUE 0 sensorhub->fifo_timestamp 4096-ptr_max
PARAM_VALUE 0 sensorhub->filter.median_error s64min-(-4096),(-1)-0,4096-s64max
PARAM_VALUE 0 sensorhub->filter.median_m s64min-(-4096),(-1)-0,4096-s64max
PARAM_VALUE 0 sensorhub->msg 4096-ptr_max
PARAM_VALUE 0 sensorhub->msg->insize 12-u16max
PARAM_VALUE 0 sensorhub->msg->outsize 13
PARAM_VALUE 0 sensorhub->msg->result 0
PARAM_VALUE 0 sensorhub->params 4096-ptr_max
PARAM_VALUE 0 sensorhub->params->cmd 9
PARAM_VALUE 0 sensorhub->params->fifo_read.max_data_vector 1-u16max
PARAM_VALUE 0 sensorhub->resp 4096-ptr_max
PARAM_VALUE 0 sensorhub->resp->fifo_read.number_data 1-u16max,2147483648-u32max
PARAM_VALUE 0 sensorhub->sensor_num 0-255
PARAM_VALUE 0 sensorhub->tight_timestamps 0-1
PARAM_VALUE 0 *sensorhub->ec->ec_dev->priv->high_pri_worker->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *sensorhub->msg->data 0-255
PARAM_VALUE 1 fifo_info 4096-ptr_max
PARAM_VALUE 3 current_timestamp 7839938638526066688
CAPPED_DATA 0 sensorhub->fifo_size 1
CAPPED_DATA 0 sensorhub->params->fifo_read.max_data_vector 1
CAPPED_DATA 0 &sensorhub->cmd_lock 1
CAPPED_DATA 1 fifo_info->count 1
CAPPED_DATA 1 fifo_info->size 1
DATA_SOURCE 0 sensorhub $0
PARAM_COMPARE 1 fifo_info->count <= $0->fifo_size
PARAM_COMPARE 1 fifo_info->count <= $1->size
PARAM_COMPARE 1 fifo_info->size == $0->fifo_size
CONSTRAINT 1 fifo_info->count <=150
LOCK2 0 &sensorhub->cmd_lock
TYPE_LOCK (struct cros_ec_sensorhub)->cmd_lock