LCOV - code coverage report
Current view: top level - include/net/netns - hash.h (source / functions) Hit Total Coverage
Test: combined.info Lines: 2 2 100.0 %
Date: 2022-04-01 14:17:54 Functions: 0 0 -
Branches: 4 4 100.0 %

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: GPL-2.0 */
       2                 :            : #ifndef __NET_NS_HASH_H__
       3                 :            : #define __NET_NS_HASH_H__
       4                 :            : 
       5                 :            : #include <net/net_namespace.h>
       6                 :            : 
       7                 :       3212 : static inline u32 net_hash_mix(const struct net *net)
       8                 :            : {
       9   [ +  +  +  + ]:       3212 :         return net->hash_mix;
      10                 :            : }
      11                 :            : #endif

Generated by: LCOV version 1.14