iopf_queue
struct iopf_queue *iopf_queue;
if (iommu->iopf_queue)
iommu->iopf_queue = iopf_queue_alloc(iommu->iopfq_name);
if (!iommu->iopf_queue)
iopf_queue_free(iommu->iopf_queue);
iommu->iopf_queue = NULL;
if (!iommu->iopf_queue)
ret = iopf_queue_add_device(iommu->iopf_queue, dev_data->dev);
iopf_queue_remove_device(iommu->iopf_queue, dev_data->dev);
struct iopf_queue *iopf;
ret = iopf_queue_add_device(iommu->iopf_queue, dev);
iopf_queue_remove_device(iommu->iopf_queue, dev);
iopf_queue_remove_device(info->iommu->iopf_queue, info->dev);
struct iopf_queue *iopf_queue;
iopf_queue_discard_partial(iommu->iopf_queue);
struct iopf_queue *iopfq;
iommu->iopf_queue = iopfq;
iopf_queue_free(iommu->iopf_queue);
iommu->iopf_queue = NULL;
if (iommu->iopf_queue) {
iopf_queue_free(iommu->iopf_queue);
iommu->iopf_queue = NULL;
int iopf_queue_discard_partial(struct iopf_queue *queue)
int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev)
void iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev)
struct iopf_queue *iopf_queue_alloc(const char *name)
struct iopf_queue *queue;
void iopf_queue_free(struct iopf_queue *queue)
static struct iopf_queue *mock_iommu_iopf_queue;
int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev);
void iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev);
struct iopf_queue *iopf_queue_alloc(const char *name);
void iopf_queue_free(struct iopf_queue *queue);
int iopf_queue_discard_partial(struct iopf_queue *queue);
iopf_queue_add_device(struct iopf_queue *queue, struct device *dev)
iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev)
static inline struct iopf_queue *iopf_queue_alloc(const char *name)
static inline void iopf_queue_free(struct iopf_queue *queue)
static inline int iopf_queue_discard_partial(struct iopf_queue *queue)
struct iopf_queue *queue;