Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma-buf/dma-buf.c dma_buf_detach() -> dma_buf_attachment_is_dynamic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attach | 4096-ptr_max |
| BUF_SIZE | 0 | attach | (-1)-0,64 |
| BUF_SIZE | 0 | attach | (-1)-0,64 |
| BUF_SIZE | 0 | attach->importer_priv | (-1),72 |
| CAPPED_DATA | 0 | attach->dmabuf | 1 |
| DATA_SOURCE | 0 | attach | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attach->dmabuf->size | 0-u64max |
| LOCK2 | &dmabuf->name_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &drm->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | &vde->map_lock | ||
| TYPE_LOCK | (struct dma_buf)->name_lock |
drivers/dma-buf/dma-buf.c dma_buf_dynamic_attach() -> dma_buf_attachment_is_dynamic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attach | 4096-ptr_max |
| PARAM_VALUE | 0 | attach->importer_ops | 0,4096-ptr_max |
| BUF_SIZE | 0 | attach | 64 |
| BUF_SIZE | 0 | attach->dev | (-1),1616 |
| BUF_SIZE | 0 | attach->dmabuf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | attach->importer_ops | (-1),16 |
| BUF_SIZE | 0 | attach->importer_priv | (-1),160,392,704 |
| DATA_SOURCE | 0 | attach | r _kzalloc_noprof |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attach->dmabuf->size | 0-u64max |
| LOCK2 | &dmabuf->name_lock | ||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock | ||
| TYPE_LOCK | (struct dma_buf)->name_lock |
drivers/dma-buf/dma-buf.c dma_buf_map_attachment() -> dma_buf_attachment_is_dynamic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attach | 4096-ptr_max |
| BUF_SIZE | 0 | attach | (-1),64 |
| BUF_SIZE | 0 | attach | (-1),64 |
| DATA_SOURCE | 0 | attach | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attach->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 | attach->dmabuf->resv |
drivers/dma-buf/dma-buf.c dma_buf_pin_on_map() -> dma_buf_attachment_is_dynamic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attach | 4096-ptr_max |
| BUF_SIZE | 0 | attach | (-1)-0,64 |
| BUF_SIZE | 0 | attach | (-1)-0,64 |
| BUF_SIZE | 0 | attach->importer_priv | (-1),72 |
| DATA_SOURCE | 0 | attach | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attach->dmabuf->size | 0-u64max |
| HALF_LOCKED2 | &bo->lock | ||
| HALF_LOCKED2 | bo->base.base.resv | ||
| HALF_LOCKED2 | dmabuf->resv | ||
| HALF_LOCKED2 | resv | ||
| HALF_LOCKED2 | 0 | attach->dmabuf->resv |