Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/can/isotp.c isotp_rcv_echo() -> isotp_set_tx_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | so | 4096-ptr_max |
| PARAM_VALUE | 2 | err | 0 |
| BUF_SIZE | 0 | so | 560 |
| BUF_SIZE | 0 | so | 560 |
| CAPPED_DATA | 0 | so->echotimer.base | 1 |
| CAPPED_DATA | 0 | so->tx.len | 1 |
| CAPPED_DATA | 0 | &so->echotimer | 1 |
| DATA_SOURCE | 0 | so | $1 |
| PARAM_COMPARE | 0 | so->tx.idx | >= $0->tx.len |
| PARAM_COMPARE | 0 | &so->echotimer | != $0->echotimer.base->running |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &so->rx_lock | |
| TYPE_LOCK | (struct isotp_sock)->rx_lock |
net/can/isotp.c isotp_rcv_fc() -> isotp_set_tx_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | so | 4096-ptr_max |
| PARAM_VALUE | 2 | err | 74 |
| BUF_SIZE | 0 | so | 1-s32max |
| BUF_SIZE | 0 | so | 1-s32max |
| CAPPED_DATA | 0 | so->ll.mtu | 1 |
| CAPPED_DATA | 0 | so->txtimer.base | 1 |
| CAPPED_DATA | 0 | &so->txtimer | 1 |
| DATA_SOURCE | 0 | so | $0 |
| PARAM_COMPARE | 0 | &so->txtimer | != $0->txtimer.base->running |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &so->rx_lock | |
| TYPE_LOCK | (struct isotp_sock)->rx_lock |
net/can/isotp.c isotp_rcv_fc() -> isotp_set_tx_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | so | 4096-ptr_max |
| PARAM_VALUE | 2 | err | 74,90 |
| BUF_SIZE | 0 | so | 1-s32max |
| BUF_SIZE | 0 | so | 1-s32max |
| CAPPED_DATA | 0 | so->ll.mtu | 1 |
| CAPPED_DATA | 0 | so->txtimer.base | 1 |
| CAPPED_DATA | 0 | &so->txtimer | 1 |
| DATA_SOURCE | 0 | so | $0 |
| FUZZY_MAX | 2 | err | 90 |
| PARAM_COMPARE | 0 | &so->txtimer | != $0->txtimer.base->running |
| BIT_INFO | 2 | err | 0x4a,0x5a |
| HARD_MAX | 2 | err | 90 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | so->tx_gap | 0-4421967295[c] |
| USER_DATA | 0 | so->txfc.bs | 0-255 |
| USER_DATA | 0 | so->txfc.stmin | 0-127,241-249 |
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &so->rx_lock | |
| TYPE_LOCK | (struct isotp_sock)->rx_lock |
net/can/isotp.c isotp_sendmsg() -> isotp_set_tx_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | so | 4096-ptr_max |
| PARAM_VALUE | 1 | gen | 0-16777215 |
| PARAM_VALUE | 2 | err | 70 |
| CAPPED_DATA | 0 | so->echotimer.base | 1 |
| CAPPED_DATA | 0 | so->txfrtimer.base | 1 |
| CAPPED_DATA | 0 | so->txtimer.base | 1 |
| CAPPED_DATA | 0 | &so->echotimer | 1 |
| CAPPED_DATA | 0 | &so->txfrtimer | 1 |
| CAPPED_DATA | 0 | &so->txtimer | 1 |
| PARAM_COMPARE | 0 | &so->echotimer | != $0->echotimer.base->running |
| PARAM_COMPARE | 0 | &so->txfrtimer | != $0->txfrtimer.base->running |
| PARAM_COMPARE | 0 | &so->txtimer | != $0->txtimer.base->running |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | so | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &so->rx_lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct isotp_sock)->rx_lock |
net/can/isotp.c isotp_tx_timeout() -> isotp_set_tx_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | so | 4096-ptr_max |
| PARAM_VALUE | 2 | err | 70 |
| DATA_SOURCE | 0 | so | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq |