Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
arch/x86/kernel/amd_gart_64.c dma_map_sg_nonforce() -> dma_map_area()
| 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 | 3 | dir | 0-2 |
| PARAM_VALUE | 4 | align_mask | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | phys_mem | r sg_phys |
| DATA_SOURCE | 3 | dir | $3 |
| DATA_SOURCE | 5 | attrs | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 2 | size |
arch/x86/kernel/amd_gart_64.c gart_alloc_coherent() -> dma_map_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->coherent_dma_mask | 16777216-u64max |
| PARAM_VALUE | 0 | dev->dma_mem | 0 |
| PARAM_VALUE | 0 | dev->dma_range_map | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 0 |
| CAPPED_DATA | 1 | phys_mem | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | size | $1 |
| DATA_SOURCE | 5 | attrs | $4 |
| FUZZY_MAX | 0 | dev->coherent_dma_mask | 16777216 |
| BIT_INFO | 5 | attrs | 0x0,0xffffffffffffdfff |
| BIT_INFO | 5 | attrs | 0x0,0xffffffffffffdfff |
arch/x86/kernel/amd_gart_64.c gart_map_phys() -> dma_map_area()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 4 | align_mask | 0 |
| CAPPED_DATA | 0 | dev->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | phys_mem | $1 |
| DATA_SOURCE | 2 | size | $2 |
| DATA_SOURCE | 3 | dir | $3 |
| DATA_SOURCE | 5 | attrs | $4 |
| BIT_INFO | 5 | attrs | 0x0,0xfffffffffffffbff |
| BIT_INFO | 5 | attrs | 0x0,0xfffffffffffffbff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | phys_mem | 0-u64max |
| HOST_DATA | 2 | size | 0-12884905984[c] |
| USER_DATA | 2 | size | 0,4096-4294967296[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count |