Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rpmsg/qcom_smd.c __qcom_smd_send() -> qcom_smd_write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->fifo_size | (-2147483647)-s32max |
| PARAM_VALUE | 0 | channel->info_word | 0,4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 20 |
| BUF_SIZE | 1 | data | 20 |
| DATA_SOURCE | 0 | channel | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &channel->tx_lock | |
| HALF_LOCKED2 | &eptdev->ept_lock | ||
| TYPE_LOCK | (struct qcom_smd_channel)->tx_lock |
drivers/rpmsg/qcom_smd.c __qcom_smd_send() -> qcom_smd_write_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->fifo_size | (-2147483647)-s32max |
| PARAM_VALUE | 0 | channel->info_word | 0,4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | data | s32min-s32max |
| DATA_SOURCE | 0 | channel | $0 |
| DATA_SOURCE | 1 | data | $1 |
| DATA_SOURCE | 2 | count | $2 |
| PARAM_COMPARE | 0 | channel->fifo_size | > $2 |
| PARAM_COMPARE | 2 | count | < $0->fifo_size |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count | 1-2147483646[c] |
| USER_DATA | 2 | count | 0-4000000[c] |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | data | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &channel->tx_lock | |
| HALF_LOCKED2 | &eptdev->ept_lock | ||
| TYPE_LOCK | (struct qcom_smd_channel)->tx_lock |