Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/nvme/host/pci.c nvme_pci_alloc_dev() -> dma_opt_mapping_size()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/scsi/scsi_transport_sas.c sas_dma_setup_opt_sectors() -> dma_opt_mapping_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex