Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/can/can327.c can327_handle_prompt() -> can327_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->cmds_todo | 0 |
| PARAM_VALUE | 0 | elm->offload.napi.thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | elm->rxbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->state | 2-3 |
| PARAM_VALUE | 1 | buf | 2346551990701113344 |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | len | 5 |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 1 | buf | 6 |
| DATA_SOURCE | 0 | elm | $0 |
| STR_LEN | 0 | elm | 5 |
| TERMINATED | 1 | buf | 1 |
| HARD_MAX | 0 | elm->state | 3 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &elm->lock |
drivers/net/can/can327.c can327_handle_prompt() -> can327_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->offload.napi.thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | elm->rxbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->state | 2-3 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | len | 0-17 |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 1 | buf | 18 |
| DATA_SOURCE | 0 | elm | $0 |
| FUZZY_MAX | 0 | elm->state | 3 |
| STR_LEN | 0 | elm | (-1),17 |
| HARD_MAX | 0 | elm->state | 3 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &elm->lock |
drivers/net/can/can327.c can327_kick_into_cmd_mode() -> can327_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->offload.napi.thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | elm->state | 0,3-u32max |
| PARAM_VALUE | 1 | buf | 6011530705245933568 |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | len | 1 |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 0 | elm->next_init_cmd | (-1),152 |
| BUF_SIZE | 1 | buf | 2 |
| DATA_SOURCE | 0 | elm | $0 |
| STR_LEN | 0 | elm | 1 |
| TERMINATED | 1 | buf | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | elm->can_config | 24576-24831,57344-57599[c] |
| USER_DATA | 0 | elm->can_frame_to_send.__pad | 0-255[u] |
| USER_DATA | 0 | elm->can_frame_to_send.__res0 | 0-255[u] |
| USER_DATA | 0 | elm->can_frame_to_send.can_dlc | 0-255[u] |
| USER_DATA | 0 | elm->can_frame_to_send.can_id | 0-2147483646,2147483648-u32max[c][u] |
| USER_DATA | 0 | elm->can_frame_to_send.len | 0-255[u] |
| USER_DATA | 0 | elm->can_frame_to_send.len8_dlc | 0-255[u] |
| USER_PTR | 0 | elm->can_frame_to_send.data | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &elm->lock |
drivers/net/can/can327.c can327_netdev_close() -> can327_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | buf | 6011530705245933568 |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | len | 1 |
| BUF_SIZE | 1 | buf | 2 |
| STR_LEN | 0 | elm | 1 |
| TERMINATED | 1 | buf | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &elm->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct can327)->lock |
drivers/net/can/can327.c can327_parse_rxbuf() -> can327_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->offload.napi.thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | elm->rxbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->rxfill | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | elm->state | 1 |
| PARAM_VALUE | 0 | *elm->dev->name | 0-255 |
| PARAM_VALUE | 1 | buf | 3631324007113728000 |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | len | 1 |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 1 | buf | 2 |
| DATA_SOURCE | 0 | elm | $0 |
| STR_LEN | 0 | elm | 1 |
| TERMINATED | 1 | buf | 1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &elm->lock |
drivers/net/can/can327.c can327_parse_rxbuf() -> can327_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->offload.napi.thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | elm->rxbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->rxfill | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | elm->state | 1 |
| PARAM_VALUE | 0 | *elm->dev->name | 0-255 |
| PARAM_VALUE | 1 | buf | 6011530705245933568 |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | len | 1 |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 1 | buf | 2 |
| DATA_SOURCE | 0 | elm | $0 |
| STR_LEN | 0 | elm | 1 |
| TERMINATED | 1 | buf | 1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &elm->lock |