Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/ttm/ttm_device.c ttm_device_init() -> ttm_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 1 dev 0,4096-ptr_max
DATA_SOURCE 1 dev $2
DATA_SOURCE 3 alloc_flags $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dev unit_byte

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_pools_init() -> ttm_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->bus 0,4096-ptr_max
PARAM_VALUE 1 dev->bus_dma_limit 1-u64max
PARAM_VALUE 1 dev->class 0,4096-ptr_max
PARAM_VALUE 1 dev->dma_mask 4096-ptr_max
PARAM_VALUE 1 dev->dma_parms 0,4096-ptr_max
PARAM_VALUE 1 dev->dma_parms->max_segment_size u32max
PARAM_VALUE 1 dev->driver 0,4096-ptr_max
PARAM_VALUE 1 dev->flags 4096-ptr_max
PARAM_VALUE 3 alloc_flags 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dev unit_byte

drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic() -> ttm_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 pool 16,4096-ptr_max
PARAM_VALUE 2 nid (-1)
BUF_SIZE 0 pool 5296
DATA_SOURCE 0 pool r kunit_kzalloc
MEM_ZERO 0 pool
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic_dma_addr() -> ttm_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 pool 16,4096-ptr_max
PARAM_VALUE 2 nid (-1)
PARAM_VALUE 3 alloc_flags 256
BUF_SIZE 0 pool 5296
DATA_SOURCE 0 pool r kunit_kzalloc
MEM_ZERO 0 pool
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_free_dma_alloc() -> ttm_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 pool 16,4096-ptr_max
PARAM_VALUE 2 nid (-1)
PARAM_VALUE 3 alloc_flags 256
BUF_SIZE 0 pool 5296
DATA_SOURCE 0 pool r kunit_kzalloc
MEM_ZERO 0 pool
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_free_no_dma_alloc() -> ttm_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 pool 16,4096-ptr_max
PARAM_VALUE 2 nid (-1)
PARAM_VALUE 3 alloc_flags 0
BUF_SIZE 0 pool 5296
DATA_SOURCE 0 pool r kunit_kzalloc
MEM_ZERO 0 pool
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_pre_populated() -> ttm_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 pool 16,4096-ptr_max
PARAM_VALUE 2 nid (-1)
PARAM_VALUE 3 alloc_flags 256
BUF_SIZE 0 pool 5296
DATA_SOURCE 0 pool r kunit_kzalloc
MEM_ZERO 0 pool
NOCHECK_CALL