Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kernel/amd_gart_64.c dma_map_sg_nonforce() -> gart_unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_parms | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | nents | 1-2147483646 |
| PARAM_VALUE | 3 | dir | 0-2 |
| PARAM_VALUE | 4 | attrs | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | sg | (-1),32,64,4096 |
| BUF_SIZE | 1 | sg | (-1),32,64,4096 |
| CAPPED_DATA | 2 | nents | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 3 | dir | $3 |
| FUZZY_MAX | 2 | nents | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 1 | sg->length |
arch/x86/kernel/amd_gart_64.c gart_map_sg() -> gart_unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_parms | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | nents | 0-s32max |
| PARAM_VALUE | 3 | dir | 0-2 |
| PARAM_VALUE | 4 | attrs | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | sg | (-1),32,64,4096 |
| BUF_SIZE | 1 | sg | (-1),32,64,4096 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 3 | dir | $3 |
| FUZZY_MAX | 2 | nents | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count |
kernel/dma/mapping.c dma_unmap_sg_attrs() -> (struct dma_map_ops)->unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 0-2 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | nents | $2 |
| DATA_SOURCE | 3 | dir | $3 |
| DATA_SOURCE | 4 | attrs | $4 |
| NOCHECK_CALL |