Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/hid/intel-ish-hid/ishtp/bus.c ishtp_bus_remove_all_clients() -> ishtp_cl_free_tx_ring()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->dev 0-ptr_max
PARAM_VALUE 0 cl->free_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cl->in_process_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cl->state 4
PARAM_VALUE 0 cl->wait_ctrl_res.lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ishtp_dev->cl_list_lock
LOCK2 flags
TYPE_LOCK (struct ishtp_device)->cl_list_lock

drivers/hid/intel-ish-hid/ishtp/client-buffers.c ishtp_cl_alloc_tx_ring() -> ishtp_cl_free_tx_ring()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->dev 4096-9223372036854775807
PARAM_VALUE 0 cl->dev->cl_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->cl_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->cl_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->cl_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->dev_state 2
PARAM_VALUE 0 cl->dev->device_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->fw_clients_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->fw_clients_num 1-255
PARAM_VALUE 0 cl->dev->open_handle_count s64min-255
PARAM_VALUE 0 cl->device 4096-ptr_max
PARAM_VALUE 0 cl->device->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 cl->device->dev.class 0,4096-ptr_max
PARAM_VALUE 0 cl->device->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 cl->device->fw_client 4096-ptr_max
PARAM_VALUE 0 cl->device->fw_client->props.max_msg_length 0-4000000
PARAM_VALUE 0 cl->free_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cl->host_client_id 0-64
PARAM_VALUE 0 cl->link.next 4096-ptr_max
PARAM_VALUE 0 cl->rx_ring_size 1,8,32
PARAM_VALUE 0 cl->state 1
PARAM_VALUE 0 cl->tx_offs 0-9223372036854775807
PARAM_VALUE 0 cl->tx_ring_free_size 0-s32max
PARAM_VALUE 0 cl->tx_ring_size 1,8,16
BUF_SIZE 0 cl (-1),800
BUF_SIZE 0 cl (-1),800
CAPPED_DATA 0 cl 1
CAPPED_DATA 0 cl->fw_client_id 1
CAPPED_DATA 0 cl->rx_ring_size 1
DATA_SOURCE 0 cl $0
FUZZY_MAX 0 cl->tx_ring_free_size 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &init_lock

drivers/hid/intel-ish-hid/ishtp/client.c ishtp_cl_free() -> ishtp_cl_free_tx_ring()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->dev 1-u64max
PARAM_VALUE 0 cl->free_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cl->in_process_spinlock.rlock.dep_map->name 0-255
BUF_SIZE 0 cl (-1),800
BUF_SIZE 0 cl (-1),800
CAPPED_DATA 0 cl 1
DATA_SOURCE 0 cl $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->cl_list_lock
LOCK2 flags
HALF_LOCKED2 global &init_lock
TYPE_LOCK (struct ishtp_device)->cl_list_lock