LCOV - code coverage report
Current view: top level - module/event/subsystems/scsi - scsi.c (source / functions) Hit Total Coverage
Test: ut_cov_unit.info Lines: 0 10 0.0 %
Date: 2024-12-09 07:13:52 Functions: 0 4 0.0 %

          Line data    Source code
       1             : /*   SPDX-License-Identifier: BSD-3-Clause
       2             :  *   Copyright (C) 2016 Intel Corporation.
       3             :  *   All rights reserved.
       4             :  */
       5             : 
       6             : #include "spdk/stdinc.h"
       7             : 
       8             : #include "spdk/scsi.h"
       9             : 
      10             : #include "spdk_internal/init.h"
      11             : 
      12             : static void
      13           0 : scsi_subsystem_init(void)
      14             : {
      15             :         int rc;
      16             : 
      17           0 :         rc = spdk_scsi_init();
      18             : 
      19           0 :         spdk_subsystem_init_next(rc);
      20           0 : }
      21             : 
      22             : static void
      23           0 : scsi_subsystem_fini(void)
      24             : {
      25           0 :         spdk_scsi_fini();
      26           0 :         spdk_subsystem_fini_next();
      27           0 : }
      28             : 
      29             : static struct spdk_subsystem g_spdk_subsystem_scsi = {
      30             :         .name = "scsi",
      31             :         .init = scsi_subsystem_init,
      32             :         .fini = scsi_subsystem_fini,
      33             : };
      34             : 
      35           0 : SPDK_SUBSYSTEM_REGISTER(g_spdk_subsystem_scsi);
      36           0 : SPDK_SUBSYSTEM_DEPEND(scsi, bdev)

Generated by: LCOV version 1.15