Documented in 1 files:
Defined in 2 files as a function:
- drivers/gpu/ipu-v3/ipu-image-convert.c, line 358 (as a function)
- drivers/net/ethernet/micrel/ksz884x.c, line 4062 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/ipu-v3/ipu-image-convert.c ipu_image_convert_prepare() -> free_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ipu->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | dma_buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/ipu-v3/ipu-image-convert.c ipu_image_convert_prepare() -> free_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ipu->dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ipu->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | dma_buf | 4096-ptr_max |
| BUF_SIZE | 1 | dma_buf | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/ipu-v3/ipu-image-convert.c ipu_image_convert_unprepare() -> free_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dma_buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/ipu-v3/ipu-image-convert.c ipu_image_convert_unprepare() -> free_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter->ipu->dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ipu->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ipu->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dma_buf | 4096-ptr_max |
| BUF_SIZE | 1 | dma_buf | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/micrel/ksz884x.c ksz_free_buffers() -> free_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.dev_count | 1-2 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.data | 0,2048-u32max |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.rx.buf_size | 0,1524,1916 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.rx.end_of_ring | 1 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.tx.csum_gen_tcp | 1 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.tx.csum_gen_udp | 1 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.tx.first_seg | 1 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.tx.intr | 1 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.buf.tx.last_seg | 1 |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.cur->sw.ctrl.tx.hw_owned | 1 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.data | 0,2048-u32max |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.rx.buf_size | 0,1524,1916 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.rx.end_of_ring | 1 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.tx.csum_gen_tcp | 1 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.tx.csum_gen_udp | 1 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.tx.first_seg | 1 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.tx.intr | 1 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.buf.tx.last_seg | 1 |
| PARAM_VALUE | 0 | adapter->hw.tx_desc_info.cur->sw.ctrl.tx.hw_owned | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | dma_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_buf->skb | 1-u64max |
| PARAM_VALUE | 2 | direction | 1-2 |
| BUF_SIZE | 0 | adapter | 2320 |
| BUF_SIZE | 0 | adapter->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 1 | dma_buf | 24 |
| CAPPED_DATA | 0 | adapter->hw.dev_count | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 2 | direction | $2 |
| FUZZY_MAX | 0 | adapter->hw.dev_count | 2 |
| HARD_MAX | 2 | direction | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->pdev->current_state | 0-3[c] |
drivers/net/ethernet/micrel/ksz884x.c ksz_init_rx_buffers() -> free_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.alloc | 1-s32max |
| PARAM_VALUE | 0 | adapter->hw.rx_desc_info.last | 0-s32max |
| PARAM_VALUE | 1 | dma_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_buf->skb | 1-u64max |
| PARAM_VALUE | 2 | direction | 2 |
| BUF_SIZE | 1 | dma_buf | 24 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->mtu | != $1->len |
| NOSPEC | 0 | adapter->dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | adapter->dev->flags | 0-527873[c] |
| USER_DATA | 0 | adapter->dev->group | s32min-s32max |
| USER_DATA | 0 | adapter->dev->ifindex | s32min-s32max |
| USER_DATA | 0 | adapter->dev->mtu | 0-s32max[c] |
| USER_DATA | 0 | adapter->dev->num_tc | 2-16[c] |
| USER_DATA | 0 | adapter->dev->real_num_rx_queues | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev->tx_queue_len | |
| USER_PTR | 0 | adapter->dev->name | |
| USER_PTR | 1 | dma_buf->skb->data |