Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/usb/cdc_ncm.c cdc_ncm_fill_tx_frame() -> cdc_ncm_align_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | max | |
| UNITS | 1 | modulus | unit_byte |
| UNITS | 2 | remainder | unit_byte |
| UNITS | 3 | max | unit_byte |
| LOCK2 | &ctx->mtx | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->tx_global_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct cdc_ncm_ctx)->mtx |
drivers/net/usb/cdc_ncm.c cdc_ncm_fill_tx_frame() -> cdc_ncm_align_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | remainder | 0 |
| PARAM_VALUE | 3 | max | 0-u32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | max | unit_byte |
| LOCK2 | &ctx->mtx | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->tx_global_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct cdc_ncm_ctx)->mtx |
drivers/net/usb/cdc_ncm.c cdc_ncm_fill_tx_frame() -> cdc_ncm_align_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | remainder | 0 |
| PARAM_VALUE | 3 | max | 0-u32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | max | unit_byte |
| LOCK2 | &ctx->mtx | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->tx_global_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct cdc_ncm_ctx)->mtx |
drivers/net/usb/cdc_ncm.c cdc_ncm_ndp16() -> cdc_ncm_align_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 2 | remainder | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | max | |
| UNITS | 3 | max | unit_byte |
| LOCK2 | &ctx->mtx | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->tx_global_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct cdc_ncm_ctx)->mtx |
drivers/net/usb/cdc_ncm.c cdc_ncm_ndp32() -> cdc_ncm_align_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 2 | remainder | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | max | |
| UNITS | 3 | max | unit_byte |
| LOCK2 | &ctx->mtx | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->tx_global_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct cdc_ncm_ctx)->mtx |