Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/dma/swiotlb.c rmem_swiotlb_device_init() -> add_mem_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->defpool.areas | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->defpool.late_alloc | 0 |
| PARAM_VALUE | 0 | mem->defpool.slots | 16,4096-ptr_max |
| PARAM_VALUE | 0 | mem->for_alloc | 1 |
| PARAM_VALUE | 0 | mem->force_bounce | 1 |
| PARAM_VALUE | 0 | mem->pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | pool->areas | 4096-ptr_max |
| PARAM_VALUE | 1 | pool->late_alloc | 0 |
| PARAM_VALUE | 1 | pool->nareas | 1 |
| PARAM_VALUE | 1 | pool->nslabs | 0-9007199254740991 |
| PARAM_VALUE | 1 | pool->slots | 16,4096-ptr_max |
| BUF_SIZE | 0 | mem | 416 |
| BUF_SIZE | 1 | pool | 192 |
| BUF_SIZE | 1 | pool->areas | 88 |
| BUF_SIZE | 1 | pool->slots | 0-216172782113783784 |
| DATA_SOURCE | 0 | mem | r _kzalloc_noprof |
| PARAM_COMPARE | 0 | &mem->defpool | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pool->nareas | |
| NO_OVERFLOW_SIMPLE | 1 | pool->nslabs | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &rproc->lock | ||
| HALF_LOCKED2 | global &component_mutex |
kernel/dma/swiotlb.c swiotlb_dyn_alloc() -> add_mem_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 1 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | pool->slots | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 1 | pool | 192-s32max |
| BUF_SIZE | 1 | pool | 192-s32max |
| DATA_SOURCE | 1 | pool | r swiotlb_alloc_pool |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
kernel/dma/swiotlb.c swiotlb_init_late() -> add_mem_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 1473117533515866112 |
| PARAM_VALUE | 0 | mem->defpool.areas | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | mem->defpool.late_alloc | 1 |
| PARAM_VALUE | 0 | mem->defpool.slots | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | mem->nslabs | 0 |
| PARAM_VALUE | 1 | pool | 1473117533515866112 |
| PARAM_VALUE | 1 | pool->areas | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | pool->late_alloc | 1 |
| PARAM_VALUE | 1 | pool->nslabs | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | pool->slots | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | pool->vaddr | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 1 | pool | 192 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pool->nareas | |
| NO_OVERFLOW_SIMPLE | 1 | pool->nslabs |
kernel/dma/swiotlb.c swiotlb_init_remap() -> add_mem_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 1473117533515866112 |
| PARAM_VALUE | 0 | mem->defpool.areas | 1-u64max |
| PARAM_VALUE | 0 | mem->defpool.slots | 1-u64max |
| PARAM_VALUE | 1 | pool | 1473117533515866112 |
| PARAM_VALUE | 1 | pool->areas | 1-u64max |
| PARAM_VALUE | 1 | pool->late_alloc | 0 |
| PARAM_VALUE | 1 | pool->nslabs | 0,128-u64max |
| PARAM_VALUE | 1 | pool->slots | 1-u64max |
| PARAM_VALUE | 1 | pool->vaddr | 1-u64max |
| BUF_SIZE | 1 | pool | 192 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pool->nareas | |
| NO_OVERFLOW_SIMPLE | 1 | pool->nslabs | |
| LOCK2 | irq |