Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/crypto/intel/qat/qat_common/adf_sriov.c adf_do_disable_sriov() -> adf_dev_in_use()

Type Parameter Key Value
PARAM_VALUE 0 accel_dev 4096-ptr_max
CAPPED_DATA 0 accel_dev->accel_pci_dev.pci_dev 1
DATA_SOURCE 0 accel_dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &pdev->dev.mutex
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/crypto/intel/qat/qat_common/adf_sriov.c adf_do_enable_sriov() -> adf_dev_in_use()

Type Parameter Key Value
PARAM_VALUE 0 accel_dev 4096-ptr_max
CAPPED_DATA 0 accel_dev->accel_pci_dev.pci_dev 1
DATA_SOURCE 0 accel_dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &pdev->dev.mutex
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/crypto/intel/qat/qat_common/adf_sysfs.c state_store() -> adf_dev_in_use()

Type Parameter Key Value
PARAM_VALUE 0 accel_dev 4096-ptr_max
CAPPED_DATA 0 accel_dev->accel_pci_dev.pci_dev 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex