Defined in 1 files as a function:
Referenced in 17 files:
- drivers/accel/amdxdna/aie.c, line 150
- drivers/gpu/drm/drm_gem_dma_helper.c, line 149
- drivers/gpu/drm/nouveau/nvkm/core/firmware.c, line 242
- drivers/hwtracing/coresight/coresight-tmc-etr.c, line 617
- drivers/mtd/nand/ecc-realtek.c, line 421
- drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
- drivers/net/ethernet/freescale/fec_main.c, line 391
- drivers/net/ethernet/i825xx/lasi_82596.c, line 181
- drivers/net/ethernet/seeq/sgiseeq.c, line 751
- drivers/net/wireless/ath/ath11k/dp.c, line 252
- drivers/net/wireless/ath/ath11k/dp_rx.c, line 1054
- drivers/scsi/53c700.c, line 310
- drivers/scsi/sgiwd93.c, line 245
- drivers/spi/spi-fsl-dspi.c
- drivers/usb/cdns3/cdns3-gadget.c, line 914
- sound/core/memalloc.c, line 838
- sound/mips/hal2.c
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/core/firmware.c nvkm_firmware_ctor() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | dma_handle | 1344566990309359616 |
| PARAM_VALUE | 3 | dir | 1 |
| PARAM_VALUE | 4 | gfp | 3264 |
| BIT_INFO | 1 | size | 0x0,0x7ffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subdev->use.mutex |
sound/core/memalloc.c snd_dma_noncoherent_alloc() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 4 | gfp | 27840 |
| DATA_SOURCE | 1 | size | $1 |
| NOSPEC | 1 | size | |
| NOSPEC | 1 | size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | size | 0,4096-12884905984[c] |
| USER_DATA | 1 | size | 0,4096-4294967296[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 2 | *dma_handle | |
| UNITS | 0 | dev | unit_byte |
drivers/usb/cdns3/cdns3-gadget.c cdns3_prepare_aligned_request_buf() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 1-2 |
| PARAM_VALUE | 4 | gfp | 2080 |
| FUZZY_MAX | 3 | dir | 2 |
| HARD_MAX | 3 | dir | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &priv_dev->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/gpu/drm/drm_gem_dma_helper.c drm_gem_dma_create() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 1 |
| PARAM_VALUE | 4 | gfp | 11456 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/spi/spi-fsl-dspi.c dspi_request_dma() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 1 |
| PARAM_VALUE | 4 | gfp | 3264 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| FUZZY_MAX | 1 | size | 4096 |
| MEM_ZERO | 2 | dma_handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | size | unit_byte |
drivers/spi/spi-fsl-dspi.c dspi_request_dma() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 2 |
| PARAM_VALUE | 4 | gfp | 3264 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| FUZZY_MAX | 1 | size | 4096 |
| MEM_ZERO | 2 | dma_handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | size | unit_byte |
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c dpaa2_mac_setup_stats() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 8,48,72,112 |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 1 |
| PARAM_VALUE | 4 | gfp | 3264 |
| FUZZY_MAX | 1 | size | 112 |
| HARD_MAX | 1 | size | 112 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c dpaa2_mac_setup_stats() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->coherent_dma_mask | 1-u64max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | size | 16,96,144,224 |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 2 |
| PARAM_VALUE | 4 | gfp | 3264 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 0 | dev->cma_area->nranges | 1 |
| FUZZY_MAX | 1 | size | 224 |
| HARD_MAX | 1 | size | 224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/mtd/nand/ecc-realtek.c rtl_ecc_probe() -> dma_alloc_noncoherent()
| 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 | size | 540 |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 0 |
| PARAM_VALUE | 4 | gfp | 3264 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 2 | dma_handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/ath/ath11k/dp.c ath11k_dp_srng_setup() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | size | 7 |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 2 |
| PARAM_VALUE | 4 | gfp | 3264 |
| RX_PATH | |||
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &ab->core_lock |
drivers/accel/amdxdna/aie.c amdxdna_alloc_msg_buffer() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | dma_handle | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 2 |
| PARAM_VALUE | 4 | gfp | 3264 |
| DATA_SOURCE | 2 | dma_handle | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/net/wireless/ath/ath11k/dp_rx.c ath11k_peer_rx_tid_setup() -> dma_alloc_noncoherent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 255-639 |
| PARAM_VALUE | 2 | dma_handle | 7510329999534891008 |
| PARAM_VALUE | 3 | dir | 0 |
| PARAM_VALUE | 4 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ab->base_lock | ||
| LOCK2 | &ar->conf_mutex | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct ath11k)->conf_mutex | ||
| TYPE_LOCK | (struct ath11k_base)->base_lock |