Defined in 3 files as a macro:

Defined in 2 files as a function:

Referenced in 28 files:

Smatch caller information:

drivers/spi/spi-qup.c spi_qup_can_dma() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->io_mutex

drivers/spi/spi-qup.c spi_qup_probe() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mthca/mthca_main.c mthca_init_icm() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mthca_device_mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/mthca/mthca_main.c mthca_init_icm() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mthca_device_mutex
HALF_LOCKED2 &pool->lock

drivers/xen/swiotlb-xen.c dma_kmalloc_size_aligned() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/slab_common.c __kmalloc_minalign() -> dma_get_cache_alignment()

Type Parameter Key Value
LOCK2 irq

drivers/usb/chipidea/udc.c dma_kmalloc_size_aligned() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 flags
HALF_LOCKED2 hwep->lock

drivers/scsi/scsi_lib.c scsi_init_limits() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &attribute_container_mutex

net/core/page_pool.c page_pool_alloc_frag_netmem() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/core/page_pool.c page_pool_alloc_frag_netmem() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caamrng.c caam_init() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rng_mutex
HALF_LOCKED2 &of->mutex

drivers/crypto/caam/caamrng.c caam_init() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rng_mutex
HALF_LOCKED2 &of->mutex

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_can_use_tx_bounce() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_can_use_tx_bounce() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_can_use_tx_sgl() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_can_use_tx_sgl() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_tx_spare_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_tx_spare_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/iommu/dma-iommu.c dma_kmalloc_size_aligned() -> dma_get_cache_alignment()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/i3c/master/mipi-i3c-hci/dma.c hci_dma_init() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/spi/spi-bcm2835.c bcm2835_spi_setup() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &spi->controller->io_mutex
HALF_LOCKED2 &spi->controller->bus_lock_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-bcm2835.c bcm2835_spi_setup() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &spi->controller->io_mutex
HALF_LOCKED2 &spi->controller->bus_lock_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/net/ethernet/broadcom/b44.c b44_init() -> dma_get_cache_alignment()

Type Parameter Key Value

drivers/crypto/caam/caampkc.c caam_rsa_set_priv_key_form() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caampkc.c caam_rsa_set_priv_key_form() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caampkc.c caam_rsa_set_priv_key_form() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caampkc.c caam_rsa_set_priv_key_form() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/spi/spi.c __spi_alloc_controller() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/spi/spi.c __spi_alloc_controller() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caamalg.c skcipher_edesc_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamalg.c skcipher_edesc_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamalg.c skcipher_edesc_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamalg.c skcipher_edesc_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamalg.c skcipher_edesc_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamalg.c skcipher_edesc_iv() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caamalg.c skcipher_edesc_iv() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_init_icm() -> dma_get_cache_alignment()

Type Parameter Key Value

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_init_icm() -> dma_get_cache_alignment()

Type Parameter Key Value

drivers/usb/dwc2/hcd.c dwc2_alloc_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH

drivers/usb/dwc2/hcd.c dwc2_alloc_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH

drivers/usb/dwc2/hcd.c dwc2_alloc_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH

drivers/usb/dwc2/hcd.c dwc2_alloc_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH

drivers/usb/dwc2/hcd.c dwc2_alloc_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH

drivers/usb/dwc2/hcd.c dwc2_alloc_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH

drivers/usb/dwc2/hcd.c dwc2_alloc_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH

drivers/usb/dwc2/hcd.c dwc2_free_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/dwc2/hcd.c dwc2_free_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/dwc2/hcd.c dwc2_free_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/dwc2/hcd.c dwc2_free_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/dwc2/hcd.c dwc2_free_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/dwc2/hcd.c dwc2_free_dma_aligned_buffer() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caamalg_qi2.c ahash_setkey() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

drivers/crypto/caam/caamalg_qi2.c ahash_setkey() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

drivers/crypto/caam/caamalg_qi2.c dpaa2_dpseci_congestion_setup() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caamalg_qi.c skcipher_edesc_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamalg_qi.c skcipher_edesc_alloc() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamalg_qi.c skcipher_edesc_iv() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/caam/caamalg_qi.c skcipher_edesc_iv() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

kernel/dma/debug.c add_dma_entry() -> dma_get_cache_alignment()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 __flags

drivers/crypto/caam/caamhash.c ahash_setkey() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

drivers/crypto/caam/caamhash.c ahash_setkey() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c allocate_flows() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/media/common/videobuf2/videobuf2-dma-contig.c vb2_dc_get_userptr() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdev->req_queue_mutex
HALF_LOCKED2 vb->vb2_queue->lock

drivers/tty/serial/samsung_tty.c s3c24xx_serial_probe() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/tty/serial/samsung_tty.c s3c24xx_serial_start_next_tx() -> dma_get_cache_alignment()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port->lock
HALF_LOCKED2 flags

drivers/tty/serial/samsung_tty.c s3c24xx_serial_start_tx_dma() -> dma_get_cache_alignment()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port->lock
HALF_LOCKED2 flags

drivers/tty/serial/samsung_tty.c s3c24xx_serial_tx_chars() -> dma_get_cache_alignment()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port->lock
HALF_LOCKED2 flags

drivers/tty/serial/samsung_tty.c s3c24xx_serial_tx_chars() -> dma_get_cache_alignment()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port->lock
HALF_LOCKED2 flags

drivers/spi/spi-imx.c spi_imx_dma_map() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_map() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_map() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_map() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_map() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_map() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_unmap() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_unmap() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_unmap() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_dma_unmap() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/crypto/caam/qi.c caam_qi_init() -> dma_get_cache_alignment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

kernel/dma/direct.c dma_kmalloc_size_aligned() -> dma_get_cache_alignment()

Type Parameter Key Value