Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/can/can327.c can327_ldisc_rx() -> can327_uart_side_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | elm->uart_side_failure | 0 |
| PARAM_VALUE | 0 | *elm->dev->name | 0 |
| BUF_SIZE | 0 | elm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | elm | 16,120,192,376,480,512,520,1552,4648,9144 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &elm->lock | |
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->port->buf.lock | ||
| TYPE_LOCK | (struct can327)->lock |
drivers/net/can/can327.c can327_ldisc_tx_worker() -> can327_uart_side_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | elm->tty | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->txleft | 1-u64max |
| PARAM_VALUE | 0 | elm->uart_side_failure | 0 |
| PARAM_VALUE | 0 | *elm->dev->name | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &elm->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct can327)->lock |
drivers/net/can/can327.c can327_parse_rxbuf() -> can327_uart_side_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->offload.napi.thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | elm->state | 3 |
| PARAM_VALUE | 0 | *elm->dev->name | 0 |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| BUF_SIZE | 0 | elm | (-1),4,16,24,32,38-s32max |
| CAPPED_DATA | 0 | elm->rxfill | 1 |
| DATA_SOURCE | 0 | elm | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &elm->lock |
drivers/net/can/can327.c can327_send() -> can327_uart_side_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | elm | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | elm->offload.napi.thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | elm->tty | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | elm->uart_side_failure | 0 |
| PARAM_VALUE | 0 | *elm->dev->name | 0 |
| 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 |
| DATA_SOURCE | 0 | elm | $0 |
| STR_LEN | 0 | elm | (-1),1,5,17 |
| STR_LEN | 0 | elm | (-1),1,5,17 |
| 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 |