Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/accel/ivpu/ivpu_ipc.c, line 514
- drivers/gpu/drm/vboxvideo/vbox_main.c, line 129
- drivers/misc/sram.c
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 5087
- drivers/net/ethernet/ti/davinci_cpdma.c, line 240
- drivers/soc/fsl/qbman/bman_ccsr.c, line 267
- drivers/soc/fsl/qbman/qman_ccsr.c
- drivers/usb/core/hcd.c, line 3114
- lib/genalloc.c, line 866
Smatch caller information:
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_setup_legacy_sram() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | min_alloc_order | 5 |
| PARAM_VALUE | 2 | nid | (-1) |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_desc_pool_create() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | min_alloc_order | 5 |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 9080057331921252352 |
| BUF_SIZE | 3 | name | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 3 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/fsl/qbman/bman_ccsr.c fsl_bman_probe() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | min_alloc_order | 0 |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 2092052005127409664 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | name | 13 |
| STR_LEN | 0 | dev | 12 |
| TERMINATED | 3 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/fsl/qbman/qman_ccsr.c fsl_qman_probe() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | min_alloc_order | 0 |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 7045963268714721280 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | name | 13 |
| STR_LEN | 0 | dev | 12 |
| TERMINATED | 3 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/fsl/qbman/qman_ccsr.c fsl_qman_probe() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | min_alloc_order | 0 |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 7273329176437907456 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | name | 13 |
| STR_LEN | 0 | dev | 12 |
| TERMINATED | 3 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/fsl/qbman/qman_ccsr.c fsl_qman_probe() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | min_alloc_order | 0 |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 644886565383831552 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | name | 14 |
| STR_LEN | 0 | dev | 13 |
| TERMINATED | 3 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vboxvideo/vbox_main.c vbox_hw_init() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min_alloc_order | 4 |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 2237061917463695360 |
| BUF_SIZE | 3 | name | 16 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 3 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/misc/sram.c sram_add_pool() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 2 | nid | (-1) |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/misc/sram.c sram_probe() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hcd.c usb_hcd_setup_local_mem() -> devm_gen_pool_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | min_alloc_order | 4 |
| BUF_SIZE | 3 | name | 1-s32max |
| BIT_INFO | 2 | nid | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/accel/ivpu/ivpu_ipc.c ivpu_ipc_init() -> devm_gen_pool_create()
| 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->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_parms->max_segment_size | u32max |
| PARAM_VALUE | 0 | dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 2 | nid | (-1) |
| PARAM_VALUE | 3 | name | 5301092683328618496 |
| BUF_SIZE | 3 | name | 11 |
| CAPPED_DATA | 0 | dev | 1 |
| STR_LEN | 0 | dev | 10 |
| TERMINATED | 3 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &pool->lock |