Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/pci/controller/pcie-rcar-ep.c, line 534
- drivers/pci/controller/pcie-rockchip-ep.c, line 780
- drivers/pci/endpoint/pci-epc-mem.c
Smatch caller information:
drivers/pci/controller/pcie-rockchip-ep.c rockchip_pcie_ep_init_ob_mem() -> pci_epc_multi_mem_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epc | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->group | (-4095)-(-1) |
| PARAM_VALUE | 0 | epc->list_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | epc->list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->list_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | epc->list_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | epc->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | epc->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | epc->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | epc->ops | 8851034466638192640 |
| PARAM_VALUE | 0 | epc->pci_epf.next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | windows | 1-u64max |
| PARAM_VALUE | 2 | num_windows | 0,32 |
| BUF_SIZE | 0 | epc | 2000 |
| BUF_SIZE | 1 | windows | 0,768 |
| BUF_SIZE | 1 | windows | 0,768 |
| CAPPED_DATA | 2 | num_windows | 1 |
| DATA_SOURCE | 1 | windows | r devm_kcalloc |
| MEM_ZERO | 1 | windows | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | num_windows | |
| UNITS | 2 | num_windows | unit_array_size |
drivers/pci/controller/pcie-rcar-ep.c rcar_pcie_ep_probe() -> pci_epc_multi_mem_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epc | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | epc->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj->name | 0-255 |
| PARAM_VALUE | 0 | epc->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | epc->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | epc->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | epc->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | epc->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | epc->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | epc->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | epc->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | epc->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | epc->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | epc->dev.physical_location->dock | 0 |
| PARAM_VALUE | 0 | epc->dev.physical_location->lid | 0 |
| PARAM_VALUE | 0 | epc->dev.physical_location->panel | 0 |
| PARAM_VALUE | 0 | epc->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->group | (-4095)-(-1) |
| PARAM_VALUE | 0 | epc->list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | epc->list_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | epc->list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->list_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | epc->list_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | epc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | epc->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | epc->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | epc->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | epc->max_functions | 0-1 |
| PARAM_VALUE | 0 | epc->ops | 7236353831879417856 |
| PARAM_VALUE | 0 | epc->pci_epf.next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | windows | 1-u64max |
| PARAM_VALUE | 1 | windows->page_size | 0 |
| PARAM_VALUE | 1 | windows->phys_base | 0 |
| PARAM_VALUE | 1 | windows->size | 0 |
| PARAM_VALUE | 2 | num_windows | 0,4 |
| BUF_SIZE | 0 | epc | 2000 |
| BUF_SIZE | 0 | epc->ops | 144 |
| DATA_SOURCE | 0 | epc | r __devm_pci_epc_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | num_windows | |
| UNITS | 2 | num_windows | unit_array_size |
drivers/pci/endpoint/pci-epc-mem.c pci_epc_mem_init() -> pci_epc_multi_mem_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epc | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->defpool.vaddr | 0 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | epc->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | epc->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.fwnode->suppliers.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj->name | 0-255 |
| PARAM_VALUE | 0 | epc->dev.kobj->release.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | epc->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | epc->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | epc->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | epc->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | epc->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | epc->dev.parent->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.physical_location->dock | 0 |
| PARAM_VALUE | 0 | epc->dev.physical_location->lid | 0 |
| PARAM_VALUE | 0 | epc->dev.physical_location->panel | 0 |
| PARAM_VALUE | 0 | epc->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->group | (-4095)-(-1) |
| PARAM_VALUE | 0 | epc->list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | epc->list_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | epc->list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->list_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | epc->list_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | epc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | epc->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | epc->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | epc->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | epc->ops | 4449701682773778432,6477762481350189056 |
| PARAM_VALUE | 0 | epc->pci_epf.next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | epc->pci_epf.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | windows | 2887020752318808064 |
| PARAM_VALUE | 2 | num_windows | 1 |
| BUF_SIZE | 0 | epc | 2000 |
| BUF_SIZE | 0 | epc->max_vfs | (-1)-255 |
| BUF_SIZE | 0 | epc->ops | 144 |
| DATA_SOURCE | 0 | epc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | epc->max_functions |