Defined in 1 files as a function:
Referenced in 16 files:
- arch/arm/mach-davinci/sram.c, line 67
- arch/arm/mm/dma-mapping.c, line 224
- drivers/accel/habanalabs/common/mmu/mmu.c
- drivers/firmware/qcom/qcom_tzmem.c, line 219
- drivers/firmware/stratix10-svc.c, line 1030
- drivers/gpu/drm/vboxvideo/vbox_main.c, line 134
- drivers/misc/sram.c
- drivers/net/ethernet/freescale/fman/fman_muram.c, line 59
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 5094
- drivers/net/ethernet/ti/davinci_cpdma.c, line 263
- drivers/net/ethernet/ti/k3-cppi-desc-pool.c, line 90
- drivers/s390/cio/css.c
- drivers/tee/tee_shm_pool.c, line 78
- drivers/usb/core/hcd.c, line 3144
- include/linux/genalloc.h, line 123
- kernel/dma/pool.c, line 137
Smatch caller information:
drivers/net/ethernet/freescale/fman/fman_muram.c fman_muram_init() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 4096-18446744073709547520 |
| PARAM_VALUE | 2 | phys | 0-18446744073709551614 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | r gen_pool_create |
| DATA_SOURCE | 1 | addr | r ioremap |
| DATA_SOURCE | 2 | phys | $0 |
| DATA_SOURCE | 3 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_setup_legacy_sram() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 5 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 3 | size | 262144 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | r devm_gen_pool_create |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/ti/davinci_cpdma.c cpdma_desc_pool_create() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 5 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 1-u64max |
| PARAM_VALUE | 3 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| BUF_SIZE | 1 | addr | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | pool | r devm_gen_pool_create |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/edac/igen6_edac.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 8172999087044411392 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 4096 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/apei/ghes.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 3 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 1-u64max |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 0,4096-4294971392 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| BIT_INFO | 3 | size | 0x0,0x1fffff000 |
| BIT_INFO | 3 | size | 0x0,0x1fffff000 |
drivers/accel/habanalabs/gaudi2/gaudi2.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 1-18446744073709547520 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 2097152 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->fpriv_list_lock |
drivers/accel/habanalabs/common/command_buffer.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 1-u64max |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 4294967296 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock |
drivers/tee/tee_heap.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 12 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
drivers/accel/habanalabs/gaudi/gaudi.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 1-18446744073709547520 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 2097152 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->fpriv_list_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 1-u64max |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 256 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
drivers/soc/fsl/qbman/bman_ccsr.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 2147483648 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 8,64 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| FUZZY_MAX | 3 | size | 64 |
| BIT_INFO | 3 | size | 0x0,0x48 |
| BIT_INFO | 3 | size | 0x0,0x48 |
| HARD_MAX | 3 | size | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/dma/pool.c atomic_pool_expand() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | phys | 0,4096-18446744073709547520 |
| PARAM_VALUE | 3 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | (-1),120 |
| BUF_SIZE | 0 | pool | (-1),120 |
| CAPPED_DATA | 2 | phys | 1 |
| BIT_INFO | 2 | phys | 0x0,0xfffffffffffff000 |
| BIT_INFO | 3 | size | 0x0,0xffffffff |
| BIT_INFO | 3 | size | 0x0,0xffffffff |
drivers/firmware/qcom/qcom_tzmem.c qcom_tzmem_pool_add_memory() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-18446744073709547520 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | (-1),120 |
| BUF_SIZE | 0 | pool | (-1),120 |
| BUF_SIZE | 1 | addr | 0,4096-u64max |
| DATA_SOURCE | 1 | addr | r dma_alloc_coherent |
| DATA_SOURCE | 3 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | size | 0,4096[c] |
| UNITS | 3 | size | unit_byte |
drivers/soc/fsl/qbman/qman_ccsr.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 2147483648-2147483649,2147483681,2147484673 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 0-u32max |
| PARAM_VALUE | 4 | nid | (-1) |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| BIT_INFO | 1 | addr | 0x80000000,0x800007ff |
| BIT_INFO | 1 | addr | 0x80000000,0x800007ff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vboxvideo/vbox_main.c vbox_hw_init() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 4 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 65536-131071 |
| PARAM_VALUE | 2 | phys | 0-u32max |
| PARAM_VALUE | 3 | size | 65520 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | r devm_gen_pool_create |
| DATA_SOURCE | 1 | addr | r pcim_iomap_range |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
drivers/accel/habanalabs/common/mmu/mmu.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/accel/habanalabs/common/mmu/mmu.c hl_mmu_hr_alloc_hop() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 0,4096-ptr_max |
| PARAM_VALUE | 1 | addr | 17-18446744073709547520 |
| PARAM_VALUE | 3 | size | 2097152 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 1 | addr | s32min-s32max |
| DATA_SOURCE | 1 | addr | r hl_asic_dma_alloc_coherent_caller |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->fpriv_list_lock | ||
| HALF_LOCKED2 | &hdev->mmu_lock |
drivers/accel/habanalabs/common/mmu/mmu.c hl_mmu_hr_init() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 12 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 17-18446744073709547520 |
| PARAM_VALUE | 3 | size | 4194304 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| BUF_SIZE | 1 | addr | s32min-s32max |
| DATA_SOURCE | 0 | pool | r gen_pool_create |
| DATA_SOURCE | 1 | addr | r hl_asic_dma_alloc_coherent_caller |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 1-u64max |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 256 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
arch/x86/kernel/cpu/mce/genpool.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 16,4096-18446744073709547520 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 0-4000000 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
drivers/misc/sram.c sram_add_pool() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 3 | size | 1-u32max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | r devm_gen_pool_create |
| DATA_SOURCE | 2 | phys | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | phys | unit_byte |
drivers/misc/sram.c sram_reserve_regions() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-u32max |
| PARAM_VALUE | 3 | size | 1-u32max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 0,120 |
| BUF_SIZE | 0 | pool | 0,120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | phys | unit_byte |
| UNITS | 3 | size | unit_byte |
drivers/usb/core/hcd.c usb_hcd_setup_local_mem() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 4 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 1-18446744073709547520 |
| BUF_SIZE | 0 | pool | 120 |
| BUF_SIZE | 1 | addr | s32min-s32max |
| DATA_SOURCE | 0 | pool | r devm_gen_pool_create |
| DATA_SOURCE | 2 | phys | $2 [m] |
| DATA_SOURCE | 3 | size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/habanalabs/common/memory.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| UNITS | 1 | addr | unit_byte |
| UNITS | 3 | size | unit_byte |
drivers/accel/ivpu/ivpu_ipc.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tee/tee_shm_pool.c tee_shm_pool_alloc_res_mem() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 4 | nid | (-1) |
| DATA_SOURCE | 0 | pool | r gen_pool_create |
| DATA_SOURCE | 1 | addr | $0 |
| DATA_SOURCE | 2 | phys | $1 |
| DATA_SOURCE | 3 | size | $2 |
| BIT_INFO | 1 | addr | 0x0,0xfffffffffffff000 |
| BIT_INFO | 1 | addr | 0x0,0xfffffffffffff000 |
| BIT_INFO | 2 | phys | 0x0,0xfffffffffffff000 |
| BIT_INFO | 2 | phys | 0x0,0xfffffffffffff000 |
| BIT_INFO | 3 | size | 0x0,0xfffffffffffff000 |
| BIT_INFO | 3 | size | 0x0,0xfffffffffffff000 |
drivers/soc/fsl/qe/qe_common.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
drivers/infiniband/hw/cxgb4/resource.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->min_alloc_order | 8,10,12 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 0-4294967294 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| HARD_MAX | 0 | pool->min_alloc_order | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| UNITS | 3 | size | unit_byte |
| LOCK2 | global &uld_mutex |
drivers/accel/habanalabs/goya/goya.c gen_pool_add() -> gen_pool_add_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->data | 0 |
| PARAM_VALUE | 0 | pool->name | 0 |
| PARAM_VALUE | 1 | addr | 1-18446744073709547520 |
| PARAM_VALUE | 2 | phys | u64max |
| PARAM_VALUE | 3 | size | 2097152 |
| PARAM_VALUE | 4 | nid | (-1) |
| BUF_SIZE | 0 | pool | 120 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | size | $2 |
| DATA_SOURCE | 4 | nid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |