LCOV - code coverage report
Current view: top level - nspawn - nspawn-gperf.gperf (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 0 14 0.0 %
Date: 2019-08-23 13:36:53 Functions: 0 2 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 14 0.0 %

           Branch data     Line data    Source code
       1                 :            : %{
       2                 :            : #if __GNUC__ >= 7
       3                 :            : _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
       4                 :            : #endif
       5                 :            : #include <stddef.h>
       6                 :            : #include "conf-parser.h"
       7                 :            : #include "nspawn-settings.h"
       8                 :            : #include "nspawn-expose-ports.h"
       9                 :            : %}
      10                 :            : struct ConfigPerfItem;
      11                 :            : %null_strings
      12                 :            : %language=ANSI-C
      13                 :            : %define slot-name section_and_lvalue
      14                 :            : %define hash-function-name nspawn_gperf_hash
      15                 :            : %define lookup-function-name nspawn_gperf_lookup
      16                 :            : %readonly-tables
      17                 :            : %omit-struct-type
      18                 :            : %struct-type
      19                 :            : %includes
      20                 :            : %%
      21                 :            : Exec.Boot,                    config_parse_boot,           0,                 0
      22                 :            : Exec.Ephemeral,               config_parse_bool,           0,                 offsetof(Settings, ephemeral)
      23                 :            : Exec.ProcessTwo,              config_parse_pid2,           0,                 0
      24                 :            : Exec.Parameters,              config_parse_strv,           0,                 offsetof(Settings, parameters)
      25                 :            : Exec.Environment,             config_parse_strv,           0,                 offsetof(Settings, environment)
      26                 :          0 : Exec.User,                    config_parse_string,         0,                 offsetof(Settings, user)
      27                 :            : Exec.Capability,              config_parse_capability,     0,                 offsetof(Settings, capability)
      28                 :            : Exec.DropCapability,          config_parse_capability,     0,                 offsetof(Settings, drop_capability)
      29                 :            : Exec.KillSignal,              config_parse_signal,         0,                 offsetof(Settings, kill_signal)
      30                 :            : Exec.Personality,             config_parse_personality,    0,                 offsetof(Settings, personality)
      31                 :            : Exec.MachineID,               config_parse_id128,          0,                 offsetof(Settings, machine_id)
      32                 :            : Exec.WorkingDirectory,        config_parse_path,           0,                 offsetof(Settings, working_directory)
      33                 :            : Exec.PivotRoot,               config_parse_pivot_root,     0,                 0
      34                 :            : Exec.PrivateUsers,            config_parse_private_users,  0,                 0
      35                 :            : Exec.NotifyReady,             config_parse_bool,           0,                 offsetof(Settings, notify_ready)
      36                 :            : Exec.SystemCallFilter,        config_parse_syscall_filter, 0,                 0,
      37                 :            : Exec.LimitCPU,                config_parse_rlimit,         RLIMIT_CPU,        offsetof(Settings, rlimit)
      38                 :            : Exec.LimitFSIZE,              config_parse_rlimit,         RLIMIT_FSIZE,      offsetof(Settings, rlimit)
      39                 :            : Exec.LimitDATA,               config_parse_rlimit,         RLIMIT_DATA,       offsetof(Settings, rlimit)
      40                 :            : Exec.LimitSTACK,              config_parse_rlimit,         RLIMIT_STACK,      offsetof(Settings, rlimit)
      41                 :            : Exec.LimitCORE,               config_parse_rlimit,         RLIMIT_CORE,       offsetof(Settings, rlimit)
      42                 :            : Exec.LimitRSS,                config_parse_rlimit,         RLIMIT_RSS,        offsetof(Settings, rlimit)
      43                 :            : Exec.LimitNOFILE,             config_parse_rlimit,         RLIMIT_NOFILE,     offsetof(Settings, rlimit)
      44                 :            : Exec.LimitAS,                 config_parse_rlimit,         RLIMIT_AS,         offsetof(Settings, rlimit)
      45                 :            : Exec.LimitNPROC,              config_parse_rlimit,         RLIMIT_NPROC,      offsetof(Settings, rlimit)
      46                 :            : Exec.LimitMEMLOCK,            config_parse_rlimit,         RLIMIT_MEMLOCK,    offsetof(Settings, rlimit)
      47                 :            : Exec.LimitLOCKS,              config_parse_rlimit,         RLIMIT_LOCKS,      offsetof(Settings, rlimit)
      48                 :            : Exec.LimitSIGPENDING,         config_parse_rlimit,         RLIMIT_SIGPENDING, offsetof(Settings, rlimit)
      49                 :            : Exec.LimitMSGQUEUE,           config_parse_rlimit,         RLIMIT_MSGQUEUE,   offsetof(Settings, rlimit)
      50                 :            : Exec.LimitNICE,               config_parse_rlimit,         RLIMIT_NICE,       offsetof(Settings, rlimit)
      51         [ #  # ]:          0 : Exec.LimitRTPRIO,             config_parse_rlimit,         RLIMIT_RTPRIO,     offsetof(Settings, rlimit)
      52                 :            : Exec.LimitRTTIME,             config_parse_rlimit,         RLIMIT_RTTIME,     offsetof(Settings, rlimit)
      53                 :          0 : Exec.Hostname,                config_parse_hostname,       0,                 offsetof(Settings, hostname)
      54                 :            : Exec.NoNewPrivileges,         config_parse_tristate,       0,                 offsetof(Settings, no_new_privileges)
      55         [ #  # ]:          0 : Exec.OOMScoreAdjust,          config_parse_oom_score_adjust, 0,               0
      56                 :            : Exec.CPUAffinity,             config_parse_cpu_affinity,   0,                 0
      57                 :          0 : Exec.ResolvConf,              config_parse_resolv_conf,    0,                 offsetof(Settings, resolv_conf)
      58                 :            : Exec.LinkJournal,             config_parse_link_journal,   0,                 0
      59   [ #  #  #  #  :          0 : Exec.Timezone,                config_parse_timezone,       0,                 offsetof(Settings, timezone)
             #  #  #  # ]
      60                 :          0 : Files.ReadOnly,               config_parse_tristate,       0,                 offsetof(Settings, read_only)
      61                 :          0 : Files.Volatile,               config_parse_volatile_mode,  0,                 offsetof(Settings, volatile_mode)
      62                 :          0 : Files.Bind,                   config_parse_bind,           0,                 0
      63                 :          0 : Files.BindReadOnly,           config_parse_bind,           1,                 0
      64                 :          0 : Files.TemporaryFileSystem,    config_parse_tmpfs,          0,                 0
      65                 :            : Files.Inaccessible,           config_parse_inaccessible,   0,                 0
      66                 :            : Files.Overlay,                config_parse_overlay,        0,                 0
      67                 :          0 : Files.OverlayReadOnly,        config_parse_overlay,        1,                 0
      68                 :            : Files.PrivateUsersChown,      config_parse_tristate,       0,                 offsetof(Settings, userns_chown)
      69                 :          0 : Network.Private,              config_parse_tristate,       0,                 offsetof(Settings, private_network)
      70                 :            : Network.Interface,            config_parse_strv,           0,                 offsetof(Settings, network_interfaces)
      71                 :            : Network.MACVLAN,              config_parse_strv,           0,                 offsetof(Settings, network_macvlan)
      72                 :            : Network.IPVLAN,               config_parse_strv,           0,                 offsetof(Settings, network_ipvlan)
      73         [ #  # ]:          0 : Network.VirtualEthernet,      config_parse_tristate,       0,                 offsetof(Settings, network_veth)
      74                 :            : Network.VirtualEthernetExtra, config_parse_veth_extra,     0,                 0
      75                 :            : Network.Bridge,               config_parse_ifname,         0,                 offsetof(Settings, network_bridge)
      76                 :            : Network.Zone,                 config_parse_network_zone,   0,                 0
      77                 :            : Network.Port,                 config_parse_expose_port,    0,                 0

Generated by: LCOV version 1.14