Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/dma/debug.c debug_dma_alloc_coherent() -> add_dma_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev->dma_mem | 0 |
| PARAM_VALUE | 0 | entry->direction | 0 |
| PARAM_VALUE | 0 | entry->list.next | 0 |
| PARAM_VALUE | 0 | entry->list.prev | 0 |
| PARAM_VALUE | 0 | entry->type | 2 |
| DATA_SOURCE | 0 | entry | r dma_entry_alloc |
| BIT_INFO | 0 | entry->attrs | 0x0,0xffffffffffffdfff |
| NOCHECK_CALL |
kernel/dma/debug.c debug_dma_alloc_pages() -> add_dma_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev->coherent_dma_mask | 1-u64max |
| PARAM_VALUE | 0 | entry->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | entry->list.next | 0 |
| PARAM_VALUE | 0 | entry->list.prev | 0 |
| PARAM_VALUE | 0 | entry->paddr | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | entry->type | 3 |
| CAPPED_DATA | 0 | entry->paddr | 1 |
| DATA_SOURCE | 0 | entry | r dma_entry_alloc |
| BIT_INFO | 0 | entry->paddr | 0x0,0xfffffffffffff000 |
| NOSPEC | 0 | entry->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | entry->dev_addr | 0-18446744073709551614 |
| HOST_DATA | 0 | entry->size | 0,4096-12884905984[c] |
| USER_DATA | 0 | entry->size | 0,4096-4294967296[c] |
| NO_OVERFLOW_SIMPLE | 0 | entry->dev_addr | |
| HALF_LOCKED2 | &ab->base_lock | ||
| HALF_LOCKED2 | &ar->conf_mutex | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | bh |
kernel/dma/debug.c debug_dma_map_phys() -> add_dma_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev_addr | 0-18446744073709551614 |
| PARAM_VALUE | 0 | entry->direction | 0-2 |
| PARAM_VALUE | 0 | entry->list.next | 0 |
| PARAM_VALUE | 0 | entry->list.prev | 0 |
| PARAM_VALUE | 0 | entry->map_err_type | 1 |
| PARAM_VALUE | 0 | entry->type | 4 |
| DATA_SOURCE | 0 | entry | r dma_entry_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | entry->dev_addr | 0-18446744073709551614 |
| HOST_DATA | 0 | entry->paddr | 0-u64max |
| HOST_DATA | 0 | entry->size | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | entry->size |
kernel/dma/debug.c debug_dma_map_sg() -> add_dma_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | entry->dev->dma_parms | 0,4096-ptr_max |
| PARAM_VALUE | 0 | entry->list.next | 0 |
| PARAM_VALUE | 0 | entry->list.prev | 0 |
| PARAM_VALUE | 0 | entry->sg_mapped_ents | 1-s32max |
| PARAM_VALUE | 0 | entry->size | 0-u32max |
| PARAM_VALUE | 0 | entry->type | 1 |
| BUF_SIZE | 0 | entry->dev | (-1),1616 |
| CAPPED_DATA | 0 | entry->sg_call_ents | 1 |
| CAPPED_DATA | 0 | entry->sg_mapped_ents | 1 |
| DATA_SOURCE | 0 | entry | r dma_entry_alloc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | entry->dev_addr | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | entry->sg_call_ents | |
| NO_OVERFLOW_SIMPLE | 0 | entry->sg_mapped_ents | |
| HALF_LOCKED2 | __flags |