Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/net/ipa/ipa_qmi.c
- drivers/net/wireless/ath/ath10k/qmi.c
- drivers/net/wireless/ath/ath11k/qmi.c, line 3358
- drivers/net/wireless/ath/ath12k/qmi.c, line 4108
- drivers/remoteproc/qcom_sysmon.c, line 715
- drivers/slimbus/qcom-ngd-ctrl.c
- drivers/soc/qcom/pdr_interface.c
- drivers/soc/qcom/qcom_pd_mapper.c, line 676
- drivers/soc/qcom/qmi_interface.c, line 720
- samples/qmi/qmi_sample_client.c
- sound/usb/qcom/qc_audio_offload.c
Smatch caller information:
drivers/slimbus/qcom-ngd-ctrl.c qcom_slim_ngd_qmi_svc_event_deinit() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/slimbus/qcom-ngd-ctrl.c qcom_slim_ngd_qmi_svc_event_init() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers | 0 |
| PARAM_VALUE | 0 | qmi->lookup_results.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf_size | 20-21,32,53,81,86,2396,6189,8199 |
| PARAM_VALUE | 0 | qmi->services.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | qmi->txn_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | qmi->wq | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/slimbus/qcom-ngd-ctrl.c qcom_slim_qmi_exit() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctrl->ssr_lock |
drivers/slimbus/qcom-ngd-ctrl.c qcom_slim_qmi_init() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers | 1174229310650314752 |
| PARAM_VALUE | 0 | qmi->handlers->decoded_size | 0-1,4,20,25,46,72,322,2504 |
| PARAM_VALUE | 0 | qmi->handlers->ei | 0,4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers->fn | 0,4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers->msg_id | 0-1,32-34,36,43,53,55-56,62 |
| PARAM_VALUE | 0 | qmi->handlers->type | 0,2,4 |
| PARAM_VALUE | 0 | qmi->lookup_results.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf_size | 20-21,32,53,81,86,2396,6189,8199 |
| PARAM_VALUE | 0 | qmi->services.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock->sk->sk_data_ready | 4992329655682707456 |
| PARAM_VALUE | 0 | qmi->sock->sk->sk_error_report | 4992329655682707456 |
| PARAM_VALUE | 0 | qmi->sock->sk->sk_user_data | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock->type | 2 |
| PARAM_VALUE | 0 | qmi->sock_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | qmi->txn_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | qmi->txn_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | qmi->txn_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->txn_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | qmi->txn_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | qmi->txns.idr_base | 0 |
| PARAM_VALUE | 0 | qmi->txns.idr_next | 0 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | qmi->wq | 4096-ptr_max |
| BUF_SIZE | 0 | qmi | 632 |
| CAPPED_DATA | 0 | qmi->recv_buf | 1 |
| DATA_SOURCE | 0 | qmi | r devm_kzalloc |
| MEM_ZERO | 0 | qmi | |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctrl->ssr_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qcom_slim_ngd_ctrl)->ssr_lock |
sound/usb/qcom/qc_audio_offload.c qc_usb_audio_probe() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers | 5367937664101462016 |
| PARAM_VALUE | 0 | qmi->handlers->decoded_size | 0-1,4,20,25,46,72,322,2504 |
| PARAM_VALUE | 0 | qmi->handlers->msg_id | 0-1,32-34,36,43,53,55-56,62 |
| PARAM_VALUE | 0 | qmi->handlers->type | 0,2,4 |
| PARAM_VALUE | 0 | qmi->lookup_results.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf | 0,4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf_size | 20-21,32,53,81,86,2396,6189,8199 |
| PARAM_VALUE | 0 | qmi->services.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | qmi->sock_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | qmi->txn_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | qmi->txn_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->txns.idr_base | 0 |
| PARAM_VALUE | 0 | qmi->txns.idr_next | 0 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_head | 0 |
| BUF_SIZE | 0 | qmi | 632 |
| DATA_SOURCE | 0 | qmi | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/usb/qcom/qc_audio_offload.c qc_usb_audio_remove() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/ath/ath11k/qmi.c ath11k_qmi_deinit_service() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/wireless/ath/ath12k/qmi.c ath12k_qmi_deinit_service() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ab->core_lock | ||
| HALF_LOCKED2 | &ag->mutex |
drivers/net/ipa/ipa_qmi.c ipa_qmi_setup() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers | 1417888750850334720 |
| PARAM_VALUE | 0 | qmi->lookup_results.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf_size | 20-21,32,53,81,86,2396,6189,8199 |
| PARAM_VALUE | 0 | qmi->services.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | qmi->txn_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | qmi->wq | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/net/ipa/ipa_qmi.c ipa_qmi_setup() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers | 2039564107621765120 |
| PARAM_VALUE | 0 | qmi->lookup_results.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf_size | 20-21,32,53,81,86,2396,6189,8199 |
| PARAM_VALUE | 0 | qmi->services.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | qmi->txn_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | qmi->wq | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/net/ipa/ipa_qmi.c ipa_qmi_teardown() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/ipa/ipa_qmi.c ipa_qmi_teardown() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/soc/qcom/qcom_pd_mapper.c qcom_pdm_stop() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &qcom_pdm_mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/ath/ath10k/qmi.c ath10k_qmi_deinit() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/ath/ath10k/qmi.c ath10k_qmi_init() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers | 2233605104564854784 |
| PARAM_VALUE | 0 | qmi->lookup_results.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf_size | 20-21,32,53,81,86,2396,6189,8199 |
| PARAM_VALUE | 0 | qmi->services.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | qmi->sock_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | qmi->txn_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | qmi->wq | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/soc/qcom/pdr_interface.c pdr_handle_alloc() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->handlers | 0 |
| PARAM_VALUE | 0 | qmi->lookup_results.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookup_results.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->lookups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->recv_buf_size | 20-21,32,53,81,86,2396,6189,8199 |
| PARAM_VALUE | 0 | qmi->services.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->services.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->sock_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | qmi->txn_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | qmi->txns.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | qmi->wq | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/soc/qcom/pdr_interface.c pdr_handle_release() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/soc/qcom/pdr_interface.c pdr_handle_release() -> qmi_handle_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qmi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |