Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma-buf/dma-buf.c dma_buf_map_attachment() -> (struct dma_buf_ops)->unmap_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attachment | 4096-ptr_max |
| PARAM_VALUE | 0 | attachment->dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | attachment->dmabuf->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | table | 1-ptr_max |
| BUF_SIZE | 0 | attachment | (-1),64 |
| BUF_SIZE | 0 | attachment | (-1),64 |
| DATA_SOURCE | 0 | attachment | $0 |
| DATA_SOURCE | 2 | direction | $1 |
| CONTAINER | 0 | -40-32-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | attachment->dmabuf->size | 0-u64max |
| HALF_LOCKED2 | &bo->lock | ||
| HALF_LOCKED2 | &dbc->ch_lock | ||
| HALF_LOCKED2 | &qdev->dev_lock | ||
| HALF_LOCKED2 | &usr->qddev_lock | ||
| HALF_LOCKED2 | bo->base.base.resv | ||
| HALF_LOCKED2 | dmabuf->resv | ||
| HALF_LOCKED2 | resv | ||
| HALF_LOCKED2 | 0 | attachment->dmabuf->resv |
drivers/dma-buf/dma-buf.c dma_buf_unmap_attachment() -> (struct dma_buf_ops)->unmap_dma_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attachment | 4096-ptr_max |
| PARAM_VALUE | 0 | attachment->dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | attachment->dmabuf->ops | 4096-ptr_max |
| BUF_SIZE | 0 | attachment | (-1)-0,64 |
| BUF_SIZE | 0 | attachment | (-1)-0,64 |
| BUF_SIZE | 0 | attachment->importer_priv | (-1),72 |
| DATA_SOURCE | 0 | attachment | $0 |
| DATA_SOURCE | 1 | table | $1 [m] |
| DATA_SOURCE | 2 | direction | $2 |
| CONTAINER | 0 | -40-32-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | attachment->dmabuf->size | 0-u64max |
| USER_DATA | 1 | table->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | table->orig_nents | |
| HALF_LOCKED2 | &bo->lock | ||
| HALF_LOCKED2 | &vdev->bo_list_lock | ||
| HALF_LOCKED2 | bo->base.base.resv | ||
| HALF_LOCKED2 | dmabuf->resv | ||
| HALF_LOCKED2 | resv | ||
| HALF_LOCKED2 | 0 | attachment->dmabuf->resv |