LCOV - code coverage report
Current view: top level - drivers/virtio - virtio_anchor.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 4 0.0 %
Date: 2023-07-19 18:55:55 Functions: 0 2 0.0 %

          Line data    Source code
       1             : // SPDX-License-Identifier: GPL-2.0-only
       2             : #include <linux/virtio.h>
       3             : #include <linux/virtio_anchor.h>
       4             : 
       5           0 : bool virtio_require_restricted_mem_acc(struct virtio_device *dev)
       6             : {
       7           0 :         return true;
       8             : }
       9             : EXPORT_SYMBOL_GPL(virtio_require_restricted_mem_acc);
      10             : 
      11           0 : static bool virtio_no_restricted_mem_acc(struct virtio_device *dev)
      12             : {
      13           0 :         return false;
      14             : }
      15             : 
      16             : bool (*virtio_check_mem_acc_cb)(struct virtio_device *dev) =
      17             :         virtio_no_restricted_mem_acc;
      18             : EXPORT_SYMBOL_GPL(virtio_check_mem_acc_cb);

Generated by: LCOV version 1.14