/src/openvswitch/lib/hash.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2008, 2009, 2010, 2012, 2013, 2014, 2016 Nicira, Inc. |
3 | | * |
4 | | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | | * you may not use this file except in compliance with the License. |
6 | | * You may obtain a copy of the License at: |
7 | | * |
8 | | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | | * |
10 | | * Unless required by applicable law or agreed to in writing, software |
11 | | * distributed under the License is distributed on an "AS IS" BASIS, |
12 | | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | * See the License for the specific language governing permissions and |
14 | | * limitations under the License. |
15 | | */ |
16 | | #ifndef HASH_H |
17 | | #define HASH_H 1 |
18 | | |
19 | | #include <stdbool.h> |
20 | | #include <stddef.h> |
21 | | #include <stdint.h> |
22 | | #include <string.h> |
23 | | #include "util.h" |
24 | | |
25 | | #ifdef __cplusplus |
26 | | extern "C" { |
27 | | #endif |
28 | | |
29 | | static inline uint32_t |
30 | | hash_rot(uint32_t x, int k) |
31 | 42.2M | { |
32 | 42.2M | return (x << k) | (x >> (32 - k)); |
33 | 42.2M | } Unexecuted instantiation: ofp_print_target.c:hash_rot Unexecuted instantiation: ofp-print.c:hash_rot Unexecuted instantiation: ofp-queue.c:hash_rot Unexecuted instantiation: ofp-table.c:hash_rot Unexecuted instantiation: ofp-util.c:hash_rot Unexecuted instantiation: coverage.c:hash_rot Unexecuted instantiation: dp-packet.c:hash_rot Line | Count | Source | 31 | 145k | { | 32 | 145k | return (x << k) | (x >> (32 - k)); | 33 | 145k | } |
Line | Count | Source | 31 | 1.95k | { | 32 | 1.95k | return (x << k) | (x >> (32 - k)); | 33 | 1.95k | } |
Unexecuted instantiation: json.c:hash_rot Unexecuted instantiation: match.c:hash_rot Unexecuted instantiation: meta-flow.c:hash_rot Unexecuted instantiation: namemap.c:hash_rot Unexecuted instantiation: netdev.c:hash_rot Line | Count | Source | 31 | 24.7M | { | 32 | 24.7M | return (x << k) | (x >> (32 - k)); | 33 | 24.7M | } |
Line | Count | Source | 31 | 1.10M | { | 32 | 1.10M | return (x << k) | (x >> (32 - k)); | 33 | 1.10M | } |
Unexecuted instantiation: ofp-ct.c:hash_rot Unexecuted instantiation: ofp-ed-props.c:hash_rot Unexecuted instantiation: ofp-flow.c:hash_rot Unexecuted instantiation: ofp-group.c:hash_rot Unexecuted instantiation: ofp-match.c:hash_rot Unexecuted instantiation: ofp-meter.c:hash_rot Unexecuted instantiation: ofp-monitor.c:hash_rot Line | Count | Source | 31 | 16.2M | { | 32 | 16.2M | return (x << k) | (x >> (32 - k)); | 33 | 16.2M | } |
Unexecuted instantiation: ofp-packet.c:hash_rot Unexecuted instantiation: ofp-parse.c:hash_rot Unexecuted instantiation: ofp-port.c:hash_rot Unexecuted instantiation: ovs-router.c:hash_rot Unexecuted instantiation: ovs-thread.c:hash_rot Unexecuted instantiation: packets.c:hash_rot Unexecuted instantiation: poll-loop.c:hash_rot Unexecuted instantiation: random.c:hash_rot Unexecuted instantiation: seq.c:hash_rot Unexecuted instantiation: shash.c:hash_rot Unexecuted instantiation: smap.c:hash_rot Unexecuted instantiation: socket-util.c:hash_rot Unexecuted instantiation: sset.c:hash_rot Unexecuted instantiation: timeval.c:hash_rot Unexecuted instantiation: tnl-ports.c:hash_rot Unexecuted instantiation: tun-metadata.c:hash_rot Unexecuted instantiation: userspace-tso.c:hash_rot Unexecuted instantiation: netdev-linux.c:hash_rot Unexecuted instantiation: netdev-offload-tc.c:hash_rot Unexecuted instantiation: netlink-socket.c:hash_rot Unexecuted instantiation: rtnetlink.c:hash_rot Unexecuted instantiation: route-table.c:hash_rot Unexecuted instantiation: tc.c:hash_rot Unexecuted instantiation: bundle.c:hash_rot Unexecuted instantiation: classifier.c:hash_rot Unexecuted instantiation: ccmap.c:hash_rot Unexecuted instantiation: cmap.c:hash_rot Unexecuted instantiation: cooperative-multitasking.c:hash_rot Unexecuted instantiation: dp-packet-gso.c:hash_rot Unexecuted instantiation: dpif.c:hash_rot Unexecuted instantiation: hmapx.c:hash_rot Unexecuted instantiation: id-pool.c:hash_rot Unexecuted instantiation: learn.c:hash_rot Unexecuted instantiation: multipath.c:hash_rot Unexecuted instantiation: netdev-offload.c:hash_rot Unexecuted instantiation: netdev-vport.c:hash_rot Unexecuted instantiation: netlink.c:hash_rot Unexecuted instantiation: odp-execute.c:hash_rot Unexecuted instantiation: odp-execute-private.c:hash_rot Unexecuted instantiation: odp-util.c:hash_rot Unexecuted instantiation: simap.c:hash_rot Unexecuted instantiation: stream.c:hash_rot Unexecuted instantiation: tnl-neigh-cache.c:hash_rot Unexecuted instantiation: netdev-native-tnl.c:hash_rot Unexecuted instantiation: stream-unix.c:hash_rot Unexecuted instantiation: dpif-netlink.c:hash_rot Unexecuted instantiation: dpif-netlink-rtnl.c:hash_rot Unexecuted instantiation: netlink-conntrack.c:hash_rot Unexecuted instantiation: stream-ssl.c:hash_rot Unexecuted instantiation: conntrack.c:hash_rot Unexecuted instantiation: ct-dpif.c:hash_rot Unexecuted instantiation: dpctl.c:hash_rot Unexecuted instantiation: dpif-netdev.c:hash_rot Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_rot Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_rot Unexecuted instantiation: dpif-netdev-private-extract.c:hash_rot Unexecuted instantiation: ipf.c:hash_rot Unexecuted instantiation: lockfile.c:hash_rot Unexecuted instantiation: ovs-numa.c:hash_rot Unexecuted instantiation: stream-tcp.c:hash_rot Unexecuted instantiation: dpdk-stub.c:hash_rot Unexecuted instantiation: vswitch-idl.c:hash_rot Unexecuted instantiation: conntrack-icmp.c:hash_rot Unexecuted instantiation: conntrack-tcp.c:hash_rot Unexecuted instantiation: conntrack-tp.c:hash_rot Unexecuted instantiation: conntrack-other.c:hash_rot Unexecuted instantiation: dpif-netdev-extract-study.c:hash_rot Unexecuted instantiation: dpif-netdev-lookup.c:hash_rot Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_rot Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_rot Unexecuted instantiation: ovsdb-data.c:hash_rot Unexecuted instantiation: ovsdb-idl.c:hash_rot Unexecuted instantiation: ovsdb-map-op.c:hash_rot Unexecuted instantiation: ovsdb-cs.c:hash_rot |
34 | | |
35 | | uint32_t hash_bytes(const void *, size_t n_bytes, uint32_t basis); |
36 | | /* The hash input must be a word larger than 128 bits. */ |
37 | | void hash_bytes128(const void *_, size_t n_bytes, uint32_t basis, |
38 | | ovs_u128 *out); |
39 | | |
40 | | static inline uint32_t hash_int(uint32_t x, uint32_t basis); |
41 | | static inline uint32_t hash_2words(uint32_t, uint32_t); |
42 | | static inline uint32_t hash_uint64(const uint64_t); |
43 | | static inline uint32_t hash_uint64_basis(const uint64_t x, |
44 | | const uint32_t basis); |
45 | | uint32_t hash_3words(uint32_t, uint32_t, uint32_t); |
46 | | |
47 | | static inline uint32_t hash_boolean(bool x, uint32_t basis); |
48 | | uint32_t hash_double(double, uint32_t basis); |
49 | | |
50 | | static inline uint32_t hash_pointer(const void *, uint32_t basis); |
51 | | static inline uint32_t hash_string(const char *, uint32_t basis); |
52 | | |
53 | | /* Murmurhash by Austin Appleby, |
54 | | * from https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp |
55 | | * |
56 | | * The upstream license there says: |
57 | | * |
58 | | * MurmurHash3 was written by Austin Appleby, and is placed in the public |
59 | | * domain. The author hereby disclaims copyright to this source code. |
60 | | * |
61 | | * See hash_words() for sample usage. */ |
62 | | |
63 | | static inline uint32_t mhash_add__(uint32_t hash, uint32_t data) |
64 | 28.8M | { |
65 | | /* zero-valued 'data' will not change the 'hash' value */ |
66 | 28.8M | if (!data) { |
67 | 15.5M | return hash; |
68 | 15.5M | } |
69 | | |
70 | 13.3M | data *= 0xcc9e2d51; |
71 | 13.3M | data = hash_rot(data, 15); |
72 | 13.3M | data *= 0x1b873593; |
73 | 13.3M | return hash ^ data; |
74 | 28.8M | } Unexecuted instantiation: ofp_print_target.c:mhash_add__ Unexecuted instantiation: ofp-print.c:mhash_add__ Unexecuted instantiation: ofp-queue.c:mhash_add__ Unexecuted instantiation: ofp-table.c:mhash_add__ Unexecuted instantiation: ofp-util.c:mhash_add__ Unexecuted instantiation: coverage.c:mhash_add__ Unexecuted instantiation: dp-packet.c:mhash_add__ Line | Count | Source | 64 | 81.2k | { | 65 | | /* zero-valued 'data' will not change the 'hash' value */ | 66 | 81.2k | if (!data) { | 67 | 16.5k | return hash; | 68 | 16.5k | } | 69 | | | 70 | 64.7k | data *= 0xcc9e2d51; | 71 | 64.7k | data = hash_rot(data, 15); | 72 | 64.7k | data *= 0x1b873593; | 73 | 64.7k | return hash ^ data; | 74 | 81.2k | } |
Line | Count | Source | 64 | 975 | { | 65 | | /* zero-valued 'data' will not change the 'hash' value */ | 66 | 975 | if (!data) { | 67 | 0 | return hash; | 68 | 0 | } | 69 | | | 70 | 975 | data *= 0xcc9e2d51; | 71 | 975 | data = hash_rot(data, 15); | 72 | 975 | data *= 0x1b873593; | 73 | 975 | return hash ^ data; | 74 | 975 | } |
Unexecuted instantiation: json.c:mhash_add__ Unexecuted instantiation: match.c:mhash_add__ Unexecuted instantiation: meta-flow.c:mhash_add__ Unexecuted instantiation: namemap.c:mhash_add__ Unexecuted instantiation: netdev.c:mhash_add__ Line | Count | Source | 64 | 16.0M | { | 65 | | /* zero-valued 'data' will not change the 'hash' value */ | 66 | 16.0M | if (!data) { | 67 | 7.39M | return hash; | 68 | 7.39M | } | 69 | | | 70 | 8.66M | data *= 0xcc9e2d51; | 71 | 8.66M | data = hash_rot(data, 15); | 72 | 8.66M | data *= 0x1b873593; | 73 | 8.66M | return hash ^ data; | 74 | 16.0M | } |
ofp-actions.c:mhash_add__ Line | Count | Source | 64 | 737k | { | 65 | | /* zero-valued 'data' will not change the 'hash' value */ | 66 | 737k | if (!data) { | 67 | 368k | return hash; | 68 | 368k | } | 69 | | | 70 | 368k | data *= 0xcc9e2d51; | 71 | 368k | data = hash_rot(data, 15); | 72 | 368k | data *= 0x1b873593; | 73 | 368k | return hash ^ data; | 74 | 737k | } |
Unexecuted instantiation: ofp-ct.c:mhash_add__ Unexecuted instantiation: ofp-ed-props.c:mhash_add__ Unexecuted instantiation: ofp-flow.c:mhash_add__ Unexecuted instantiation: ofp-group.c:mhash_add__ Unexecuted instantiation: ofp-match.c:mhash_add__ Unexecuted instantiation: ofp-meter.c:mhash_add__ Unexecuted instantiation: ofp-monitor.c:mhash_add__ Line | Count | Source | 64 | 11.9M | { | 65 | | /* zero-valued 'data' will not change the 'hash' value */ | 66 | 11.9M | if (!data) { | 67 | 7.76M | return hash; | 68 | 7.76M | } | 69 | | | 70 | 4.22M | data *= 0xcc9e2d51; | 71 | 4.22M | data = hash_rot(data, 15); | 72 | 4.22M | data *= 0x1b873593; | 73 | 4.22M | return hash ^ data; | 74 | 11.9M | } |
Unexecuted instantiation: ofp-packet.c:mhash_add__ Unexecuted instantiation: ofp-parse.c:mhash_add__ Unexecuted instantiation: ofp-port.c:mhash_add__ Unexecuted instantiation: ovs-router.c:mhash_add__ Unexecuted instantiation: ovs-thread.c:mhash_add__ Unexecuted instantiation: packets.c:mhash_add__ Unexecuted instantiation: poll-loop.c:mhash_add__ Unexecuted instantiation: random.c:mhash_add__ Unexecuted instantiation: seq.c:mhash_add__ Unexecuted instantiation: shash.c:mhash_add__ Unexecuted instantiation: smap.c:mhash_add__ Unexecuted instantiation: socket-util.c:mhash_add__ Unexecuted instantiation: sset.c:mhash_add__ Unexecuted instantiation: timeval.c:mhash_add__ Unexecuted instantiation: tnl-ports.c:mhash_add__ Unexecuted instantiation: tun-metadata.c:mhash_add__ Unexecuted instantiation: userspace-tso.c:mhash_add__ Unexecuted instantiation: netdev-linux.c:mhash_add__ Unexecuted instantiation: netdev-offload-tc.c:mhash_add__ Unexecuted instantiation: netlink-socket.c:mhash_add__ Unexecuted instantiation: rtnetlink.c:mhash_add__ Unexecuted instantiation: route-table.c:mhash_add__ Unexecuted instantiation: tc.c:mhash_add__ Unexecuted instantiation: bundle.c:mhash_add__ Unexecuted instantiation: classifier.c:mhash_add__ Unexecuted instantiation: ccmap.c:mhash_add__ Unexecuted instantiation: cmap.c:mhash_add__ Unexecuted instantiation: cooperative-multitasking.c:mhash_add__ Unexecuted instantiation: dp-packet-gso.c:mhash_add__ Unexecuted instantiation: dpif.c:mhash_add__ Unexecuted instantiation: hmapx.c:mhash_add__ Unexecuted instantiation: id-pool.c:mhash_add__ Unexecuted instantiation: learn.c:mhash_add__ Unexecuted instantiation: multipath.c:mhash_add__ Unexecuted instantiation: netdev-offload.c:mhash_add__ Unexecuted instantiation: netdev-vport.c:mhash_add__ Unexecuted instantiation: netlink.c:mhash_add__ Unexecuted instantiation: odp-execute.c:mhash_add__ Unexecuted instantiation: odp-execute-private.c:mhash_add__ Unexecuted instantiation: odp-util.c:mhash_add__ Unexecuted instantiation: simap.c:mhash_add__ Unexecuted instantiation: stream.c:mhash_add__ Unexecuted instantiation: tnl-neigh-cache.c:mhash_add__ Unexecuted instantiation: netdev-native-tnl.c:mhash_add__ Unexecuted instantiation: stream-unix.c:mhash_add__ Unexecuted instantiation: dpif-netlink.c:mhash_add__ Unexecuted instantiation: dpif-netlink-rtnl.c:mhash_add__ Unexecuted instantiation: netlink-conntrack.c:mhash_add__ Unexecuted instantiation: stream-ssl.c:mhash_add__ Unexecuted instantiation: conntrack.c:mhash_add__ Unexecuted instantiation: ct-dpif.c:mhash_add__ Unexecuted instantiation: dpctl.c:mhash_add__ Unexecuted instantiation: dpif-netdev.c:mhash_add__ Unexecuted instantiation: dpif-netdev-private-dfc.c:mhash_add__ Unexecuted instantiation: dpif-netdev-private-dpif.c:mhash_add__ Unexecuted instantiation: dpif-netdev-private-extract.c:mhash_add__ Unexecuted instantiation: ipf.c:mhash_add__ Unexecuted instantiation: lockfile.c:mhash_add__ Unexecuted instantiation: ovs-numa.c:mhash_add__ Unexecuted instantiation: stream-tcp.c:mhash_add__ Unexecuted instantiation: dpdk-stub.c:mhash_add__ Unexecuted instantiation: vswitch-idl.c:mhash_add__ Unexecuted instantiation: conntrack-icmp.c:mhash_add__ Unexecuted instantiation: conntrack-tcp.c:mhash_add__ Unexecuted instantiation: conntrack-tp.c:mhash_add__ Unexecuted instantiation: conntrack-other.c:mhash_add__ Unexecuted instantiation: dpif-netdev-extract-study.c:mhash_add__ Unexecuted instantiation: dpif-netdev-lookup.c:mhash_add__ Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:mhash_add__ Unexecuted instantiation: dpif-netdev-lookup-generic.c:mhash_add__ Unexecuted instantiation: ovsdb-data.c:mhash_add__ Unexecuted instantiation: ovsdb-idl.c:mhash_add__ Unexecuted instantiation: ovsdb-map-op.c:mhash_add__ Unexecuted instantiation: ovsdb-cs.c:mhash_add__ |
75 | | |
76 | | static inline uint32_t mhash_add(uint32_t hash, uint32_t data) |
77 | 28.8M | { |
78 | 28.8M | hash = mhash_add__(hash, data); |
79 | 28.8M | hash = hash_rot(hash, 13); |
80 | 28.8M | return hash * 5 + 0xe6546b64; |
81 | 28.8M | } Unexecuted instantiation: ofp_print_target.c:mhash_add Unexecuted instantiation: ofp-print.c:mhash_add Unexecuted instantiation: ofp-queue.c:mhash_add Unexecuted instantiation: ofp-table.c:mhash_add Unexecuted instantiation: ofp-util.c:mhash_add Unexecuted instantiation: coverage.c:mhash_add Unexecuted instantiation: dp-packet.c:mhash_add Line | Count | Source | 77 | 81.2k | { | 78 | 81.2k | hash = mhash_add__(hash, data); | 79 | 81.2k | hash = hash_rot(hash, 13); | 80 | 81.2k | return hash * 5 + 0xe6546b64; | 81 | 81.2k | } |
Line | Count | Source | 77 | 975 | { | 78 | 975 | hash = mhash_add__(hash, data); | 79 | 975 | hash = hash_rot(hash, 13); | 80 | 975 | return hash * 5 + 0xe6546b64; | 81 | 975 | } |
Unexecuted instantiation: json.c:mhash_add Unexecuted instantiation: match.c:mhash_add Unexecuted instantiation: meta-flow.c:mhash_add Unexecuted instantiation: namemap.c:mhash_add Unexecuted instantiation: netdev.c:mhash_add Line | Count | Source | 77 | 16.0M | { | 78 | 16.0M | hash = mhash_add__(hash, data); | 79 | 16.0M | hash = hash_rot(hash, 13); | 80 | 16.0M | return hash * 5 + 0xe6546b64; | 81 | 16.0M | } |
Line | Count | Source | 77 | 737k | { | 78 | 737k | hash = mhash_add__(hash, data); | 79 | 737k | hash = hash_rot(hash, 13); | 80 | 737k | return hash * 5 + 0xe6546b64; | 81 | 737k | } |
Unexecuted instantiation: ofp-ct.c:mhash_add Unexecuted instantiation: ofp-ed-props.c:mhash_add Unexecuted instantiation: ofp-flow.c:mhash_add Unexecuted instantiation: ofp-group.c:mhash_add Unexecuted instantiation: ofp-match.c:mhash_add Unexecuted instantiation: ofp-meter.c:mhash_add Unexecuted instantiation: ofp-monitor.c:mhash_add Line | Count | Source | 77 | 11.9M | { | 78 | 11.9M | hash = mhash_add__(hash, data); | 79 | 11.9M | hash = hash_rot(hash, 13); | 80 | 11.9M | return hash * 5 + 0xe6546b64; | 81 | 11.9M | } |
Unexecuted instantiation: ofp-packet.c:mhash_add Unexecuted instantiation: ofp-parse.c:mhash_add Unexecuted instantiation: ofp-port.c:mhash_add Unexecuted instantiation: ovs-router.c:mhash_add Unexecuted instantiation: ovs-thread.c:mhash_add Unexecuted instantiation: packets.c:mhash_add Unexecuted instantiation: poll-loop.c:mhash_add Unexecuted instantiation: random.c:mhash_add Unexecuted instantiation: seq.c:mhash_add Unexecuted instantiation: shash.c:mhash_add Unexecuted instantiation: smap.c:mhash_add Unexecuted instantiation: socket-util.c:mhash_add Unexecuted instantiation: sset.c:mhash_add Unexecuted instantiation: timeval.c:mhash_add Unexecuted instantiation: tnl-ports.c:mhash_add Unexecuted instantiation: tun-metadata.c:mhash_add Unexecuted instantiation: userspace-tso.c:mhash_add Unexecuted instantiation: netdev-linux.c:mhash_add Unexecuted instantiation: netdev-offload-tc.c:mhash_add Unexecuted instantiation: netlink-socket.c:mhash_add Unexecuted instantiation: rtnetlink.c:mhash_add Unexecuted instantiation: route-table.c:mhash_add Unexecuted instantiation: tc.c:mhash_add Unexecuted instantiation: bundle.c:mhash_add Unexecuted instantiation: classifier.c:mhash_add Unexecuted instantiation: ccmap.c:mhash_add Unexecuted instantiation: cmap.c:mhash_add Unexecuted instantiation: cooperative-multitasking.c:mhash_add Unexecuted instantiation: dp-packet-gso.c:mhash_add Unexecuted instantiation: dpif.c:mhash_add Unexecuted instantiation: hmapx.c:mhash_add Unexecuted instantiation: id-pool.c:mhash_add Unexecuted instantiation: learn.c:mhash_add Unexecuted instantiation: multipath.c:mhash_add Unexecuted instantiation: netdev-offload.c:mhash_add Unexecuted instantiation: netdev-vport.c:mhash_add Unexecuted instantiation: netlink.c:mhash_add Unexecuted instantiation: odp-execute.c:mhash_add Unexecuted instantiation: odp-execute-private.c:mhash_add Unexecuted instantiation: odp-util.c:mhash_add Unexecuted instantiation: simap.c:mhash_add Unexecuted instantiation: stream.c:mhash_add Unexecuted instantiation: tnl-neigh-cache.c:mhash_add Unexecuted instantiation: netdev-native-tnl.c:mhash_add Unexecuted instantiation: stream-unix.c:mhash_add Unexecuted instantiation: dpif-netlink.c:mhash_add Unexecuted instantiation: dpif-netlink-rtnl.c:mhash_add Unexecuted instantiation: netlink-conntrack.c:mhash_add Unexecuted instantiation: stream-ssl.c:mhash_add Unexecuted instantiation: conntrack.c:mhash_add Unexecuted instantiation: ct-dpif.c:mhash_add Unexecuted instantiation: dpctl.c:mhash_add Unexecuted instantiation: dpif-netdev.c:mhash_add Unexecuted instantiation: dpif-netdev-private-dfc.c:mhash_add Unexecuted instantiation: dpif-netdev-private-dpif.c:mhash_add Unexecuted instantiation: dpif-netdev-private-extract.c:mhash_add Unexecuted instantiation: ipf.c:mhash_add Unexecuted instantiation: lockfile.c:mhash_add Unexecuted instantiation: ovs-numa.c:mhash_add Unexecuted instantiation: stream-tcp.c:mhash_add Unexecuted instantiation: dpdk-stub.c:mhash_add Unexecuted instantiation: vswitch-idl.c:mhash_add Unexecuted instantiation: conntrack-icmp.c:mhash_add Unexecuted instantiation: conntrack-tcp.c:mhash_add Unexecuted instantiation: conntrack-tp.c:mhash_add Unexecuted instantiation: conntrack-other.c:mhash_add Unexecuted instantiation: dpif-netdev-extract-study.c:mhash_add Unexecuted instantiation: dpif-netdev-lookup.c:mhash_add Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:mhash_add Unexecuted instantiation: dpif-netdev-lookup-generic.c:mhash_add Unexecuted instantiation: ovsdb-data.c:mhash_add Unexecuted instantiation: ovsdb-idl.c:mhash_add Unexecuted instantiation: ovsdb-map-op.c:mhash_add Unexecuted instantiation: ovsdb-cs.c:mhash_add |
82 | | |
83 | | static inline uint32_t mhash_finish(uint32_t hash) |
84 | 12.4M | { |
85 | 12.4M | hash ^= hash >> 16; |
86 | 12.4M | hash *= 0x85ebca6b; |
87 | 12.4M | hash ^= hash >> 13; |
88 | 12.4M | hash *= 0xc2b2ae35; |
89 | 12.4M | hash ^= hash >> 16; |
90 | 12.4M | return hash; |
91 | 12.4M | } Unexecuted instantiation: ofp_print_target.c:mhash_finish Unexecuted instantiation: ofp-print.c:mhash_finish Unexecuted instantiation: ofp-queue.c:mhash_finish Unexecuted instantiation: ofp-table.c:mhash_finish Unexecuted instantiation: ofp-util.c:mhash_finish Unexecuted instantiation: coverage.c:mhash_finish Unexecuted instantiation: dp-packet.c:mhash_finish Line | Count | Source | 84 | 11.9k | { | 85 | 11.9k | hash ^= hash >> 16; | 86 | 11.9k | hash *= 0x85ebca6b; | 87 | 11.9k | hash ^= hash >> 13; | 88 | 11.9k | hash *= 0xc2b2ae35; | 89 | 11.9k | hash ^= hash >> 16; | 90 | 11.9k | return hash; | 91 | 11.9k | } |
Line | Count | Source | 84 | 209 | { | 85 | 209 | hash ^= hash >> 16; | 86 | 209 | hash *= 0x85ebca6b; | 87 | 209 | hash ^= hash >> 13; | 88 | 209 | hash *= 0xc2b2ae35; | 89 | 209 | hash ^= hash >> 16; | 90 | 209 | return hash; | 91 | 209 | } |
Unexecuted instantiation: json.c:mhash_finish Unexecuted instantiation: match.c:mhash_finish Unexecuted instantiation: meta-flow.c:mhash_finish Unexecuted instantiation: namemap.c:mhash_finish Unexecuted instantiation: netdev.c:mhash_finish Line | Count | Source | 84 | 8.03M | { | 85 | 8.03M | hash ^= hash >> 16; | 86 | 8.03M | hash *= 0x85ebca6b; | 87 | 8.03M | hash ^= hash >> 13; | 88 | 8.03M | hash *= 0xc2b2ae35; | 89 | 8.03M | hash ^= hash >> 16; | 90 | 8.03M | return hash; | 91 | 8.03M | } |
ofp-actions.c:mhash_finish Line | Count | Source | 84 | 368k | { | 85 | 368k | hash ^= hash >> 16; | 86 | 368k | hash *= 0x85ebca6b; | 87 | 368k | hash ^= hash >> 13; | 88 | 368k | hash *= 0xc2b2ae35; | 89 | 368k | hash ^= hash >> 16; | 90 | 368k | return hash; | 91 | 368k | } |
Unexecuted instantiation: ofp-ct.c:mhash_finish Unexecuted instantiation: ofp-ed-props.c:mhash_finish Unexecuted instantiation: ofp-flow.c:mhash_finish Unexecuted instantiation: ofp-group.c:mhash_finish Unexecuted instantiation: ofp-match.c:mhash_finish Unexecuted instantiation: ofp-meter.c:mhash_finish Unexecuted instantiation: ofp-monitor.c:mhash_finish Line | Count | Source | 84 | 3.99M | { | 85 | 3.99M | hash ^= hash >> 16; | 86 | 3.99M | hash *= 0x85ebca6b; | 87 | 3.99M | hash ^= hash >> 13; | 88 | 3.99M | hash *= 0xc2b2ae35; | 89 | 3.99M | hash ^= hash >> 16; | 90 | 3.99M | return hash; | 91 | 3.99M | } |
Unexecuted instantiation: ofp-packet.c:mhash_finish Unexecuted instantiation: ofp-parse.c:mhash_finish Unexecuted instantiation: ofp-port.c:mhash_finish Unexecuted instantiation: ovs-router.c:mhash_finish Unexecuted instantiation: ovs-thread.c:mhash_finish Unexecuted instantiation: packets.c:mhash_finish Unexecuted instantiation: poll-loop.c:mhash_finish Unexecuted instantiation: random.c:mhash_finish Unexecuted instantiation: seq.c:mhash_finish Unexecuted instantiation: shash.c:mhash_finish Unexecuted instantiation: smap.c:mhash_finish Unexecuted instantiation: socket-util.c:mhash_finish Unexecuted instantiation: sset.c:mhash_finish Unexecuted instantiation: timeval.c:mhash_finish Unexecuted instantiation: tnl-ports.c:mhash_finish Unexecuted instantiation: tun-metadata.c:mhash_finish Unexecuted instantiation: userspace-tso.c:mhash_finish Unexecuted instantiation: netdev-linux.c:mhash_finish Unexecuted instantiation: netdev-offload-tc.c:mhash_finish Unexecuted instantiation: netlink-socket.c:mhash_finish Unexecuted instantiation: rtnetlink.c:mhash_finish Unexecuted instantiation: route-table.c:mhash_finish Unexecuted instantiation: tc.c:mhash_finish Unexecuted instantiation: bundle.c:mhash_finish Unexecuted instantiation: classifier.c:mhash_finish Unexecuted instantiation: ccmap.c:mhash_finish Unexecuted instantiation: cmap.c:mhash_finish Unexecuted instantiation: cooperative-multitasking.c:mhash_finish Unexecuted instantiation: dp-packet-gso.c:mhash_finish Unexecuted instantiation: dpif.c:mhash_finish Unexecuted instantiation: hmapx.c:mhash_finish Unexecuted instantiation: id-pool.c:mhash_finish Unexecuted instantiation: learn.c:mhash_finish Unexecuted instantiation: multipath.c:mhash_finish Unexecuted instantiation: netdev-offload.c:mhash_finish Unexecuted instantiation: netdev-vport.c:mhash_finish Unexecuted instantiation: netlink.c:mhash_finish Unexecuted instantiation: odp-execute.c:mhash_finish Unexecuted instantiation: odp-execute-private.c:mhash_finish Unexecuted instantiation: odp-util.c:mhash_finish Unexecuted instantiation: simap.c:mhash_finish Unexecuted instantiation: stream.c:mhash_finish Unexecuted instantiation: tnl-neigh-cache.c:mhash_finish Unexecuted instantiation: netdev-native-tnl.c:mhash_finish Unexecuted instantiation: stream-unix.c:mhash_finish Unexecuted instantiation: dpif-netlink.c:mhash_finish Unexecuted instantiation: dpif-netlink-rtnl.c:mhash_finish Unexecuted instantiation: netlink-conntrack.c:mhash_finish Unexecuted instantiation: stream-ssl.c:mhash_finish Unexecuted instantiation: conntrack.c:mhash_finish Unexecuted instantiation: ct-dpif.c:mhash_finish Unexecuted instantiation: dpctl.c:mhash_finish Unexecuted instantiation: dpif-netdev.c:mhash_finish Unexecuted instantiation: dpif-netdev-private-dfc.c:mhash_finish Unexecuted instantiation: dpif-netdev-private-dpif.c:mhash_finish Unexecuted instantiation: dpif-netdev-private-extract.c:mhash_finish Unexecuted instantiation: ipf.c:mhash_finish Unexecuted instantiation: lockfile.c:mhash_finish Unexecuted instantiation: ovs-numa.c:mhash_finish Unexecuted instantiation: stream-tcp.c:mhash_finish Unexecuted instantiation: dpdk-stub.c:mhash_finish Unexecuted instantiation: vswitch-idl.c:mhash_finish Unexecuted instantiation: conntrack-icmp.c:mhash_finish Unexecuted instantiation: conntrack-tcp.c:mhash_finish Unexecuted instantiation: conntrack-tp.c:mhash_finish Unexecuted instantiation: conntrack-other.c:mhash_finish Unexecuted instantiation: dpif-netdev-extract-study.c:mhash_finish Unexecuted instantiation: dpif-netdev-lookup.c:mhash_finish Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:mhash_finish Unexecuted instantiation: dpif-netdev-lookup-generic.c:mhash_finish Unexecuted instantiation: ovsdb-data.c:mhash_finish Unexecuted instantiation: ovsdb-idl.c:mhash_finish Unexecuted instantiation: ovsdb-map-op.c:mhash_finish Unexecuted instantiation: ovsdb-cs.c:mhash_finish |
92 | | |
93 | | static inline uint32_t hash_add(uint32_t hash, uint32_t data); |
94 | | static inline uint32_t hash_add64(uint32_t hash, uint64_t data); |
95 | | |
96 | | static inline uint32_t hash_add_words(uint32_t, const uint32_t *, size_t); |
97 | | static inline uint32_t hash_add_words64(uint32_t, const uint64_t *, size_t); |
98 | | static inline uint32_t hash_add_bytes32(uint32_t, const uint32_t *, size_t); |
99 | | static inline uint32_t hash_add_bytes64(uint32_t, const uint64_t *, size_t); |
100 | | |
101 | | #if (defined(__ARM_FEATURE_CRC32) && defined(__aarch64__)) |
102 | | #include "hash-aarch64.h" |
103 | | |
104 | | #elif !(defined(__SSE4_2__) && defined(__x86_64__)) |
105 | | /* Mhash-based implementation. */ |
106 | | |
107 | | static inline uint32_t hash_add(uint32_t hash, uint32_t data) |
108 | 28.8M | { |
109 | 28.8M | return mhash_add(hash, data); |
110 | 28.8M | } Unexecuted instantiation: ofp_print_target.c:hash_add Unexecuted instantiation: ofp-print.c:hash_add Unexecuted instantiation: ofp-queue.c:hash_add Unexecuted instantiation: ofp-table.c:hash_add Unexecuted instantiation: ofp-util.c:hash_add Unexecuted instantiation: coverage.c:hash_add Unexecuted instantiation: dp-packet.c:hash_add Line | Count | Source | 108 | 81.2k | { | 109 | 81.2k | return mhash_add(hash, data); | 110 | 81.2k | } |
Line | Count | Source | 108 | 975 | { | 109 | 975 | return mhash_add(hash, data); | 110 | 975 | } |
Unexecuted instantiation: json.c:hash_add Unexecuted instantiation: match.c:hash_add Unexecuted instantiation: meta-flow.c:hash_add Unexecuted instantiation: namemap.c:hash_add Unexecuted instantiation: netdev.c:hash_add Line | Count | Source | 108 | 16.0M | { | 109 | 16.0M | return mhash_add(hash, data); | 110 | 16.0M | } |
Line | Count | Source | 108 | 737k | { | 109 | 737k | return mhash_add(hash, data); | 110 | 737k | } |
Unexecuted instantiation: ofp-ct.c:hash_add Unexecuted instantiation: ofp-ed-props.c:hash_add Unexecuted instantiation: ofp-flow.c:hash_add Unexecuted instantiation: ofp-group.c:hash_add Unexecuted instantiation: ofp-match.c:hash_add Unexecuted instantiation: ofp-meter.c:hash_add Unexecuted instantiation: ofp-monitor.c:hash_add Line | Count | Source | 108 | 11.9M | { | 109 | 11.9M | return mhash_add(hash, data); | 110 | 11.9M | } |
Unexecuted instantiation: ofp-packet.c:hash_add Unexecuted instantiation: ofp-parse.c:hash_add Unexecuted instantiation: ofp-port.c:hash_add Unexecuted instantiation: ovs-router.c:hash_add Unexecuted instantiation: ovs-thread.c:hash_add Unexecuted instantiation: packets.c:hash_add Unexecuted instantiation: poll-loop.c:hash_add Unexecuted instantiation: random.c:hash_add Unexecuted instantiation: seq.c:hash_add Unexecuted instantiation: shash.c:hash_add Unexecuted instantiation: smap.c:hash_add Unexecuted instantiation: socket-util.c:hash_add Unexecuted instantiation: sset.c:hash_add Unexecuted instantiation: timeval.c:hash_add Unexecuted instantiation: tnl-ports.c:hash_add Unexecuted instantiation: tun-metadata.c:hash_add Unexecuted instantiation: userspace-tso.c:hash_add Unexecuted instantiation: netdev-linux.c:hash_add Unexecuted instantiation: netdev-offload-tc.c:hash_add Unexecuted instantiation: netlink-socket.c:hash_add Unexecuted instantiation: rtnetlink.c:hash_add Unexecuted instantiation: route-table.c:hash_add Unexecuted instantiation: tc.c:hash_add Unexecuted instantiation: bundle.c:hash_add Unexecuted instantiation: classifier.c:hash_add Unexecuted instantiation: ccmap.c:hash_add Unexecuted instantiation: cmap.c:hash_add Unexecuted instantiation: cooperative-multitasking.c:hash_add Unexecuted instantiation: dp-packet-gso.c:hash_add Unexecuted instantiation: dpif.c:hash_add Unexecuted instantiation: hmapx.c:hash_add Unexecuted instantiation: id-pool.c:hash_add Unexecuted instantiation: learn.c:hash_add Unexecuted instantiation: multipath.c:hash_add Unexecuted instantiation: netdev-offload.c:hash_add Unexecuted instantiation: netdev-vport.c:hash_add Unexecuted instantiation: netlink.c:hash_add Unexecuted instantiation: odp-execute.c:hash_add Unexecuted instantiation: odp-execute-private.c:hash_add Unexecuted instantiation: odp-util.c:hash_add Unexecuted instantiation: simap.c:hash_add Unexecuted instantiation: stream.c:hash_add Unexecuted instantiation: tnl-neigh-cache.c:hash_add Unexecuted instantiation: netdev-native-tnl.c:hash_add Unexecuted instantiation: stream-unix.c:hash_add Unexecuted instantiation: dpif-netlink.c:hash_add Unexecuted instantiation: dpif-netlink-rtnl.c:hash_add Unexecuted instantiation: netlink-conntrack.c:hash_add Unexecuted instantiation: stream-ssl.c:hash_add Unexecuted instantiation: conntrack.c:hash_add Unexecuted instantiation: ct-dpif.c:hash_add Unexecuted instantiation: dpctl.c:hash_add Unexecuted instantiation: dpif-netdev.c:hash_add Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_add Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_add Unexecuted instantiation: dpif-netdev-private-extract.c:hash_add Unexecuted instantiation: ipf.c:hash_add Unexecuted instantiation: lockfile.c:hash_add Unexecuted instantiation: ovs-numa.c:hash_add Unexecuted instantiation: stream-tcp.c:hash_add Unexecuted instantiation: dpdk-stub.c:hash_add Unexecuted instantiation: vswitch-idl.c:hash_add Unexecuted instantiation: conntrack-icmp.c:hash_add Unexecuted instantiation: conntrack-tcp.c:hash_add Unexecuted instantiation: conntrack-tp.c:hash_add Unexecuted instantiation: conntrack-other.c:hash_add Unexecuted instantiation: dpif-netdev-extract-study.c:hash_add Unexecuted instantiation: dpif-netdev-lookup.c:hash_add Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_add Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_add Unexecuted instantiation: ovsdb-data.c:hash_add Unexecuted instantiation: ovsdb-idl.c:hash_add Unexecuted instantiation: ovsdb-map-op.c:hash_add Unexecuted instantiation: ovsdb-cs.c:hash_add |
111 | | |
112 | | static inline uint32_t hash_add64(uint32_t hash, uint64_t data) |
113 | 8.05M | { |
114 | 8.05M | return hash_add(hash_add(hash, data), data >> 32); |
115 | 8.05M | } Unexecuted instantiation: ofp_print_target.c:hash_add64 Unexecuted instantiation: ofp-print.c:hash_add64 Unexecuted instantiation: ofp-queue.c:hash_add64 Unexecuted instantiation: ofp-table.c:hash_add64 Unexecuted instantiation: ofp-util.c:hash_add64 Unexecuted instantiation: coverage.c:hash_add64 Unexecuted instantiation: dp-packet.c:hash_add64 Line | Count | Source | 113 | 22.2k | { | 114 | 22.2k | return hash_add(hash_add(hash, data), data >> 32); | 115 | 22.2k | } |
Unexecuted instantiation: hash.c:hash_add64 Unexecuted instantiation: json.c:hash_add64 Unexecuted instantiation: match.c:hash_add64 Unexecuted instantiation: meta-flow.c:hash_add64 Unexecuted instantiation: namemap.c:hash_add64 Unexecuted instantiation: netdev.c:hash_add64 Line | Count | Source | 113 | 8.03M | { | 114 | 8.03M | return hash_add(hash_add(hash, data), data >> 32); | 115 | 8.03M | } |
Unexecuted instantiation: ofp-actions.c:hash_add64 Unexecuted instantiation: ofp-ct.c:hash_add64 Unexecuted instantiation: ofp-ed-props.c:hash_add64 Unexecuted instantiation: ofp-flow.c:hash_add64 Unexecuted instantiation: ofp-group.c:hash_add64 Unexecuted instantiation: ofp-match.c:hash_add64 Unexecuted instantiation: ofp-meter.c:hash_add64 Unexecuted instantiation: ofp-monitor.c:hash_add64 Unexecuted instantiation: ofp-msgs.c:hash_add64 Unexecuted instantiation: ofp-packet.c:hash_add64 Unexecuted instantiation: ofp-parse.c:hash_add64 Unexecuted instantiation: ofp-port.c:hash_add64 Unexecuted instantiation: ovs-router.c:hash_add64 Unexecuted instantiation: ovs-thread.c:hash_add64 Unexecuted instantiation: packets.c:hash_add64 Unexecuted instantiation: poll-loop.c:hash_add64 Unexecuted instantiation: random.c:hash_add64 Unexecuted instantiation: seq.c:hash_add64 Unexecuted instantiation: shash.c:hash_add64 Unexecuted instantiation: smap.c:hash_add64 Unexecuted instantiation: socket-util.c:hash_add64 Unexecuted instantiation: sset.c:hash_add64 Unexecuted instantiation: timeval.c:hash_add64 Unexecuted instantiation: tnl-ports.c:hash_add64 Unexecuted instantiation: tun-metadata.c:hash_add64 Unexecuted instantiation: userspace-tso.c:hash_add64 Unexecuted instantiation: netdev-linux.c:hash_add64 Unexecuted instantiation: netdev-offload-tc.c:hash_add64 Unexecuted instantiation: netlink-socket.c:hash_add64 Unexecuted instantiation: rtnetlink.c:hash_add64 Unexecuted instantiation: route-table.c:hash_add64 Unexecuted instantiation: tc.c:hash_add64 Unexecuted instantiation: bundle.c:hash_add64 Unexecuted instantiation: classifier.c:hash_add64 Unexecuted instantiation: ccmap.c:hash_add64 Unexecuted instantiation: cmap.c:hash_add64 Unexecuted instantiation: cooperative-multitasking.c:hash_add64 Unexecuted instantiation: dp-packet-gso.c:hash_add64 Unexecuted instantiation: dpif.c:hash_add64 Unexecuted instantiation: hmapx.c:hash_add64 Unexecuted instantiation: id-pool.c:hash_add64 Unexecuted instantiation: learn.c:hash_add64 Unexecuted instantiation: multipath.c:hash_add64 Unexecuted instantiation: netdev-offload.c:hash_add64 Unexecuted instantiation: netdev-vport.c:hash_add64 Unexecuted instantiation: netlink.c:hash_add64 Unexecuted instantiation: odp-execute.c:hash_add64 Unexecuted instantiation: odp-execute-private.c:hash_add64 Unexecuted instantiation: odp-util.c:hash_add64 Unexecuted instantiation: simap.c:hash_add64 Unexecuted instantiation: stream.c:hash_add64 Unexecuted instantiation: tnl-neigh-cache.c:hash_add64 Unexecuted instantiation: netdev-native-tnl.c:hash_add64 Unexecuted instantiation: stream-unix.c:hash_add64 Unexecuted instantiation: dpif-netlink.c:hash_add64 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_add64 Unexecuted instantiation: netlink-conntrack.c:hash_add64 Unexecuted instantiation: stream-ssl.c:hash_add64 Unexecuted instantiation: conntrack.c:hash_add64 Unexecuted instantiation: ct-dpif.c:hash_add64 Unexecuted instantiation: dpctl.c:hash_add64 Unexecuted instantiation: dpif-netdev.c:hash_add64 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_add64 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_add64 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_add64 Unexecuted instantiation: ipf.c:hash_add64 Unexecuted instantiation: lockfile.c:hash_add64 Unexecuted instantiation: ovs-numa.c:hash_add64 Unexecuted instantiation: stream-tcp.c:hash_add64 Unexecuted instantiation: dpdk-stub.c:hash_add64 Unexecuted instantiation: vswitch-idl.c:hash_add64 Unexecuted instantiation: conntrack-icmp.c:hash_add64 Unexecuted instantiation: conntrack-tcp.c:hash_add64 Unexecuted instantiation: conntrack-tp.c:hash_add64 Unexecuted instantiation: conntrack-other.c:hash_add64 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_add64 Unexecuted instantiation: dpif-netdev-lookup.c:hash_add64 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_add64 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_add64 Unexecuted instantiation: ovsdb-data.c:hash_add64 Unexecuted instantiation: ovsdb-idl.c:hash_add64 Unexecuted instantiation: ovsdb-map-op.c:hash_add64 Unexecuted instantiation: ovsdb-cs.c:hash_add64 |
116 | | |
117 | | static inline uint32_t hash_finish(uint32_t hash, uint32_t final) |
118 | 12.4M | { |
119 | 12.4M | return mhash_finish(hash ^ final); |
120 | 12.4M | } Unexecuted instantiation: ofp_print_target.c:hash_finish Unexecuted instantiation: ofp-print.c:hash_finish Unexecuted instantiation: ofp-queue.c:hash_finish Unexecuted instantiation: ofp-table.c:hash_finish Unexecuted instantiation: ofp-util.c:hash_finish Unexecuted instantiation: coverage.c:hash_finish Unexecuted instantiation: dp-packet.c:hash_finish Line | Count | Source | 118 | 11.9k | { | 119 | 11.9k | return mhash_finish(hash ^ final); | 120 | 11.9k | } |
Line | Count | Source | 118 | 209 | { | 119 | 209 | return mhash_finish(hash ^ final); | 120 | 209 | } |
Unexecuted instantiation: json.c:hash_finish Unexecuted instantiation: match.c:hash_finish Unexecuted instantiation: meta-flow.c:hash_finish Unexecuted instantiation: namemap.c:hash_finish Unexecuted instantiation: netdev.c:hash_finish Line | Count | Source | 118 | 8.03M | { | 119 | 8.03M | return mhash_finish(hash ^ final); | 120 | 8.03M | } |
ofp-actions.c:hash_finish Line | Count | Source | 118 | 368k | { | 119 | 368k | return mhash_finish(hash ^ final); | 120 | 368k | } |
Unexecuted instantiation: ofp-ct.c:hash_finish Unexecuted instantiation: ofp-ed-props.c:hash_finish Unexecuted instantiation: ofp-flow.c:hash_finish Unexecuted instantiation: ofp-group.c:hash_finish Unexecuted instantiation: ofp-match.c:hash_finish Unexecuted instantiation: ofp-meter.c:hash_finish Unexecuted instantiation: ofp-monitor.c:hash_finish Line | Count | Source | 118 | 3.99M | { | 119 | 3.99M | return mhash_finish(hash ^ final); | 120 | 3.99M | } |
Unexecuted instantiation: ofp-packet.c:hash_finish Unexecuted instantiation: ofp-parse.c:hash_finish Unexecuted instantiation: ofp-port.c:hash_finish Unexecuted instantiation: ovs-router.c:hash_finish Unexecuted instantiation: ovs-thread.c:hash_finish Unexecuted instantiation: packets.c:hash_finish Unexecuted instantiation: poll-loop.c:hash_finish Unexecuted instantiation: random.c:hash_finish Unexecuted instantiation: seq.c:hash_finish Unexecuted instantiation: shash.c:hash_finish Unexecuted instantiation: smap.c:hash_finish Unexecuted instantiation: socket-util.c:hash_finish Unexecuted instantiation: sset.c:hash_finish Unexecuted instantiation: timeval.c:hash_finish Unexecuted instantiation: tnl-ports.c:hash_finish Unexecuted instantiation: tun-metadata.c:hash_finish Unexecuted instantiation: userspace-tso.c:hash_finish Unexecuted instantiation: netdev-linux.c:hash_finish Unexecuted instantiation: netdev-offload-tc.c:hash_finish Unexecuted instantiation: netlink-socket.c:hash_finish Unexecuted instantiation: rtnetlink.c:hash_finish Unexecuted instantiation: route-table.c:hash_finish Unexecuted instantiation: tc.c:hash_finish Unexecuted instantiation: bundle.c:hash_finish Unexecuted instantiation: classifier.c:hash_finish Unexecuted instantiation: ccmap.c:hash_finish Unexecuted instantiation: cmap.c:hash_finish Unexecuted instantiation: cooperative-multitasking.c:hash_finish Unexecuted instantiation: dp-packet-gso.c:hash_finish Unexecuted instantiation: dpif.c:hash_finish Unexecuted instantiation: hmapx.c:hash_finish Unexecuted instantiation: id-pool.c:hash_finish Unexecuted instantiation: learn.c:hash_finish Unexecuted instantiation: multipath.c:hash_finish Unexecuted instantiation: netdev-offload.c:hash_finish Unexecuted instantiation: netdev-vport.c:hash_finish Unexecuted instantiation: netlink.c:hash_finish Unexecuted instantiation: odp-execute.c:hash_finish Unexecuted instantiation: odp-execute-private.c:hash_finish Unexecuted instantiation: odp-util.c:hash_finish Unexecuted instantiation: simap.c:hash_finish Unexecuted instantiation: stream.c:hash_finish Unexecuted instantiation: tnl-neigh-cache.c:hash_finish Unexecuted instantiation: netdev-native-tnl.c:hash_finish Unexecuted instantiation: stream-unix.c:hash_finish Unexecuted instantiation: dpif-netlink.c:hash_finish Unexecuted instantiation: dpif-netlink-rtnl.c:hash_finish Unexecuted instantiation: netlink-conntrack.c:hash_finish Unexecuted instantiation: stream-ssl.c:hash_finish Unexecuted instantiation: conntrack.c:hash_finish Unexecuted instantiation: ct-dpif.c:hash_finish Unexecuted instantiation: dpctl.c:hash_finish Unexecuted instantiation: dpif-netdev.c:hash_finish Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_finish Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_finish Unexecuted instantiation: dpif-netdev-private-extract.c:hash_finish Unexecuted instantiation: ipf.c:hash_finish Unexecuted instantiation: lockfile.c:hash_finish Unexecuted instantiation: ovs-numa.c:hash_finish Unexecuted instantiation: stream-tcp.c:hash_finish Unexecuted instantiation: dpdk-stub.c:hash_finish Unexecuted instantiation: vswitch-idl.c:hash_finish Unexecuted instantiation: conntrack-icmp.c:hash_finish Unexecuted instantiation: conntrack-tcp.c:hash_finish Unexecuted instantiation: conntrack-tp.c:hash_finish Unexecuted instantiation: conntrack-other.c:hash_finish Unexecuted instantiation: dpif-netdev-extract-study.c:hash_finish Unexecuted instantiation: dpif-netdev-lookup.c:hash_finish Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_finish Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_finish Unexecuted instantiation: ovsdb-data.c:hash_finish Unexecuted instantiation: ovsdb-idl.c:hash_finish Unexecuted instantiation: ovsdb-map-op.c:hash_finish Unexecuted instantiation: ovsdb-cs.c:hash_finish |
121 | | |
122 | | /* Returns the hash of the 'n' 32-bit words at 'p', starting from 'basis'. |
123 | | * 'p' must be properly aligned. |
124 | | * |
125 | | * This is inlined for the compiler to have access to the 'n_words', which |
126 | | * in many cases is a constant. */ |
127 | | static inline uint32_t |
128 | | hash_words_inline(const uint32_t *p, size_t n_words, uint32_t basis) |
129 | 3.99M | { |
130 | 3.99M | return hash_finish(hash_add_words(basis, p, n_words), n_words * 4); |
131 | 3.99M | } Unexecuted instantiation: ofp_print_target.c:hash_words_inline Unexecuted instantiation: ofp-print.c:hash_words_inline Unexecuted instantiation: ofp-queue.c:hash_words_inline Unexecuted instantiation: ofp-table.c:hash_words_inline Unexecuted instantiation: ofp-util.c:hash_words_inline Unexecuted instantiation: coverage.c:hash_words_inline Unexecuted instantiation: dp-packet.c:hash_words_inline Unexecuted instantiation: flow.c:hash_words_inline Unexecuted instantiation: hash.c:hash_words_inline Unexecuted instantiation: json.c:hash_words_inline Unexecuted instantiation: match.c:hash_words_inline Unexecuted instantiation: meta-flow.c:hash_words_inline Unexecuted instantiation: namemap.c:hash_words_inline Unexecuted instantiation: netdev.c:hash_words_inline Unexecuted instantiation: nx-match.c:hash_words_inline Unexecuted instantiation: ofp-actions.c:hash_words_inline Unexecuted instantiation: ofp-ct.c:hash_words_inline Unexecuted instantiation: ofp-ed-props.c:hash_words_inline Unexecuted instantiation: ofp-flow.c:hash_words_inline Unexecuted instantiation: ofp-group.c:hash_words_inline Unexecuted instantiation: ofp-match.c:hash_words_inline Unexecuted instantiation: ofp-meter.c:hash_words_inline Unexecuted instantiation: ofp-monitor.c:hash_words_inline ofp-msgs.c:hash_words_inline Line | Count | Source | 129 | 3.99M | { | 130 | 3.99M | return hash_finish(hash_add_words(basis, p, n_words), n_words * 4); | 131 | 3.99M | } |
Unexecuted instantiation: ofp-packet.c:hash_words_inline Unexecuted instantiation: ofp-parse.c:hash_words_inline Unexecuted instantiation: ofp-port.c:hash_words_inline Unexecuted instantiation: ovs-router.c:hash_words_inline Unexecuted instantiation: ovs-thread.c:hash_words_inline Unexecuted instantiation: packets.c:hash_words_inline Unexecuted instantiation: poll-loop.c:hash_words_inline Unexecuted instantiation: random.c:hash_words_inline Unexecuted instantiation: seq.c:hash_words_inline Unexecuted instantiation: shash.c:hash_words_inline Unexecuted instantiation: smap.c:hash_words_inline Unexecuted instantiation: socket-util.c:hash_words_inline Unexecuted instantiation: sset.c:hash_words_inline Unexecuted instantiation: timeval.c:hash_words_inline Unexecuted instantiation: tnl-ports.c:hash_words_inline Unexecuted instantiation: tun-metadata.c:hash_words_inline Unexecuted instantiation: userspace-tso.c:hash_words_inline Unexecuted instantiation: netdev-linux.c:hash_words_inline Unexecuted instantiation: netdev-offload-tc.c:hash_words_inline Unexecuted instantiation: netlink-socket.c:hash_words_inline Unexecuted instantiation: rtnetlink.c:hash_words_inline Unexecuted instantiation: route-table.c:hash_words_inline Unexecuted instantiation: tc.c:hash_words_inline Unexecuted instantiation: bundle.c:hash_words_inline Unexecuted instantiation: classifier.c:hash_words_inline Unexecuted instantiation: ccmap.c:hash_words_inline Unexecuted instantiation: cmap.c:hash_words_inline Unexecuted instantiation: cooperative-multitasking.c:hash_words_inline Unexecuted instantiation: dp-packet-gso.c:hash_words_inline Unexecuted instantiation: dpif.c:hash_words_inline Unexecuted instantiation: hmapx.c:hash_words_inline Unexecuted instantiation: id-pool.c:hash_words_inline Unexecuted instantiation: learn.c:hash_words_inline Unexecuted instantiation: multipath.c:hash_words_inline Unexecuted instantiation: netdev-offload.c:hash_words_inline Unexecuted instantiation: netdev-vport.c:hash_words_inline Unexecuted instantiation: netlink.c:hash_words_inline Unexecuted instantiation: odp-execute.c:hash_words_inline Unexecuted instantiation: odp-execute-private.c:hash_words_inline Unexecuted instantiation: odp-util.c:hash_words_inline Unexecuted instantiation: simap.c:hash_words_inline Unexecuted instantiation: stream.c:hash_words_inline Unexecuted instantiation: tnl-neigh-cache.c:hash_words_inline Unexecuted instantiation: netdev-native-tnl.c:hash_words_inline Unexecuted instantiation: stream-unix.c:hash_words_inline Unexecuted instantiation: dpif-netlink.c:hash_words_inline Unexecuted instantiation: dpif-netlink-rtnl.c:hash_words_inline Unexecuted instantiation: netlink-conntrack.c:hash_words_inline Unexecuted instantiation: stream-ssl.c:hash_words_inline Unexecuted instantiation: conntrack.c:hash_words_inline Unexecuted instantiation: ct-dpif.c:hash_words_inline Unexecuted instantiation: dpctl.c:hash_words_inline Unexecuted instantiation: dpif-netdev.c:hash_words_inline Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_words_inline Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_words_inline Unexecuted instantiation: dpif-netdev-private-extract.c:hash_words_inline Unexecuted instantiation: ipf.c:hash_words_inline Unexecuted instantiation: lockfile.c:hash_words_inline Unexecuted instantiation: ovs-numa.c:hash_words_inline Unexecuted instantiation: stream-tcp.c:hash_words_inline Unexecuted instantiation: dpdk-stub.c:hash_words_inline Unexecuted instantiation: vswitch-idl.c:hash_words_inline Unexecuted instantiation: conntrack-icmp.c:hash_words_inline Unexecuted instantiation: conntrack-tcp.c:hash_words_inline Unexecuted instantiation: conntrack-tp.c:hash_words_inline Unexecuted instantiation: conntrack-other.c:hash_words_inline Unexecuted instantiation: dpif-netdev-extract-study.c:hash_words_inline Unexecuted instantiation: dpif-netdev-lookup.c:hash_words_inline Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_words_inline Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_words_inline Unexecuted instantiation: ovsdb-data.c:hash_words_inline Unexecuted instantiation: ovsdb-idl.c:hash_words_inline Unexecuted instantiation: ovsdb-map-op.c:hash_words_inline Unexecuted instantiation: ovsdb-cs.c:hash_words_inline |
132 | | |
133 | | static inline uint32_t |
134 | | hash_words64_inline(const uint64_t *p, size_t n_words, uint32_t basis) |
135 | 0 | { |
136 | 0 | return hash_finish(hash_add_words64(basis, p, n_words), n_words * 8); |
137 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_words64_inline Unexecuted instantiation: ofp-print.c:hash_words64_inline Unexecuted instantiation: ofp-queue.c:hash_words64_inline Unexecuted instantiation: ofp-table.c:hash_words64_inline Unexecuted instantiation: ofp-util.c:hash_words64_inline Unexecuted instantiation: coverage.c:hash_words64_inline Unexecuted instantiation: dp-packet.c:hash_words64_inline Unexecuted instantiation: flow.c:hash_words64_inline Unexecuted instantiation: hash.c:hash_words64_inline Unexecuted instantiation: json.c:hash_words64_inline Unexecuted instantiation: match.c:hash_words64_inline Unexecuted instantiation: meta-flow.c:hash_words64_inline Unexecuted instantiation: namemap.c:hash_words64_inline Unexecuted instantiation: netdev.c:hash_words64_inline Unexecuted instantiation: nx-match.c:hash_words64_inline Unexecuted instantiation: ofp-actions.c:hash_words64_inline Unexecuted instantiation: ofp-ct.c:hash_words64_inline Unexecuted instantiation: ofp-ed-props.c:hash_words64_inline Unexecuted instantiation: ofp-flow.c:hash_words64_inline Unexecuted instantiation: ofp-group.c:hash_words64_inline Unexecuted instantiation: ofp-match.c:hash_words64_inline Unexecuted instantiation: ofp-meter.c:hash_words64_inline Unexecuted instantiation: ofp-monitor.c:hash_words64_inline Unexecuted instantiation: ofp-msgs.c:hash_words64_inline Unexecuted instantiation: ofp-packet.c:hash_words64_inline Unexecuted instantiation: ofp-parse.c:hash_words64_inline Unexecuted instantiation: ofp-port.c:hash_words64_inline Unexecuted instantiation: ovs-router.c:hash_words64_inline Unexecuted instantiation: ovs-thread.c:hash_words64_inline Unexecuted instantiation: packets.c:hash_words64_inline Unexecuted instantiation: poll-loop.c:hash_words64_inline Unexecuted instantiation: random.c:hash_words64_inline Unexecuted instantiation: seq.c:hash_words64_inline Unexecuted instantiation: shash.c:hash_words64_inline Unexecuted instantiation: smap.c:hash_words64_inline Unexecuted instantiation: socket-util.c:hash_words64_inline Unexecuted instantiation: sset.c:hash_words64_inline Unexecuted instantiation: timeval.c:hash_words64_inline Unexecuted instantiation: tnl-ports.c:hash_words64_inline Unexecuted instantiation: tun-metadata.c:hash_words64_inline Unexecuted instantiation: userspace-tso.c:hash_words64_inline Unexecuted instantiation: netdev-linux.c:hash_words64_inline Unexecuted instantiation: netdev-offload-tc.c:hash_words64_inline Unexecuted instantiation: netlink-socket.c:hash_words64_inline Unexecuted instantiation: rtnetlink.c:hash_words64_inline Unexecuted instantiation: route-table.c:hash_words64_inline Unexecuted instantiation: tc.c:hash_words64_inline Unexecuted instantiation: bundle.c:hash_words64_inline Unexecuted instantiation: classifier.c:hash_words64_inline Unexecuted instantiation: ccmap.c:hash_words64_inline Unexecuted instantiation: cmap.c:hash_words64_inline Unexecuted instantiation: cooperative-multitasking.c:hash_words64_inline Unexecuted instantiation: dp-packet-gso.c:hash_words64_inline Unexecuted instantiation: dpif.c:hash_words64_inline Unexecuted instantiation: hmapx.c:hash_words64_inline Unexecuted instantiation: id-pool.c:hash_words64_inline Unexecuted instantiation: learn.c:hash_words64_inline Unexecuted instantiation: multipath.c:hash_words64_inline Unexecuted instantiation: netdev-offload.c:hash_words64_inline Unexecuted instantiation: netdev-vport.c:hash_words64_inline Unexecuted instantiation: netlink.c:hash_words64_inline Unexecuted instantiation: odp-execute.c:hash_words64_inline Unexecuted instantiation: odp-execute-private.c:hash_words64_inline Unexecuted instantiation: odp-util.c:hash_words64_inline Unexecuted instantiation: simap.c:hash_words64_inline Unexecuted instantiation: stream.c:hash_words64_inline Unexecuted instantiation: tnl-neigh-cache.c:hash_words64_inline Unexecuted instantiation: netdev-native-tnl.c:hash_words64_inline Unexecuted instantiation: stream-unix.c:hash_words64_inline Unexecuted instantiation: dpif-netlink.c:hash_words64_inline Unexecuted instantiation: dpif-netlink-rtnl.c:hash_words64_inline Unexecuted instantiation: netlink-conntrack.c:hash_words64_inline Unexecuted instantiation: stream-ssl.c:hash_words64_inline Unexecuted instantiation: conntrack.c:hash_words64_inline Unexecuted instantiation: ct-dpif.c:hash_words64_inline Unexecuted instantiation: dpctl.c:hash_words64_inline Unexecuted instantiation: dpif-netdev.c:hash_words64_inline Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_words64_inline Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_words64_inline Unexecuted instantiation: dpif-netdev-private-extract.c:hash_words64_inline Unexecuted instantiation: ipf.c:hash_words64_inline Unexecuted instantiation: lockfile.c:hash_words64_inline Unexecuted instantiation: ovs-numa.c:hash_words64_inline Unexecuted instantiation: stream-tcp.c:hash_words64_inline Unexecuted instantiation: dpdk-stub.c:hash_words64_inline Unexecuted instantiation: vswitch-idl.c:hash_words64_inline Unexecuted instantiation: conntrack-icmp.c:hash_words64_inline Unexecuted instantiation: conntrack-tcp.c:hash_words64_inline Unexecuted instantiation: conntrack-tp.c:hash_words64_inline Unexecuted instantiation: conntrack-other.c:hash_words64_inline Unexecuted instantiation: dpif-netdev-extract-study.c:hash_words64_inline Unexecuted instantiation: dpif-netdev-lookup.c:hash_words64_inline Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_words64_inline Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_words64_inline Unexecuted instantiation: ovsdb-data.c:hash_words64_inline Unexecuted instantiation: ovsdb-idl.c:hash_words64_inline Unexecuted instantiation: ovsdb-map-op.c:hash_words64_inline Unexecuted instantiation: ovsdb-cs.c:hash_words64_inline |
138 | | |
139 | | static inline uint32_t hash_pointer(const void *p, uint32_t basis) |
140 | 0 | { |
141 | | /* Often pointers are hashed simply by casting to integer type, but that |
142 | | * has pitfalls since the lower bits of a pointer are often all 0 for |
143 | | * alignment reasons. It's hard to guess where the entropy really is, so |
144 | | * we give up here and just use a high-quality hash function. |
145 | | * |
146 | | * The double cast suppresses a warning on 64-bit systems about casting to |
147 | | * an integer to different size. That's OK in this case, since most of the |
148 | | * entropy in the pointer is almost certainly in the lower 32 bits. */ |
149 | 0 | return hash_int((uint32_t) (uintptr_t) p, basis); |
150 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_pointer Unexecuted instantiation: ofp-print.c:hash_pointer Unexecuted instantiation: ofp-queue.c:hash_pointer Unexecuted instantiation: ofp-table.c:hash_pointer Unexecuted instantiation: ofp-util.c:hash_pointer Unexecuted instantiation: coverage.c:hash_pointer Unexecuted instantiation: dp-packet.c:hash_pointer Unexecuted instantiation: flow.c:hash_pointer Unexecuted instantiation: hash.c:hash_pointer Unexecuted instantiation: json.c:hash_pointer Unexecuted instantiation: match.c:hash_pointer Unexecuted instantiation: meta-flow.c:hash_pointer Unexecuted instantiation: namemap.c:hash_pointer Unexecuted instantiation: netdev.c:hash_pointer Unexecuted instantiation: nx-match.c:hash_pointer Unexecuted instantiation: ofp-actions.c:hash_pointer Unexecuted instantiation: ofp-ct.c:hash_pointer Unexecuted instantiation: ofp-ed-props.c:hash_pointer Unexecuted instantiation: ofp-flow.c:hash_pointer Unexecuted instantiation: ofp-group.c:hash_pointer Unexecuted instantiation: ofp-match.c:hash_pointer Unexecuted instantiation: ofp-meter.c:hash_pointer Unexecuted instantiation: ofp-monitor.c:hash_pointer Unexecuted instantiation: ofp-msgs.c:hash_pointer Unexecuted instantiation: ofp-packet.c:hash_pointer Unexecuted instantiation: ofp-parse.c:hash_pointer Unexecuted instantiation: ofp-port.c:hash_pointer Unexecuted instantiation: ovs-router.c:hash_pointer Unexecuted instantiation: ovs-thread.c:hash_pointer Unexecuted instantiation: packets.c:hash_pointer Unexecuted instantiation: poll-loop.c:hash_pointer Unexecuted instantiation: random.c:hash_pointer Unexecuted instantiation: seq.c:hash_pointer Unexecuted instantiation: shash.c:hash_pointer Unexecuted instantiation: smap.c:hash_pointer Unexecuted instantiation: socket-util.c:hash_pointer Unexecuted instantiation: sset.c:hash_pointer Unexecuted instantiation: timeval.c:hash_pointer Unexecuted instantiation: tnl-ports.c:hash_pointer Unexecuted instantiation: tun-metadata.c:hash_pointer Unexecuted instantiation: userspace-tso.c:hash_pointer Unexecuted instantiation: netdev-linux.c:hash_pointer Unexecuted instantiation: netdev-offload-tc.c:hash_pointer Unexecuted instantiation: netlink-socket.c:hash_pointer Unexecuted instantiation: rtnetlink.c:hash_pointer Unexecuted instantiation: route-table.c:hash_pointer Unexecuted instantiation: tc.c:hash_pointer Unexecuted instantiation: bundle.c:hash_pointer Unexecuted instantiation: classifier.c:hash_pointer Unexecuted instantiation: ccmap.c:hash_pointer Unexecuted instantiation: cmap.c:hash_pointer Unexecuted instantiation: cooperative-multitasking.c:hash_pointer Unexecuted instantiation: dp-packet-gso.c:hash_pointer Unexecuted instantiation: dpif.c:hash_pointer Unexecuted instantiation: hmapx.c:hash_pointer Unexecuted instantiation: id-pool.c:hash_pointer Unexecuted instantiation: learn.c:hash_pointer Unexecuted instantiation: multipath.c:hash_pointer Unexecuted instantiation: netdev-offload.c:hash_pointer Unexecuted instantiation: netdev-vport.c:hash_pointer Unexecuted instantiation: netlink.c:hash_pointer Unexecuted instantiation: odp-execute.c:hash_pointer Unexecuted instantiation: odp-execute-private.c:hash_pointer Unexecuted instantiation: odp-util.c:hash_pointer Unexecuted instantiation: simap.c:hash_pointer Unexecuted instantiation: stream.c:hash_pointer Unexecuted instantiation: tnl-neigh-cache.c:hash_pointer Unexecuted instantiation: netdev-native-tnl.c:hash_pointer Unexecuted instantiation: stream-unix.c:hash_pointer Unexecuted instantiation: dpif-netlink.c:hash_pointer Unexecuted instantiation: dpif-netlink-rtnl.c:hash_pointer Unexecuted instantiation: netlink-conntrack.c:hash_pointer Unexecuted instantiation: stream-ssl.c:hash_pointer Unexecuted instantiation: conntrack.c:hash_pointer Unexecuted instantiation: ct-dpif.c:hash_pointer Unexecuted instantiation: dpctl.c:hash_pointer Unexecuted instantiation: dpif-netdev.c:hash_pointer Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_pointer Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_pointer Unexecuted instantiation: dpif-netdev-private-extract.c:hash_pointer Unexecuted instantiation: ipf.c:hash_pointer Unexecuted instantiation: lockfile.c:hash_pointer Unexecuted instantiation: ovs-numa.c:hash_pointer Unexecuted instantiation: stream-tcp.c:hash_pointer Unexecuted instantiation: dpdk-stub.c:hash_pointer Unexecuted instantiation: vswitch-idl.c:hash_pointer Unexecuted instantiation: conntrack-icmp.c:hash_pointer Unexecuted instantiation: conntrack-tcp.c:hash_pointer Unexecuted instantiation: conntrack-tp.c:hash_pointer Unexecuted instantiation: conntrack-other.c:hash_pointer Unexecuted instantiation: dpif-netdev-extract-study.c:hash_pointer Unexecuted instantiation: dpif-netdev-lookup.c:hash_pointer Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_pointer Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_pointer Unexecuted instantiation: ovsdb-data.c:hash_pointer Unexecuted instantiation: ovsdb-idl.c:hash_pointer Unexecuted instantiation: ovsdb-map-op.c:hash_pointer Unexecuted instantiation: ovsdb-cs.c:hash_pointer |
151 | | |
152 | | static inline uint32_t hash_2words(uint32_t x, uint32_t y) |
153 | 368k | { |
154 | 368k | return hash_finish(hash_add(hash_add(x, 0), y), 8); |
155 | 368k | } Unexecuted instantiation: ofp_print_target.c:hash_2words Unexecuted instantiation: ofp-print.c:hash_2words Unexecuted instantiation: ofp-queue.c:hash_2words Unexecuted instantiation: ofp-table.c:hash_2words Unexecuted instantiation: ofp-util.c:hash_2words Unexecuted instantiation: coverage.c:hash_2words Unexecuted instantiation: dp-packet.c:hash_2words Unexecuted instantiation: flow.c:hash_2words Unexecuted instantiation: hash.c:hash_2words Unexecuted instantiation: json.c:hash_2words Unexecuted instantiation: match.c:hash_2words Unexecuted instantiation: meta-flow.c:hash_2words Unexecuted instantiation: namemap.c:hash_2words Unexecuted instantiation: netdev.c:hash_2words Unexecuted instantiation: nx-match.c:hash_2words ofp-actions.c:hash_2words Line | Count | Source | 153 | 368k | { | 154 | 368k | return hash_finish(hash_add(hash_add(x, 0), y), 8); | 155 | 368k | } |
Unexecuted instantiation: ofp-ct.c:hash_2words Unexecuted instantiation: ofp-ed-props.c:hash_2words Unexecuted instantiation: ofp-flow.c:hash_2words Unexecuted instantiation: ofp-group.c:hash_2words Unexecuted instantiation: ofp-match.c:hash_2words Unexecuted instantiation: ofp-meter.c:hash_2words Unexecuted instantiation: ofp-monitor.c:hash_2words Unexecuted instantiation: ofp-msgs.c:hash_2words Unexecuted instantiation: ofp-packet.c:hash_2words Unexecuted instantiation: ofp-parse.c:hash_2words Unexecuted instantiation: ofp-port.c:hash_2words Unexecuted instantiation: ovs-router.c:hash_2words Unexecuted instantiation: ovs-thread.c:hash_2words Unexecuted instantiation: packets.c:hash_2words Unexecuted instantiation: poll-loop.c:hash_2words Unexecuted instantiation: random.c:hash_2words Unexecuted instantiation: seq.c:hash_2words Unexecuted instantiation: shash.c:hash_2words Unexecuted instantiation: smap.c:hash_2words Unexecuted instantiation: socket-util.c:hash_2words Unexecuted instantiation: sset.c:hash_2words Unexecuted instantiation: timeval.c:hash_2words Unexecuted instantiation: tnl-ports.c:hash_2words Unexecuted instantiation: tun-metadata.c:hash_2words Unexecuted instantiation: userspace-tso.c:hash_2words Unexecuted instantiation: netdev-linux.c:hash_2words Unexecuted instantiation: netdev-offload-tc.c:hash_2words Unexecuted instantiation: netlink-socket.c:hash_2words Unexecuted instantiation: rtnetlink.c:hash_2words Unexecuted instantiation: route-table.c:hash_2words Unexecuted instantiation: tc.c:hash_2words Unexecuted instantiation: bundle.c:hash_2words Unexecuted instantiation: classifier.c:hash_2words Unexecuted instantiation: ccmap.c:hash_2words Unexecuted instantiation: cmap.c:hash_2words Unexecuted instantiation: cooperative-multitasking.c:hash_2words Unexecuted instantiation: dp-packet-gso.c:hash_2words Unexecuted instantiation: dpif.c:hash_2words Unexecuted instantiation: hmapx.c:hash_2words Unexecuted instantiation: id-pool.c:hash_2words Unexecuted instantiation: learn.c:hash_2words Unexecuted instantiation: multipath.c:hash_2words Unexecuted instantiation: netdev-offload.c:hash_2words Unexecuted instantiation: netdev-vport.c:hash_2words Unexecuted instantiation: netlink.c:hash_2words Unexecuted instantiation: odp-execute.c:hash_2words Unexecuted instantiation: odp-execute-private.c:hash_2words Unexecuted instantiation: odp-util.c:hash_2words Unexecuted instantiation: simap.c:hash_2words Unexecuted instantiation: stream.c:hash_2words Unexecuted instantiation: tnl-neigh-cache.c:hash_2words Unexecuted instantiation: netdev-native-tnl.c:hash_2words Unexecuted instantiation: stream-unix.c:hash_2words Unexecuted instantiation: dpif-netlink.c:hash_2words Unexecuted instantiation: dpif-netlink-rtnl.c:hash_2words Unexecuted instantiation: netlink-conntrack.c:hash_2words Unexecuted instantiation: stream-ssl.c:hash_2words Unexecuted instantiation: conntrack.c:hash_2words Unexecuted instantiation: ct-dpif.c:hash_2words Unexecuted instantiation: dpctl.c:hash_2words Unexecuted instantiation: dpif-netdev.c:hash_2words Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_2words Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_2words Unexecuted instantiation: dpif-netdev-private-extract.c:hash_2words Unexecuted instantiation: ipf.c:hash_2words Unexecuted instantiation: lockfile.c:hash_2words Unexecuted instantiation: ovs-numa.c:hash_2words Unexecuted instantiation: stream-tcp.c:hash_2words Unexecuted instantiation: dpdk-stub.c:hash_2words Unexecuted instantiation: vswitch-idl.c:hash_2words Unexecuted instantiation: conntrack-icmp.c:hash_2words Unexecuted instantiation: conntrack-tcp.c:hash_2words Unexecuted instantiation: conntrack-tp.c:hash_2words Unexecuted instantiation: conntrack-other.c:hash_2words Unexecuted instantiation: dpif-netdev-extract-study.c:hash_2words Unexecuted instantiation: dpif-netdev-lookup.c:hash_2words Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_2words Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_2words Unexecuted instantiation: ovsdb-data.c:hash_2words Unexecuted instantiation: ovsdb-idl.c:hash_2words Unexecuted instantiation: ovsdb-map-op.c:hash_2words Unexecuted instantiation: ovsdb-cs.c:hash_2words |
156 | | |
157 | | static inline uint32_t hash_uint64_basis(const uint64_t x, |
158 | | const uint32_t basis) |
159 | 8.03M | { |
160 | 8.03M | return hash_finish(hash_add64(basis, x), 8); |
161 | 8.03M | } Unexecuted instantiation: ofp_print_target.c:hash_uint64_basis Unexecuted instantiation: ofp-print.c:hash_uint64_basis Unexecuted instantiation: ofp-queue.c:hash_uint64_basis Unexecuted instantiation: ofp-table.c:hash_uint64_basis Unexecuted instantiation: ofp-util.c:hash_uint64_basis Unexecuted instantiation: coverage.c:hash_uint64_basis Unexecuted instantiation: dp-packet.c:hash_uint64_basis Unexecuted instantiation: flow.c:hash_uint64_basis Unexecuted instantiation: hash.c:hash_uint64_basis Unexecuted instantiation: json.c:hash_uint64_basis Unexecuted instantiation: match.c:hash_uint64_basis Unexecuted instantiation: meta-flow.c:hash_uint64_basis Unexecuted instantiation: namemap.c:hash_uint64_basis Unexecuted instantiation: netdev.c:hash_uint64_basis nx-match.c:hash_uint64_basis Line | Count | Source | 159 | 8.03M | { | 160 | 8.03M | return hash_finish(hash_add64(basis, x), 8); | 161 | 8.03M | } |
Unexecuted instantiation: ofp-actions.c:hash_uint64_basis Unexecuted instantiation: ofp-ct.c:hash_uint64_basis Unexecuted instantiation: ofp-ed-props.c:hash_uint64_basis Unexecuted instantiation: ofp-flow.c:hash_uint64_basis Unexecuted instantiation: ofp-group.c:hash_uint64_basis Unexecuted instantiation: ofp-match.c:hash_uint64_basis Unexecuted instantiation: ofp-meter.c:hash_uint64_basis Unexecuted instantiation: ofp-monitor.c:hash_uint64_basis Unexecuted instantiation: ofp-msgs.c:hash_uint64_basis Unexecuted instantiation: ofp-packet.c:hash_uint64_basis Unexecuted instantiation: ofp-parse.c:hash_uint64_basis Unexecuted instantiation: ofp-port.c:hash_uint64_basis Unexecuted instantiation: ovs-router.c:hash_uint64_basis Unexecuted instantiation: ovs-thread.c:hash_uint64_basis Unexecuted instantiation: packets.c:hash_uint64_basis Unexecuted instantiation: poll-loop.c:hash_uint64_basis Unexecuted instantiation: random.c:hash_uint64_basis Unexecuted instantiation: seq.c:hash_uint64_basis Unexecuted instantiation: shash.c:hash_uint64_basis Unexecuted instantiation: smap.c:hash_uint64_basis Unexecuted instantiation: socket-util.c:hash_uint64_basis Unexecuted instantiation: sset.c:hash_uint64_basis Unexecuted instantiation: timeval.c:hash_uint64_basis Unexecuted instantiation: tnl-ports.c:hash_uint64_basis Unexecuted instantiation: tun-metadata.c:hash_uint64_basis Unexecuted instantiation: userspace-tso.c:hash_uint64_basis Unexecuted instantiation: netdev-linux.c:hash_uint64_basis Unexecuted instantiation: netdev-offload-tc.c:hash_uint64_basis Unexecuted instantiation: netlink-socket.c:hash_uint64_basis Unexecuted instantiation: rtnetlink.c:hash_uint64_basis Unexecuted instantiation: route-table.c:hash_uint64_basis Unexecuted instantiation: tc.c:hash_uint64_basis Unexecuted instantiation: bundle.c:hash_uint64_basis Unexecuted instantiation: classifier.c:hash_uint64_basis Unexecuted instantiation: ccmap.c:hash_uint64_basis Unexecuted instantiation: cmap.c:hash_uint64_basis Unexecuted instantiation: cooperative-multitasking.c:hash_uint64_basis Unexecuted instantiation: dp-packet-gso.c:hash_uint64_basis Unexecuted instantiation: dpif.c:hash_uint64_basis Unexecuted instantiation: hmapx.c:hash_uint64_basis Unexecuted instantiation: id-pool.c:hash_uint64_basis Unexecuted instantiation: learn.c:hash_uint64_basis Unexecuted instantiation: multipath.c:hash_uint64_basis Unexecuted instantiation: netdev-offload.c:hash_uint64_basis Unexecuted instantiation: netdev-vport.c:hash_uint64_basis Unexecuted instantiation: netlink.c:hash_uint64_basis Unexecuted instantiation: odp-execute.c:hash_uint64_basis Unexecuted instantiation: odp-execute-private.c:hash_uint64_basis Unexecuted instantiation: odp-util.c:hash_uint64_basis Unexecuted instantiation: simap.c:hash_uint64_basis Unexecuted instantiation: stream.c:hash_uint64_basis Unexecuted instantiation: tnl-neigh-cache.c:hash_uint64_basis Unexecuted instantiation: netdev-native-tnl.c:hash_uint64_basis Unexecuted instantiation: stream-unix.c:hash_uint64_basis Unexecuted instantiation: dpif-netlink.c:hash_uint64_basis Unexecuted instantiation: dpif-netlink-rtnl.c:hash_uint64_basis Unexecuted instantiation: netlink-conntrack.c:hash_uint64_basis Unexecuted instantiation: stream-ssl.c:hash_uint64_basis Unexecuted instantiation: conntrack.c:hash_uint64_basis Unexecuted instantiation: ct-dpif.c:hash_uint64_basis Unexecuted instantiation: dpctl.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev-private-extract.c:hash_uint64_basis Unexecuted instantiation: ipf.c:hash_uint64_basis Unexecuted instantiation: lockfile.c:hash_uint64_basis Unexecuted instantiation: ovs-numa.c:hash_uint64_basis Unexecuted instantiation: stream-tcp.c:hash_uint64_basis Unexecuted instantiation: dpdk-stub.c:hash_uint64_basis Unexecuted instantiation: vswitch-idl.c:hash_uint64_basis Unexecuted instantiation: conntrack-icmp.c:hash_uint64_basis Unexecuted instantiation: conntrack-tcp.c:hash_uint64_basis Unexecuted instantiation: conntrack-tp.c:hash_uint64_basis Unexecuted instantiation: conntrack-other.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev-extract-study.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev-lookup.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_uint64_basis Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_uint64_basis Unexecuted instantiation: ovsdb-data.c:hash_uint64_basis Unexecuted instantiation: ovsdb-idl.c:hash_uint64_basis Unexecuted instantiation: ovsdb-map-op.c:hash_uint64_basis Unexecuted instantiation: ovsdb-cs.c:hash_uint64_basis |
162 | | |
163 | | static inline uint32_t hash_uint64(const uint64_t x) |
164 | 8.03M | { |
165 | 8.03M | return hash_uint64_basis(x, 0); |
166 | 8.03M | } Unexecuted instantiation: ofp_print_target.c:hash_uint64 Unexecuted instantiation: ofp-print.c:hash_uint64 Unexecuted instantiation: ofp-queue.c:hash_uint64 Unexecuted instantiation: ofp-table.c:hash_uint64 Unexecuted instantiation: ofp-util.c:hash_uint64 Unexecuted instantiation: coverage.c:hash_uint64 Unexecuted instantiation: dp-packet.c:hash_uint64 Unexecuted instantiation: flow.c:hash_uint64 Unexecuted instantiation: hash.c:hash_uint64 Unexecuted instantiation: json.c:hash_uint64 Unexecuted instantiation: match.c:hash_uint64 Unexecuted instantiation: meta-flow.c:hash_uint64 Unexecuted instantiation: namemap.c:hash_uint64 Unexecuted instantiation: netdev.c:hash_uint64 Line | Count | Source | 164 | 8.03M | { | 165 | 8.03M | return hash_uint64_basis(x, 0); | 166 | 8.03M | } |
Unexecuted instantiation: ofp-actions.c:hash_uint64 Unexecuted instantiation: ofp-ct.c:hash_uint64 Unexecuted instantiation: ofp-ed-props.c:hash_uint64 Unexecuted instantiation: ofp-flow.c:hash_uint64 Unexecuted instantiation: ofp-group.c:hash_uint64 Unexecuted instantiation: ofp-match.c:hash_uint64 Unexecuted instantiation: ofp-meter.c:hash_uint64 Unexecuted instantiation: ofp-monitor.c:hash_uint64 Unexecuted instantiation: ofp-msgs.c:hash_uint64 Unexecuted instantiation: ofp-packet.c:hash_uint64 Unexecuted instantiation: ofp-parse.c:hash_uint64 Unexecuted instantiation: ofp-port.c:hash_uint64 Unexecuted instantiation: ovs-router.c:hash_uint64 Unexecuted instantiation: ovs-thread.c:hash_uint64 Unexecuted instantiation: packets.c:hash_uint64 Unexecuted instantiation: poll-loop.c:hash_uint64 Unexecuted instantiation: random.c:hash_uint64 Unexecuted instantiation: seq.c:hash_uint64 Unexecuted instantiation: shash.c:hash_uint64 Unexecuted instantiation: smap.c:hash_uint64 Unexecuted instantiation: socket-util.c:hash_uint64 Unexecuted instantiation: sset.c:hash_uint64 Unexecuted instantiation: timeval.c:hash_uint64 Unexecuted instantiation: tnl-ports.c:hash_uint64 Unexecuted instantiation: tun-metadata.c:hash_uint64 Unexecuted instantiation: userspace-tso.c:hash_uint64 Unexecuted instantiation: netdev-linux.c:hash_uint64 Unexecuted instantiation: netdev-offload-tc.c:hash_uint64 Unexecuted instantiation: netlink-socket.c:hash_uint64 Unexecuted instantiation: rtnetlink.c:hash_uint64 Unexecuted instantiation: route-table.c:hash_uint64 Unexecuted instantiation: tc.c:hash_uint64 Unexecuted instantiation: bundle.c:hash_uint64 Unexecuted instantiation: classifier.c:hash_uint64 Unexecuted instantiation: ccmap.c:hash_uint64 Unexecuted instantiation: cmap.c:hash_uint64 Unexecuted instantiation: cooperative-multitasking.c:hash_uint64 Unexecuted instantiation: dp-packet-gso.c:hash_uint64 Unexecuted instantiation: dpif.c:hash_uint64 Unexecuted instantiation: hmapx.c:hash_uint64 Unexecuted instantiation: id-pool.c:hash_uint64 Unexecuted instantiation: learn.c:hash_uint64 Unexecuted instantiation: multipath.c:hash_uint64 Unexecuted instantiation: netdev-offload.c:hash_uint64 Unexecuted instantiation: netdev-vport.c:hash_uint64 Unexecuted instantiation: netlink.c:hash_uint64 Unexecuted instantiation: odp-execute.c:hash_uint64 Unexecuted instantiation: odp-execute-private.c:hash_uint64 Unexecuted instantiation: odp-util.c:hash_uint64 Unexecuted instantiation: simap.c:hash_uint64 Unexecuted instantiation: stream.c:hash_uint64 Unexecuted instantiation: tnl-neigh-cache.c:hash_uint64 Unexecuted instantiation: netdev-native-tnl.c:hash_uint64 Unexecuted instantiation: stream-unix.c:hash_uint64 Unexecuted instantiation: dpif-netlink.c:hash_uint64 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_uint64 Unexecuted instantiation: netlink-conntrack.c:hash_uint64 Unexecuted instantiation: stream-ssl.c:hash_uint64 Unexecuted instantiation: conntrack.c:hash_uint64 Unexecuted instantiation: ct-dpif.c:hash_uint64 Unexecuted instantiation: dpctl.c:hash_uint64 Unexecuted instantiation: dpif-netdev.c:hash_uint64 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_uint64 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_uint64 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_uint64 Unexecuted instantiation: ipf.c:hash_uint64 Unexecuted instantiation: lockfile.c:hash_uint64 Unexecuted instantiation: ovs-numa.c:hash_uint64 Unexecuted instantiation: stream-tcp.c:hash_uint64 Unexecuted instantiation: dpdk-stub.c:hash_uint64 Unexecuted instantiation: vswitch-idl.c:hash_uint64 Unexecuted instantiation: conntrack-icmp.c:hash_uint64 Unexecuted instantiation: conntrack-tcp.c:hash_uint64 Unexecuted instantiation: conntrack-tp.c:hash_uint64 Unexecuted instantiation: conntrack-other.c:hash_uint64 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_uint64 Unexecuted instantiation: dpif-netdev-lookup.c:hash_uint64 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_uint64 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_uint64 Unexecuted instantiation: ovsdb-data.c:hash_uint64 Unexecuted instantiation: ovsdb-idl.c:hash_uint64 Unexecuted instantiation: ovsdb-map-op.c:hash_uint64 Unexecuted instantiation: ovsdb-cs.c:hash_uint64 |
167 | | |
168 | | #else /* __SSE4_2__ && __x86_64__ */ |
169 | | #include <smmintrin.h> |
170 | | |
171 | | static inline uint32_t hash_add(uint32_t hash, uint32_t data) |
172 | | { |
173 | | return _mm_crc32_u32(hash, data); |
174 | | } |
175 | | |
176 | | /* Add the halves of 'data' in the memory order. */ |
177 | | static inline uint32_t hash_add64(uint32_t hash, uint64_t data) |
178 | | { |
179 | | return _mm_crc32_u64(hash, data); |
180 | | } |
181 | | |
182 | | static inline uint32_t hash_finish(uint64_t hash, uint64_t final) |
183 | | { |
184 | | /* The finishing multiplier 0x805204f3 has been experimentally |
185 | | * derived to pass the testsuite hash tests. */ |
186 | | hash = _mm_crc32_u64(hash, final) * 0x805204f3; |
187 | | return hash ^ (uint32_t)hash >> 16; /* Increase entropy in LSBs. */ |
188 | | } |
189 | | |
190 | | static inline uint32_t |
191 | | hash_finish32(uint64_t hash, uint32_t final, uint32_t semifinal) |
192 | | { |
193 | | /* The finishing multiplier 0x805204f3 has been experimentally |
194 | | * derived to pass the testsuite hash tests. */ |
195 | | hash = _mm_crc32_u32(hash, semifinal); |
196 | | hash = _mm_crc32_u32(hash, final) * 0x805204f3ULL; |
197 | | return hash ^ ((uint32_t) hash >> 16); /* Increase entropy in LSBs. */ |
198 | | } |
199 | | |
200 | | static inline uint32_t |
201 | | hash_words_32aligned(const uint32_t *p, size_t n_words, uint32_t basis) |
202 | | { |
203 | | uint32_t hash1 = basis; |
204 | | uint32_t hash2 = 0; |
205 | | uint32_t hash3 = n_words; |
206 | | const uint32_t *endp = (const uint32_t *) p + n_words; |
207 | | const uint32_t *limit = p + n_words - 6; |
208 | | |
209 | | while (p <= limit) { |
210 | | hash1 = _mm_crc32_u32(hash1, p[0]); |
211 | | hash1 = _mm_crc32_u32(hash1, p[1]); |
212 | | hash2 = _mm_crc32_u32(hash2, p[2]); |
213 | | hash2 = _mm_crc32_u32(hash2, p[3]); |
214 | | hash3 = _mm_crc32_u32(hash3, p[4]); |
215 | | hash3 = _mm_crc32_u32(hash3, p[5]); |
216 | | p += 6; |
217 | | } |
218 | | switch (endp - (const uint32_t *) p) { |
219 | | case 1: |
220 | | hash1 = _mm_crc32_u32(hash1, p[0]); |
221 | | break; |
222 | | case 2: |
223 | | hash1 = _mm_crc32_u32(hash1, p[0]); |
224 | | hash1 = _mm_crc32_u32(hash1, p[1]); |
225 | | break; |
226 | | case 3: |
227 | | hash1 = _mm_crc32_u32(hash1, p[0]); |
228 | | hash1 = _mm_crc32_u32(hash1, p[1]); |
229 | | hash2 = _mm_crc32_u32(hash2, p[2]); |
230 | | break; |
231 | | case 4: |
232 | | hash1 = _mm_crc32_u32(hash1, p[0]); |
233 | | hash1 = _mm_crc32_u32(hash1, p[1]); |
234 | | hash2 = _mm_crc32_u32(hash2, p[2]); |
235 | | hash2 = _mm_crc32_u32(hash2, p[3]); |
236 | | break; |
237 | | case 5: |
238 | | hash1 = _mm_crc32_u32(hash1, p[0]); |
239 | | hash1 = _mm_crc32_u32(hash1, p[1]); |
240 | | hash2 = _mm_crc32_u32(hash2, p[2]); |
241 | | hash2 = _mm_crc32_u32(hash2, p[3]); |
242 | | hash3 = _mm_crc32_u32(hash3, p[4]); |
243 | | break; |
244 | | } |
245 | | return hash_finish32(hash1, hash2, hash3); |
246 | | } |
247 | | |
248 | | /* Returns the hash of the 'n' 32-bit words at 'p_', starting from 'basis'. |
249 | | * We access 'p_' as a uint64_t pointer, which is fine for __SSE_4_2__. |
250 | | * |
251 | | * This is inlined for the compiler to have access to the 'n_words', which |
252 | | * in many cases is a constant. */ |
253 | | static inline uint32_t |
254 | | hash_words_inline(const uint32_t *p_, size_t n_words, uint32_t basis) |
255 | | { |
256 | | const uint64_t *p = ALIGNED_CAST(const uint64_t *, p_); |
257 | | uint64_t hash1 = basis; |
258 | | uint64_t hash2 = 0; |
259 | | uint64_t hash3 = n_words; |
260 | | const uint32_t *endp = (const uint32_t *)p + n_words; |
261 | | const uint64_t *limit = p + n_words / 2 - 3; |
262 | | |
263 | | if (OVS_UNLIKELY(((intptr_t) p & ((sizeof(uint64_t)) - 1)) != 0)) { |
264 | | return hash_words_32aligned(p_, n_words, basis); |
265 | | } |
266 | | |
267 | | while (p <= limit) { |
268 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
269 | | hash2 = _mm_crc32_u64(hash2, p[1]); |
270 | | hash3 = _mm_crc32_u64(hash3, p[2]); |
271 | | p += 3; |
272 | | } |
273 | | switch (endp - (const uint32_t *)p) { |
274 | | case 1: |
275 | | hash1 = _mm_crc32_u32(hash1, *(const uint32_t *)&p[0]); |
276 | | break; |
277 | | case 2: |
278 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
279 | | break; |
280 | | case 3: |
281 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
282 | | hash2 = _mm_crc32_u32(hash2, *(const uint32_t *)&p[1]); |
283 | | break; |
284 | | case 4: |
285 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
286 | | hash2 = _mm_crc32_u64(hash2, p[1]); |
287 | | break; |
288 | | case 5: |
289 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
290 | | hash2 = _mm_crc32_u64(hash2, p[1]); |
291 | | hash3 = _mm_crc32_u32(hash3, *(const uint32_t *)&p[2]); |
292 | | break; |
293 | | } |
294 | | return hash_finish(hash1, hash2 << 32 | hash3); |
295 | | } |
296 | | |
297 | | /* A simpler version for 64-bit data. |
298 | | * 'n_words' is the count of 64-bit words, basis is 64 bits. */ |
299 | | static inline uint32_t |
300 | | hash_words64_inline(const uint64_t *p, size_t n_words, uint32_t basis) |
301 | | { |
302 | | uint64_t hash1 = basis; |
303 | | uint64_t hash2 = 0; |
304 | | uint64_t hash3 = n_words; |
305 | | const uint64_t *endp = p + n_words; |
306 | | const uint64_t *limit = endp - 3; |
307 | | |
308 | | while (p <= limit) { |
309 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
310 | | hash2 = _mm_crc32_u64(hash2, p[1]); |
311 | | hash3 = _mm_crc32_u64(hash3, p[2]); |
312 | | p += 3; |
313 | | } |
314 | | switch (endp - p) { |
315 | | case 1: |
316 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
317 | | break; |
318 | | case 2: |
319 | | hash1 = _mm_crc32_u64(hash1, p[0]); |
320 | | hash2 = _mm_crc32_u64(hash2, p[1]); |
321 | | break; |
322 | | } |
323 | | return hash_finish(hash1, hash2 << 32 | hash3); |
324 | | } |
325 | | |
326 | | static inline uint32_t hash_uint64_basis(const uint64_t x, |
327 | | const uint32_t basis) |
328 | | { |
329 | | /* '23' chosen to mix bits enough for the test-hash to pass. */ |
330 | | return hash_finish(hash_add64(basis, x), 23); |
331 | | } |
332 | | |
333 | | static inline uint32_t hash_uint64(const uint64_t x) |
334 | | { |
335 | | return hash_uint64_basis(x, 0); |
336 | | } |
337 | | |
338 | | static inline uint32_t hash_2words(uint32_t x, uint32_t y) |
339 | | { |
340 | | return hash_uint64((uint64_t)y << 32 | x); |
341 | | } |
342 | | |
343 | | static inline uint32_t hash_pointer(const void *p, uint32_t basis) |
344 | | { |
345 | | return hash_uint64_basis((uint64_t) (uintptr_t) p, basis); |
346 | | } |
347 | | #endif |
348 | | |
349 | | uint32_t hash_words__(const uint32_t *p, size_t n_words, uint32_t basis); |
350 | | uint32_t hash_words64__(const uint64_t *p, size_t n_words, uint32_t basis); |
351 | | |
352 | | /* Inline the larger hash functions only when 'n_words' is known to be |
353 | | * compile-time constant. */ |
354 | | #if __GNUC__ >= 4 |
355 | | static inline uint32_t |
356 | | hash_words(const uint32_t *p, size_t n_words, uint32_t basis) |
357 | 3.99M | { |
358 | 3.99M | if (__builtin_constant_p(n_words)) { |
359 | 3.99M | return hash_words_inline(p, n_words, basis); |
360 | 3.99M | } else { |
361 | 0 | return hash_words__(p, n_words, basis); |
362 | 0 | } |
363 | 3.99M | } Unexecuted instantiation: ofp_print_target.c:hash_words Unexecuted instantiation: ofp-print.c:hash_words Unexecuted instantiation: ofp-queue.c:hash_words Unexecuted instantiation: ofp-table.c:hash_words Unexecuted instantiation: ofp-util.c:hash_words Unexecuted instantiation: coverage.c:hash_words Unexecuted instantiation: dp-packet.c:hash_words Unexecuted instantiation: flow.c:hash_words Unexecuted instantiation: hash.c:hash_words Unexecuted instantiation: json.c:hash_words Unexecuted instantiation: match.c:hash_words Unexecuted instantiation: meta-flow.c:hash_words Unexecuted instantiation: namemap.c:hash_words Unexecuted instantiation: netdev.c:hash_words Unexecuted instantiation: nx-match.c:hash_words Unexecuted instantiation: ofp-actions.c:hash_words Unexecuted instantiation: ofp-ct.c:hash_words Unexecuted instantiation: ofp-ed-props.c:hash_words Unexecuted instantiation: ofp-flow.c:hash_words Unexecuted instantiation: ofp-group.c:hash_words Unexecuted instantiation: ofp-match.c:hash_words Unexecuted instantiation: ofp-meter.c:hash_words Unexecuted instantiation: ofp-monitor.c:hash_words Line | Count | Source | 357 | 3.99M | { | 358 | 3.99M | if (__builtin_constant_p(n_words)) { | 359 | 3.99M | return hash_words_inline(p, n_words, basis); | 360 | 3.99M | } else { | 361 | 0 | return hash_words__(p, n_words, basis); | 362 | 0 | } | 363 | 3.99M | } |
Unexecuted instantiation: ofp-packet.c:hash_words Unexecuted instantiation: ofp-parse.c:hash_words Unexecuted instantiation: ofp-port.c:hash_words Unexecuted instantiation: ovs-router.c:hash_words Unexecuted instantiation: ovs-thread.c:hash_words Unexecuted instantiation: packets.c:hash_words Unexecuted instantiation: poll-loop.c:hash_words Unexecuted instantiation: random.c:hash_words Unexecuted instantiation: seq.c:hash_words Unexecuted instantiation: shash.c:hash_words Unexecuted instantiation: smap.c:hash_words Unexecuted instantiation: socket-util.c:hash_words Unexecuted instantiation: sset.c:hash_words Unexecuted instantiation: timeval.c:hash_words Unexecuted instantiation: tnl-ports.c:hash_words Unexecuted instantiation: tun-metadata.c:hash_words Unexecuted instantiation: userspace-tso.c:hash_words Unexecuted instantiation: netdev-linux.c:hash_words Unexecuted instantiation: netdev-offload-tc.c:hash_words Unexecuted instantiation: netlink-socket.c:hash_words Unexecuted instantiation: rtnetlink.c:hash_words Unexecuted instantiation: route-table.c:hash_words Unexecuted instantiation: tc.c:hash_words Unexecuted instantiation: bundle.c:hash_words Unexecuted instantiation: classifier.c:hash_words Unexecuted instantiation: ccmap.c:hash_words Unexecuted instantiation: cmap.c:hash_words Unexecuted instantiation: cooperative-multitasking.c:hash_words Unexecuted instantiation: dp-packet-gso.c:hash_words Unexecuted instantiation: dpif.c:hash_words Unexecuted instantiation: hmapx.c:hash_words Unexecuted instantiation: id-pool.c:hash_words Unexecuted instantiation: learn.c:hash_words Unexecuted instantiation: multipath.c:hash_words Unexecuted instantiation: netdev-offload.c:hash_words Unexecuted instantiation: netdev-vport.c:hash_words Unexecuted instantiation: netlink.c:hash_words Unexecuted instantiation: odp-execute.c:hash_words Unexecuted instantiation: odp-execute-private.c:hash_words Unexecuted instantiation: odp-util.c:hash_words Unexecuted instantiation: simap.c:hash_words Unexecuted instantiation: stream.c:hash_words Unexecuted instantiation: tnl-neigh-cache.c:hash_words Unexecuted instantiation: netdev-native-tnl.c:hash_words Unexecuted instantiation: stream-unix.c:hash_words Unexecuted instantiation: dpif-netlink.c:hash_words Unexecuted instantiation: dpif-netlink-rtnl.c:hash_words Unexecuted instantiation: netlink-conntrack.c:hash_words Unexecuted instantiation: stream-ssl.c:hash_words Unexecuted instantiation: conntrack.c:hash_words Unexecuted instantiation: ct-dpif.c:hash_words Unexecuted instantiation: dpctl.c:hash_words Unexecuted instantiation: dpif-netdev.c:hash_words Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_words Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_words Unexecuted instantiation: dpif-netdev-private-extract.c:hash_words Unexecuted instantiation: ipf.c:hash_words Unexecuted instantiation: lockfile.c:hash_words Unexecuted instantiation: ovs-numa.c:hash_words Unexecuted instantiation: stream-tcp.c:hash_words Unexecuted instantiation: dpdk-stub.c:hash_words Unexecuted instantiation: vswitch-idl.c:hash_words Unexecuted instantiation: conntrack-icmp.c:hash_words Unexecuted instantiation: conntrack-tcp.c:hash_words Unexecuted instantiation: conntrack-tp.c:hash_words Unexecuted instantiation: conntrack-other.c:hash_words Unexecuted instantiation: dpif-netdev-extract-study.c:hash_words Unexecuted instantiation: dpif-netdev-lookup.c:hash_words Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_words Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_words Unexecuted instantiation: ovsdb-data.c:hash_words Unexecuted instantiation: ovsdb-idl.c:hash_words Unexecuted instantiation: ovsdb-map-op.c:hash_words Unexecuted instantiation: ovsdb-cs.c:hash_words |
364 | | |
365 | | static inline uint32_t |
366 | | hash_words64(const uint64_t *p, size_t n_words, uint32_t basis) |
367 | 0 | { |
368 | 0 | if (__builtin_constant_p(n_words)) { |
369 | 0 | return hash_words64_inline(p, n_words, basis); |
370 | 0 | } else { |
371 | 0 | return hash_words64__(p, n_words, basis); |
372 | 0 | } |
373 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_words64 Unexecuted instantiation: ofp-print.c:hash_words64 Unexecuted instantiation: ofp-queue.c:hash_words64 Unexecuted instantiation: ofp-table.c:hash_words64 Unexecuted instantiation: ofp-util.c:hash_words64 Unexecuted instantiation: coverage.c:hash_words64 Unexecuted instantiation: dp-packet.c:hash_words64 Unexecuted instantiation: flow.c:hash_words64 Unexecuted instantiation: hash.c:hash_words64 Unexecuted instantiation: json.c:hash_words64 Unexecuted instantiation: match.c:hash_words64 Unexecuted instantiation: meta-flow.c:hash_words64 Unexecuted instantiation: namemap.c:hash_words64 Unexecuted instantiation: netdev.c:hash_words64 Unexecuted instantiation: nx-match.c:hash_words64 Unexecuted instantiation: ofp-actions.c:hash_words64 Unexecuted instantiation: ofp-ct.c:hash_words64 Unexecuted instantiation: ofp-ed-props.c:hash_words64 Unexecuted instantiation: ofp-flow.c:hash_words64 Unexecuted instantiation: ofp-group.c:hash_words64 Unexecuted instantiation: ofp-match.c:hash_words64 Unexecuted instantiation: ofp-meter.c:hash_words64 Unexecuted instantiation: ofp-monitor.c:hash_words64 Unexecuted instantiation: ofp-msgs.c:hash_words64 Unexecuted instantiation: ofp-packet.c:hash_words64 Unexecuted instantiation: ofp-parse.c:hash_words64 Unexecuted instantiation: ofp-port.c:hash_words64 Unexecuted instantiation: ovs-router.c:hash_words64 Unexecuted instantiation: ovs-thread.c:hash_words64 Unexecuted instantiation: packets.c:hash_words64 Unexecuted instantiation: poll-loop.c:hash_words64 Unexecuted instantiation: random.c:hash_words64 Unexecuted instantiation: seq.c:hash_words64 Unexecuted instantiation: shash.c:hash_words64 Unexecuted instantiation: smap.c:hash_words64 Unexecuted instantiation: socket-util.c:hash_words64 Unexecuted instantiation: sset.c:hash_words64 Unexecuted instantiation: timeval.c:hash_words64 Unexecuted instantiation: tnl-ports.c:hash_words64 Unexecuted instantiation: tun-metadata.c:hash_words64 Unexecuted instantiation: userspace-tso.c:hash_words64 Unexecuted instantiation: netdev-linux.c:hash_words64 Unexecuted instantiation: netdev-offload-tc.c:hash_words64 Unexecuted instantiation: netlink-socket.c:hash_words64 Unexecuted instantiation: rtnetlink.c:hash_words64 Unexecuted instantiation: route-table.c:hash_words64 Unexecuted instantiation: tc.c:hash_words64 Unexecuted instantiation: bundle.c:hash_words64 Unexecuted instantiation: classifier.c:hash_words64 Unexecuted instantiation: ccmap.c:hash_words64 Unexecuted instantiation: cmap.c:hash_words64 Unexecuted instantiation: cooperative-multitasking.c:hash_words64 Unexecuted instantiation: dp-packet-gso.c:hash_words64 Unexecuted instantiation: dpif.c:hash_words64 Unexecuted instantiation: hmapx.c:hash_words64 Unexecuted instantiation: id-pool.c:hash_words64 Unexecuted instantiation: learn.c:hash_words64 Unexecuted instantiation: multipath.c:hash_words64 Unexecuted instantiation: netdev-offload.c:hash_words64 Unexecuted instantiation: netdev-vport.c:hash_words64 Unexecuted instantiation: netlink.c:hash_words64 Unexecuted instantiation: odp-execute.c:hash_words64 Unexecuted instantiation: odp-execute-private.c:hash_words64 Unexecuted instantiation: odp-util.c:hash_words64 Unexecuted instantiation: simap.c:hash_words64 Unexecuted instantiation: stream.c:hash_words64 Unexecuted instantiation: tnl-neigh-cache.c:hash_words64 Unexecuted instantiation: netdev-native-tnl.c:hash_words64 Unexecuted instantiation: stream-unix.c:hash_words64 Unexecuted instantiation: dpif-netlink.c:hash_words64 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_words64 Unexecuted instantiation: netlink-conntrack.c:hash_words64 Unexecuted instantiation: stream-ssl.c:hash_words64 Unexecuted instantiation: conntrack.c:hash_words64 Unexecuted instantiation: ct-dpif.c:hash_words64 Unexecuted instantiation: dpctl.c:hash_words64 Unexecuted instantiation: dpif-netdev.c:hash_words64 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_words64 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_words64 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_words64 Unexecuted instantiation: ipf.c:hash_words64 Unexecuted instantiation: lockfile.c:hash_words64 Unexecuted instantiation: ovs-numa.c:hash_words64 Unexecuted instantiation: stream-tcp.c:hash_words64 Unexecuted instantiation: dpdk-stub.c:hash_words64 Unexecuted instantiation: vswitch-idl.c:hash_words64 Unexecuted instantiation: conntrack-icmp.c:hash_words64 Unexecuted instantiation: conntrack-tcp.c:hash_words64 Unexecuted instantiation: conntrack-tp.c:hash_words64 Unexecuted instantiation: conntrack-other.c:hash_words64 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_words64 Unexecuted instantiation: dpif-netdev-lookup.c:hash_words64 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_words64 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_words64 Unexecuted instantiation: ovsdb-data.c:hash_words64 Unexecuted instantiation: ovsdb-idl.c:hash_words64 Unexecuted instantiation: ovsdb-map-op.c:hash_words64 Unexecuted instantiation: ovsdb-cs.c:hash_words64 |
374 | | |
375 | | #else |
376 | | |
377 | | static inline uint32_t |
378 | | hash_words(const uint32_t *p, size_t n_words, uint32_t basis) |
379 | | { |
380 | | return hash_words__(p, n_words, basis); |
381 | | } |
382 | | |
383 | | static inline uint32_t |
384 | | hash_words64(const uint64_t *p, size_t n_words, uint32_t basis) |
385 | | { |
386 | | return hash_words64__(p, n_words, basis); |
387 | | } |
388 | | #endif |
389 | | |
390 | | static inline uint32_t |
391 | | hash_bytes32(const uint32_t *p, size_t n_bytes, uint32_t basis) |
392 | 3.99M | { |
393 | 3.99M | return hash_words(p, n_bytes / 4, basis); |
394 | 3.99M | } Unexecuted instantiation: ofp_print_target.c:hash_bytes32 Unexecuted instantiation: ofp-print.c:hash_bytes32 Unexecuted instantiation: ofp-queue.c:hash_bytes32 Unexecuted instantiation: ofp-table.c:hash_bytes32 Unexecuted instantiation: ofp-util.c:hash_bytes32 Unexecuted instantiation: coverage.c:hash_bytes32 Unexecuted instantiation: dp-packet.c:hash_bytes32 Unexecuted instantiation: flow.c:hash_bytes32 Unexecuted instantiation: hash.c:hash_bytes32 Unexecuted instantiation: json.c:hash_bytes32 Unexecuted instantiation: match.c:hash_bytes32 Unexecuted instantiation: meta-flow.c:hash_bytes32 Unexecuted instantiation: namemap.c:hash_bytes32 Unexecuted instantiation: netdev.c:hash_bytes32 Unexecuted instantiation: nx-match.c:hash_bytes32 Unexecuted instantiation: ofp-actions.c:hash_bytes32 Unexecuted instantiation: ofp-ct.c:hash_bytes32 Unexecuted instantiation: ofp-ed-props.c:hash_bytes32 Unexecuted instantiation: ofp-flow.c:hash_bytes32 Unexecuted instantiation: ofp-group.c:hash_bytes32 Unexecuted instantiation: ofp-match.c:hash_bytes32 Unexecuted instantiation: ofp-meter.c:hash_bytes32 Unexecuted instantiation: ofp-monitor.c:hash_bytes32 Line | Count | Source | 392 | 3.99M | { | 393 | 3.99M | return hash_words(p, n_bytes / 4, basis); | 394 | 3.99M | } |
Unexecuted instantiation: ofp-packet.c:hash_bytes32 Unexecuted instantiation: ofp-parse.c:hash_bytes32 Unexecuted instantiation: ofp-port.c:hash_bytes32 Unexecuted instantiation: ovs-router.c:hash_bytes32 Unexecuted instantiation: ovs-thread.c:hash_bytes32 Unexecuted instantiation: packets.c:hash_bytes32 Unexecuted instantiation: poll-loop.c:hash_bytes32 Unexecuted instantiation: random.c:hash_bytes32 Unexecuted instantiation: seq.c:hash_bytes32 Unexecuted instantiation: shash.c:hash_bytes32 Unexecuted instantiation: smap.c:hash_bytes32 Unexecuted instantiation: socket-util.c:hash_bytes32 Unexecuted instantiation: sset.c:hash_bytes32 Unexecuted instantiation: timeval.c:hash_bytes32 Unexecuted instantiation: tnl-ports.c:hash_bytes32 Unexecuted instantiation: tun-metadata.c:hash_bytes32 Unexecuted instantiation: userspace-tso.c:hash_bytes32 Unexecuted instantiation: netdev-linux.c:hash_bytes32 Unexecuted instantiation: netdev-offload-tc.c:hash_bytes32 Unexecuted instantiation: netlink-socket.c:hash_bytes32 Unexecuted instantiation: rtnetlink.c:hash_bytes32 Unexecuted instantiation: route-table.c:hash_bytes32 Unexecuted instantiation: tc.c:hash_bytes32 Unexecuted instantiation: bundle.c:hash_bytes32 Unexecuted instantiation: classifier.c:hash_bytes32 Unexecuted instantiation: ccmap.c:hash_bytes32 Unexecuted instantiation: cmap.c:hash_bytes32 Unexecuted instantiation: cooperative-multitasking.c:hash_bytes32 Unexecuted instantiation: dp-packet-gso.c:hash_bytes32 Unexecuted instantiation: dpif.c:hash_bytes32 Unexecuted instantiation: hmapx.c:hash_bytes32 Unexecuted instantiation: id-pool.c:hash_bytes32 Unexecuted instantiation: learn.c:hash_bytes32 Unexecuted instantiation: multipath.c:hash_bytes32 Unexecuted instantiation: netdev-offload.c:hash_bytes32 Unexecuted instantiation: netdev-vport.c:hash_bytes32 Unexecuted instantiation: netlink.c:hash_bytes32 Unexecuted instantiation: odp-execute.c:hash_bytes32 Unexecuted instantiation: odp-execute-private.c:hash_bytes32 Unexecuted instantiation: odp-util.c:hash_bytes32 Unexecuted instantiation: simap.c:hash_bytes32 Unexecuted instantiation: stream.c:hash_bytes32 Unexecuted instantiation: tnl-neigh-cache.c:hash_bytes32 Unexecuted instantiation: netdev-native-tnl.c:hash_bytes32 Unexecuted instantiation: stream-unix.c:hash_bytes32 Unexecuted instantiation: dpif-netlink.c:hash_bytes32 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_bytes32 Unexecuted instantiation: netlink-conntrack.c:hash_bytes32 Unexecuted instantiation: stream-ssl.c:hash_bytes32 Unexecuted instantiation: conntrack.c:hash_bytes32 Unexecuted instantiation: ct-dpif.c:hash_bytes32 Unexecuted instantiation: dpctl.c:hash_bytes32 Unexecuted instantiation: dpif-netdev.c:hash_bytes32 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_bytes32 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_bytes32 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_bytes32 Unexecuted instantiation: ipf.c:hash_bytes32 Unexecuted instantiation: lockfile.c:hash_bytes32 Unexecuted instantiation: ovs-numa.c:hash_bytes32 Unexecuted instantiation: stream-tcp.c:hash_bytes32 Unexecuted instantiation: dpdk-stub.c:hash_bytes32 Unexecuted instantiation: vswitch-idl.c:hash_bytes32 Unexecuted instantiation: conntrack-icmp.c:hash_bytes32 Unexecuted instantiation: conntrack-tcp.c:hash_bytes32 Unexecuted instantiation: conntrack-tp.c:hash_bytes32 Unexecuted instantiation: conntrack-other.c:hash_bytes32 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_bytes32 Unexecuted instantiation: dpif-netdev-lookup.c:hash_bytes32 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_bytes32 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_bytes32 Unexecuted instantiation: ovsdb-data.c:hash_bytes32 Unexecuted instantiation: ovsdb-idl.c:hash_bytes32 Unexecuted instantiation: ovsdb-map-op.c:hash_bytes32 Unexecuted instantiation: ovsdb-cs.c:hash_bytes32 |
395 | | |
396 | | static inline uint32_t |
397 | | hash_bytes64(const uint64_t *p, size_t n_bytes, uint32_t basis) |
398 | 0 | { |
399 | 0 | return hash_words64(p, n_bytes / 8, basis); |
400 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_bytes64 Unexecuted instantiation: ofp-print.c:hash_bytes64 Unexecuted instantiation: ofp-queue.c:hash_bytes64 Unexecuted instantiation: ofp-table.c:hash_bytes64 Unexecuted instantiation: ofp-util.c:hash_bytes64 Unexecuted instantiation: coverage.c:hash_bytes64 Unexecuted instantiation: dp-packet.c:hash_bytes64 Unexecuted instantiation: flow.c:hash_bytes64 Unexecuted instantiation: hash.c:hash_bytes64 Unexecuted instantiation: json.c:hash_bytes64 Unexecuted instantiation: match.c:hash_bytes64 Unexecuted instantiation: meta-flow.c:hash_bytes64 Unexecuted instantiation: namemap.c:hash_bytes64 Unexecuted instantiation: netdev.c:hash_bytes64 Unexecuted instantiation: nx-match.c:hash_bytes64 Unexecuted instantiation: ofp-actions.c:hash_bytes64 Unexecuted instantiation: ofp-ct.c:hash_bytes64 Unexecuted instantiation: ofp-ed-props.c:hash_bytes64 Unexecuted instantiation: ofp-flow.c:hash_bytes64 Unexecuted instantiation: ofp-group.c:hash_bytes64 Unexecuted instantiation: ofp-match.c:hash_bytes64 Unexecuted instantiation: ofp-meter.c:hash_bytes64 Unexecuted instantiation: ofp-monitor.c:hash_bytes64 Unexecuted instantiation: ofp-msgs.c:hash_bytes64 Unexecuted instantiation: ofp-packet.c:hash_bytes64 Unexecuted instantiation: ofp-parse.c:hash_bytes64 Unexecuted instantiation: ofp-port.c:hash_bytes64 Unexecuted instantiation: ovs-router.c:hash_bytes64 Unexecuted instantiation: ovs-thread.c:hash_bytes64 Unexecuted instantiation: packets.c:hash_bytes64 Unexecuted instantiation: poll-loop.c:hash_bytes64 Unexecuted instantiation: random.c:hash_bytes64 Unexecuted instantiation: seq.c:hash_bytes64 Unexecuted instantiation: shash.c:hash_bytes64 Unexecuted instantiation: smap.c:hash_bytes64 Unexecuted instantiation: socket-util.c:hash_bytes64 Unexecuted instantiation: sset.c:hash_bytes64 Unexecuted instantiation: timeval.c:hash_bytes64 Unexecuted instantiation: tnl-ports.c:hash_bytes64 Unexecuted instantiation: tun-metadata.c:hash_bytes64 Unexecuted instantiation: userspace-tso.c:hash_bytes64 Unexecuted instantiation: netdev-linux.c:hash_bytes64 Unexecuted instantiation: netdev-offload-tc.c:hash_bytes64 Unexecuted instantiation: netlink-socket.c:hash_bytes64 Unexecuted instantiation: rtnetlink.c:hash_bytes64 Unexecuted instantiation: route-table.c:hash_bytes64 Unexecuted instantiation: tc.c:hash_bytes64 Unexecuted instantiation: bundle.c:hash_bytes64 Unexecuted instantiation: classifier.c:hash_bytes64 Unexecuted instantiation: ccmap.c:hash_bytes64 Unexecuted instantiation: cmap.c:hash_bytes64 Unexecuted instantiation: cooperative-multitasking.c:hash_bytes64 Unexecuted instantiation: dp-packet-gso.c:hash_bytes64 Unexecuted instantiation: dpif.c:hash_bytes64 Unexecuted instantiation: hmapx.c:hash_bytes64 Unexecuted instantiation: id-pool.c:hash_bytes64 Unexecuted instantiation: learn.c:hash_bytes64 Unexecuted instantiation: multipath.c:hash_bytes64 Unexecuted instantiation: netdev-offload.c:hash_bytes64 Unexecuted instantiation: netdev-vport.c:hash_bytes64 Unexecuted instantiation: netlink.c:hash_bytes64 Unexecuted instantiation: odp-execute.c:hash_bytes64 Unexecuted instantiation: odp-execute-private.c:hash_bytes64 Unexecuted instantiation: odp-util.c:hash_bytes64 Unexecuted instantiation: simap.c:hash_bytes64 Unexecuted instantiation: stream.c:hash_bytes64 Unexecuted instantiation: tnl-neigh-cache.c:hash_bytes64 Unexecuted instantiation: netdev-native-tnl.c:hash_bytes64 Unexecuted instantiation: stream-unix.c:hash_bytes64 Unexecuted instantiation: dpif-netlink.c:hash_bytes64 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_bytes64 Unexecuted instantiation: netlink-conntrack.c:hash_bytes64 Unexecuted instantiation: stream-ssl.c:hash_bytes64 Unexecuted instantiation: conntrack.c:hash_bytes64 Unexecuted instantiation: ct-dpif.c:hash_bytes64 Unexecuted instantiation: dpctl.c:hash_bytes64 Unexecuted instantiation: dpif-netdev.c:hash_bytes64 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_bytes64 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_bytes64 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_bytes64 Unexecuted instantiation: ipf.c:hash_bytes64 Unexecuted instantiation: lockfile.c:hash_bytes64 Unexecuted instantiation: ovs-numa.c:hash_bytes64 Unexecuted instantiation: stream-tcp.c:hash_bytes64 Unexecuted instantiation: dpdk-stub.c:hash_bytes64 Unexecuted instantiation: vswitch-idl.c:hash_bytes64 Unexecuted instantiation: conntrack-icmp.c:hash_bytes64 Unexecuted instantiation: conntrack-tcp.c:hash_bytes64 Unexecuted instantiation: conntrack-tp.c:hash_bytes64 Unexecuted instantiation: conntrack-other.c:hash_bytes64 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_bytes64 Unexecuted instantiation: dpif-netdev-lookup.c:hash_bytes64 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_bytes64 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_bytes64 Unexecuted instantiation: ovsdb-data.c:hash_bytes64 Unexecuted instantiation: ovsdb-idl.c:hash_bytes64 Unexecuted instantiation: ovsdb-map-op.c:hash_bytes64 Unexecuted instantiation: ovsdb-cs.c:hash_bytes64 |
401 | | |
402 | | static inline uint32_t hash_string(const char *s, uint32_t basis) |
403 | 209 | { |
404 | 209 | return hash_bytes(s, strlen(s), basis); |
405 | 209 | } Unexecuted instantiation: ofp_print_target.c:hash_string Unexecuted instantiation: ofp-print.c:hash_string Unexecuted instantiation: ofp-queue.c:hash_string Unexecuted instantiation: ofp-table.c:hash_string Unexecuted instantiation: ofp-util.c:hash_string Unexecuted instantiation: coverage.c:hash_string Unexecuted instantiation: dp-packet.c:hash_string Unexecuted instantiation: flow.c:hash_string Unexecuted instantiation: hash.c:hash_string Unexecuted instantiation: json.c:hash_string Unexecuted instantiation: match.c:hash_string Unexecuted instantiation: meta-flow.c:hash_string Unexecuted instantiation: namemap.c:hash_string Unexecuted instantiation: netdev.c:hash_string Line | Count | Source | 403 | 209 | { | 404 | 209 | return hash_bytes(s, strlen(s), basis); | 405 | 209 | } |
Unexecuted instantiation: ofp-actions.c:hash_string Unexecuted instantiation: ofp-ct.c:hash_string Unexecuted instantiation: ofp-ed-props.c:hash_string Unexecuted instantiation: ofp-flow.c:hash_string Unexecuted instantiation: ofp-group.c:hash_string Unexecuted instantiation: ofp-match.c:hash_string Unexecuted instantiation: ofp-meter.c:hash_string Unexecuted instantiation: ofp-monitor.c:hash_string Unexecuted instantiation: ofp-msgs.c:hash_string Unexecuted instantiation: ofp-packet.c:hash_string Unexecuted instantiation: ofp-parse.c:hash_string Unexecuted instantiation: ofp-port.c:hash_string Unexecuted instantiation: ovs-router.c:hash_string Unexecuted instantiation: ovs-thread.c:hash_string Unexecuted instantiation: packets.c:hash_string Unexecuted instantiation: poll-loop.c:hash_string Unexecuted instantiation: random.c:hash_string Unexecuted instantiation: seq.c:hash_string Unexecuted instantiation: shash.c:hash_string Unexecuted instantiation: smap.c:hash_string Unexecuted instantiation: socket-util.c:hash_string Unexecuted instantiation: sset.c:hash_string Unexecuted instantiation: timeval.c:hash_string Unexecuted instantiation: tnl-ports.c:hash_string Unexecuted instantiation: tun-metadata.c:hash_string Unexecuted instantiation: userspace-tso.c:hash_string Unexecuted instantiation: netdev-linux.c:hash_string Unexecuted instantiation: netdev-offload-tc.c:hash_string Unexecuted instantiation: netlink-socket.c:hash_string Unexecuted instantiation: rtnetlink.c:hash_string Unexecuted instantiation: route-table.c:hash_string Unexecuted instantiation: tc.c:hash_string Unexecuted instantiation: bundle.c:hash_string Unexecuted instantiation: classifier.c:hash_string Unexecuted instantiation: ccmap.c:hash_string Unexecuted instantiation: cmap.c:hash_string Unexecuted instantiation: cooperative-multitasking.c:hash_string Unexecuted instantiation: dp-packet-gso.c:hash_string Unexecuted instantiation: dpif.c:hash_string Unexecuted instantiation: hmapx.c:hash_string Unexecuted instantiation: id-pool.c:hash_string Unexecuted instantiation: learn.c:hash_string Unexecuted instantiation: multipath.c:hash_string Unexecuted instantiation: netdev-offload.c:hash_string Unexecuted instantiation: netdev-vport.c:hash_string Unexecuted instantiation: netlink.c:hash_string Unexecuted instantiation: odp-execute.c:hash_string Unexecuted instantiation: odp-execute-private.c:hash_string Unexecuted instantiation: odp-util.c:hash_string Unexecuted instantiation: simap.c:hash_string Unexecuted instantiation: stream.c:hash_string Unexecuted instantiation: tnl-neigh-cache.c:hash_string Unexecuted instantiation: netdev-native-tnl.c:hash_string Unexecuted instantiation: stream-unix.c:hash_string Unexecuted instantiation: dpif-netlink.c:hash_string Unexecuted instantiation: dpif-netlink-rtnl.c:hash_string Unexecuted instantiation: netlink-conntrack.c:hash_string Unexecuted instantiation: stream-ssl.c:hash_string Unexecuted instantiation: conntrack.c:hash_string Unexecuted instantiation: ct-dpif.c:hash_string Unexecuted instantiation: dpctl.c:hash_string Unexecuted instantiation: dpif-netdev.c:hash_string Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_string Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_string Unexecuted instantiation: dpif-netdev-private-extract.c:hash_string Unexecuted instantiation: ipf.c:hash_string Unexecuted instantiation: lockfile.c:hash_string Unexecuted instantiation: ovs-numa.c:hash_string Unexecuted instantiation: stream-tcp.c:hash_string Unexecuted instantiation: dpdk-stub.c:hash_string Unexecuted instantiation: vswitch-idl.c:hash_string Unexecuted instantiation: conntrack-icmp.c:hash_string Unexecuted instantiation: conntrack-tcp.c:hash_string Unexecuted instantiation: conntrack-tp.c:hash_string Unexecuted instantiation: conntrack-other.c:hash_string Unexecuted instantiation: dpif-netdev-extract-study.c:hash_string Unexecuted instantiation: dpif-netdev-lookup.c:hash_string Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_string Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_string Unexecuted instantiation: ovsdb-data.c:hash_string Unexecuted instantiation: ovsdb-idl.c:hash_string Unexecuted instantiation: ovsdb-map-op.c:hash_string Unexecuted instantiation: ovsdb-cs.c:hash_string |
406 | | |
407 | | static inline uint32_t hash_int(uint32_t x, uint32_t basis) |
408 | 0 | { |
409 | 0 | return hash_2words(x, basis); |
410 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_int Unexecuted instantiation: ofp-print.c:hash_int Unexecuted instantiation: ofp-queue.c:hash_int Unexecuted instantiation: ofp-table.c:hash_int Unexecuted instantiation: ofp-util.c:hash_int Unexecuted instantiation: coverage.c:hash_int Unexecuted instantiation: dp-packet.c:hash_int Unexecuted instantiation: flow.c:hash_int Unexecuted instantiation: hash.c:hash_int Unexecuted instantiation: json.c:hash_int Unexecuted instantiation: match.c:hash_int Unexecuted instantiation: meta-flow.c:hash_int Unexecuted instantiation: namemap.c:hash_int Unexecuted instantiation: netdev.c:hash_int Unexecuted instantiation: nx-match.c:hash_int Unexecuted instantiation: ofp-actions.c:hash_int Unexecuted instantiation: ofp-ct.c:hash_int Unexecuted instantiation: ofp-ed-props.c:hash_int Unexecuted instantiation: ofp-flow.c:hash_int Unexecuted instantiation: ofp-group.c:hash_int Unexecuted instantiation: ofp-match.c:hash_int Unexecuted instantiation: ofp-meter.c:hash_int Unexecuted instantiation: ofp-monitor.c:hash_int Unexecuted instantiation: ofp-msgs.c:hash_int Unexecuted instantiation: ofp-packet.c:hash_int Unexecuted instantiation: ofp-parse.c:hash_int Unexecuted instantiation: ofp-port.c:hash_int Unexecuted instantiation: ovs-router.c:hash_int Unexecuted instantiation: ovs-thread.c:hash_int Unexecuted instantiation: packets.c:hash_int Unexecuted instantiation: poll-loop.c:hash_int Unexecuted instantiation: random.c:hash_int Unexecuted instantiation: seq.c:hash_int Unexecuted instantiation: shash.c:hash_int Unexecuted instantiation: smap.c:hash_int Unexecuted instantiation: socket-util.c:hash_int Unexecuted instantiation: sset.c:hash_int Unexecuted instantiation: timeval.c:hash_int Unexecuted instantiation: tnl-ports.c:hash_int Unexecuted instantiation: tun-metadata.c:hash_int Unexecuted instantiation: userspace-tso.c:hash_int Unexecuted instantiation: netdev-linux.c:hash_int Unexecuted instantiation: netdev-offload-tc.c:hash_int Unexecuted instantiation: netlink-socket.c:hash_int Unexecuted instantiation: rtnetlink.c:hash_int Unexecuted instantiation: route-table.c:hash_int Unexecuted instantiation: tc.c:hash_int Unexecuted instantiation: bundle.c:hash_int Unexecuted instantiation: classifier.c:hash_int Unexecuted instantiation: ccmap.c:hash_int Unexecuted instantiation: cmap.c:hash_int Unexecuted instantiation: cooperative-multitasking.c:hash_int Unexecuted instantiation: dp-packet-gso.c:hash_int Unexecuted instantiation: dpif.c:hash_int Unexecuted instantiation: hmapx.c:hash_int Unexecuted instantiation: id-pool.c:hash_int Unexecuted instantiation: learn.c:hash_int Unexecuted instantiation: multipath.c:hash_int Unexecuted instantiation: netdev-offload.c:hash_int Unexecuted instantiation: netdev-vport.c:hash_int Unexecuted instantiation: netlink.c:hash_int Unexecuted instantiation: odp-execute.c:hash_int Unexecuted instantiation: odp-execute-private.c:hash_int Unexecuted instantiation: odp-util.c:hash_int Unexecuted instantiation: simap.c:hash_int Unexecuted instantiation: stream.c:hash_int Unexecuted instantiation: tnl-neigh-cache.c:hash_int Unexecuted instantiation: netdev-native-tnl.c:hash_int Unexecuted instantiation: stream-unix.c:hash_int Unexecuted instantiation: dpif-netlink.c:hash_int Unexecuted instantiation: dpif-netlink-rtnl.c:hash_int Unexecuted instantiation: netlink-conntrack.c:hash_int Unexecuted instantiation: stream-ssl.c:hash_int Unexecuted instantiation: conntrack.c:hash_int Unexecuted instantiation: ct-dpif.c:hash_int Unexecuted instantiation: dpctl.c:hash_int Unexecuted instantiation: dpif-netdev.c:hash_int Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_int Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_int Unexecuted instantiation: dpif-netdev-private-extract.c:hash_int Unexecuted instantiation: ipf.c:hash_int Unexecuted instantiation: lockfile.c:hash_int Unexecuted instantiation: ovs-numa.c:hash_int Unexecuted instantiation: stream-tcp.c:hash_int Unexecuted instantiation: dpdk-stub.c:hash_int Unexecuted instantiation: vswitch-idl.c:hash_int Unexecuted instantiation: conntrack-icmp.c:hash_int Unexecuted instantiation: conntrack-tcp.c:hash_int Unexecuted instantiation: conntrack-tp.c:hash_int Unexecuted instantiation: conntrack-other.c:hash_int Unexecuted instantiation: dpif-netdev-extract-study.c:hash_int Unexecuted instantiation: dpif-netdev-lookup.c:hash_int Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_int Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_int Unexecuted instantiation: ovsdb-data.c:hash_int Unexecuted instantiation: ovsdb-idl.c:hash_int Unexecuted instantiation: ovsdb-map-op.c:hash_int Unexecuted instantiation: ovsdb-cs.c:hash_int |
411 | | |
412 | | /* An attempt at a useful 1-bit hash function. Has not been analyzed for |
413 | | * quality. */ |
414 | | static inline uint32_t hash_boolean(bool x, uint32_t basis) |
415 | 0 | { |
416 | 0 | const uint32_t P0 = 0xc2b73583; /* This is hash_int(1, 0). */ |
417 | 0 | const uint32_t P1 = 0xe90f1258; /* This is hash_int(2, 0). */ |
418 | 0 | return (x ? P0 : P1) ^ hash_rot(basis, 1); |
419 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_boolean Unexecuted instantiation: ofp-print.c:hash_boolean Unexecuted instantiation: ofp-queue.c:hash_boolean Unexecuted instantiation: ofp-table.c:hash_boolean Unexecuted instantiation: ofp-util.c:hash_boolean Unexecuted instantiation: coverage.c:hash_boolean Unexecuted instantiation: dp-packet.c:hash_boolean Unexecuted instantiation: flow.c:hash_boolean Unexecuted instantiation: hash.c:hash_boolean Unexecuted instantiation: json.c:hash_boolean Unexecuted instantiation: match.c:hash_boolean Unexecuted instantiation: meta-flow.c:hash_boolean Unexecuted instantiation: namemap.c:hash_boolean Unexecuted instantiation: netdev.c:hash_boolean Unexecuted instantiation: nx-match.c:hash_boolean Unexecuted instantiation: ofp-actions.c:hash_boolean Unexecuted instantiation: ofp-ct.c:hash_boolean Unexecuted instantiation: ofp-ed-props.c:hash_boolean Unexecuted instantiation: ofp-flow.c:hash_boolean Unexecuted instantiation: ofp-group.c:hash_boolean Unexecuted instantiation: ofp-match.c:hash_boolean Unexecuted instantiation: ofp-meter.c:hash_boolean Unexecuted instantiation: ofp-monitor.c:hash_boolean Unexecuted instantiation: ofp-msgs.c:hash_boolean Unexecuted instantiation: ofp-packet.c:hash_boolean Unexecuted instantiation: ofp-parse.c:hash_boolean Unexecuted instantiation: ofp-port.c:hash_boolean Unexecuted instantiation: ovs-router.c:hash_boolean Unexecuted instantiation: ovs-thread.c:hash_boolean Unexecuted instantiation: packets.c:hash_boolean Unexecuted instantiation: poll-loop.c:hash_boolean Unexecuted instantiation: random.c:hash_boolean Unexecuted instantiation: seq.c:hash_boolean Unexecuted instantiation: shash.c:hash_boolean Unexecuted instantiation: smap.c:hash_boolean Unexecuted instantiation: socket-util.c:hash_boolean Unexecuted instantiation: sset.c:hash_boolean Unexecuted instantiation: timeval.c:hash_boolean Unexecuted instantiation: tnl-ports.c:hash_boolean Unexecuted instantiation: tun-metadata.c:hash_boolean Unexecuted instantiation: userspace-tso.c:hash_boolean Unexecuted instantiation: netdev-linux.c:hash_boolean Unexecuted instantiation: netdev-offload-tc.c:hash_boolean Unexecuted instantiation: netlink-socket.c:hash_boolean Unexecuted instantiation: rtnetlink.c:hash_boolean Unexecuted instantiation: route-table.c:hash_boolean Unexecuted instantiation: tc.c:hash_boolean Unexecuted instantiation: bundle.c:hash_boolean Unexecuted instantiation: classifier.c:hash_boolean Unexecuted instantiation: ccmap.c:hash_boolean Unexecuted instantiation: cmap.c:hash_boolean Unexecuted instantiation: cooperative-multitasking.c:hash_boolean Unexecuted instantiation: dp-packet-gso.c:hash_boolean Unexecuted instantiation: dpif.c:hash_boolean Unexecuted instantiation: hmapx.c:hash_boolean Unexecuted instantiation: id-pool.c:hash_boolean Unexecuted instantiation: learn.c:hash_boolean Unexecuted instantiation: multipath.c:hash_boolean Unexecuted instantiation: netdev-offload.c:hash_boolean Unexecuted instantiation: netdev-vport.c:hash_boolean Unexecuted instantiation: netlink.c:hash_boolean Unexecuted instantiation: odp-execute.c:hash_boolean Unexecuted instantiation: odp-execute-private.c:hash_boolean Unexecuted instantiation: odp-util.c:hash_boolean Unexecuted instantiation: simap.c:hash_boolean Unexecuted instantiation: stream.c:hash_boolean Unexecuted instantiation: tnl-neigh-cache.c:hash_boolean Unexecuted instantiation: netdev-native-tnl.c:hash_boolean Unexecuted instantiation: stream-unix.c:hash_boolean Unexecuted instantiation: dpif-netlink.c:hash_boolean Unexecuted instantiation: dpif-netlink-rtnl.c:hash_boolean Unexecuted instantiation: netlink-conntrack.c:hash_boolean Unexecuted instantiation: stream-ssl.c:hash_boolean Unexecuted instantiation: conntrack.c:hash_boolean Unexecuted instantiation: ct-dpif.c:hash_boolean Unexecuted instantiation: dpctl.c:hash_boolean Unexecuted instantiation: dpif-netdev.c:hash_boolean Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_boolean Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_boolean Unexecuted instantiation: dpif-netdev-private-extract.c:hash_boolean Unexecuted instantiation: ipf.c:hash_boolean Unexecuted instantiation: lockfile.c:hash_boolean Unexecuted instantiation: ovs-numa.c:hash_boolean Unexecuted instantiation: stream-tcp.c:hash_boolean Unexecuted instantiation: dpdk-stub.c:hash_boolean Unexecuted instantiation: vswitch-idl.c:hash_boolean Unexecuted instantiation: conntrack-icmp.c:hash_boolean Unexecuted instantiation: conntrack-tcp.c:hash_boolean Unexecuted instantiation: conntrack-tp.c:hash_boolean Unexecuted instantiation: conntrack-other.c:hash_boolean Unexecuted instantiation: dpif-netdev-extract-study.c:hash_boolean Unexecuted instantiation: dpif-netdev-lookup.c:hash_boolean Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_boolean Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_boolean Unexecuted instantiation: ovsdb-data.c:hash_boolean Unexecuted instantiation: ovsdb-idl.c:hash_boolean Unexecuted instantiation: ovsdb-map-op.c:hash_boolean Unexecuted instantiation: ovsdb-cs.c:hash_boolean |
420 | | |
421 | | /* Helper functions for calling hash_add() for several 32- or 64-bit words in a |
422 | | * buffer. These are not hash functions by themselves, since they need |
423 | | * hash_finish() to be called, so if you are looking for a full hash function |
424 | | * see hash_words(), etc. */ |
425 | | |
426 | | static inline uint32_t |
427 | | hash_add_words(uint32_t hash, const uint32_t *p, size_t n_words) |
428 | 3.99M | { |
429 | 15.9M | for (size_t i = 0; i < n_words; i++) { |
430 | 11.9M | hash = hash_add(hash, p[i]); |
431 | 11.9M | } |
432 | 3.99M | return hash; |
433 | 3.99M | } Unexecuted instantiation: ofp_print_target.c:hash_add_words Unexecuted instantiation: ofp-print.c:hash_add_words Unexecuted instantiation: ofp-queue.c:hash_add_words Unexecuted instantiation: ofp-table.c:hash_add_words Unexecuted instantiation: ofp-util.c:hash_add_words Unexecuted instantiation: coverage.c:hash_add_words Unexecuted instantiation: dp-packet.c:hash_add_words Unexecuted instantiation: flow.c:hash_add_words Unexecuted instantiation: hash.c:hash_add_words Unexecuted instantiation: json.c:hash_add_words Unexecuted instantiation: match.c:hash_add_words Unexecuted instantiation: meta-flow.c:hash_add_words Unexecuted instantiation: namemap.c:hash_add_words Unexecuted instantiation: netdev.c:hash_add_words Unexecuted instantiation: nx-match.c:hash_add_words Unexecuted instantiation: ofp-actions.c:hash_add_words Unexecuted instantiation: ofp-ct.c:hash_add_words Unexecuted instantiation: ofp-ed-props.c:hash_add_words Unexecuted instantiation: ofp-flow.c:hash_add_words Unexecuted instantiation: ofp-group.c:hash_add_words Unexecuted instantiation: ofp-match.c:hash_add_words Unexecuted instantiation: ofp-meter.c:hash_add_words Unexecuted instantiation: ofp-monitor.c:hash_add_words ofp-msgs.c:hash_add_words Line | Count | Source | 428 | 3.99M | { | 429 | 15.9M | for (size_t i = 0; i < n_words; i++) { | 430 | 11.9M | hash = hash_add(hash, p[i]); | 431 | 11.9M | } | 432 | 3.99M | return hash; | 433 | 3.99M | } |
Unexecuted instantiation: ofp-packet.c:hash_add_words Unexecuted instantiation: ofp-parse.c:hash_add_words Unexecuted instantiation: ofp-port.c:hash_add_words Unexecuted instantiation: ovs-router.c:hash_add_words Unexecuted instantiation: ovs-thread.c:hash_add_words Unexecuted instantiation: packets.c:hash_add_words Unexecuted instantiation: poll-loop.c:hash_add_words Unexecuted instantiation: random.c:hash_add_words Unexecuted instantiation: seq.c:hash_add_words Unexecuted instantiation: shash.c:hash_add_words Unexecuted instantiation: smap.c:hash_add_words Unexecuted instantiation: socket-util.c:hash_add_words Unexecuted instantiation: sset.c:hash_add_words Unexecuted instantiation: timeval.c:hash_add_words Unexecuted instantiation: tnl-ports.c:hash_add_words Unexecuted instantiation: tun-metadata.c:hash_add_words Unexecuted instantiation: userspace-tso.c:hash_add_words Unexecuted instantiation: netdev-linux.c:hash_add_words Unexecuted instantiation: netdev-offload-tc.c:hash_add_words Unexecuted instantiation: netlink-socket.c:hash_add_words Unexecuted instantiation: rtnetlink.c:hash_add_words Unexecuted instantiation: route-table.c:hash_add_words Unexecuted instantiation: tc.c:hash_add_words Unexecuted instantiation: bundle.c:hash_add_words Unexecuted instantiation: classifier.c:hash_add_words Unexecuted instantiation: ccmap.c:hash_add_words Unexecuted instantiation: cmap.c:hash_add_words Unexecuted instantiation: cooperative-multitasking.c:hash_add_words Unexecuted instantiation: dp-packet-gso.c:hash_add_words Unexecuted instantiation: dpif.c:hash_add_words Unexecuted instantiation: hmapx.c:hash_add_words Unexecuted instantiation: id-pool.c:hash_add_words Unexecuted instantiation: learn.c:hash_add_words Unexecuted instantiation: multipath.c:hash_add_words Unexecuted instantiation: netdev-offload.c:hash_add_words Unexecuted instantiation: netdev-vport.c:hash_add_words Unexecuted instantiation: netlink.c:hash_add_words Unexecuted instantiation: odp-execute.c:hash_add_words Unexecuted instantiation: odp-execute-private.c:hash_add_words Unexecuted instantiation: odp-util.c:hash_add_words Unexecuted instantiation: simap.c:hash_add_words Unexecuted instantiation: stream.c:hash_add_words Unexecuted instantiation: tnl-neigh-cache.c:hash_add_words Unexecuted instantiation: netdev-native-tnl.c:hash_add_words Unexecuted instantiation: stream-unix.c:hash_add_words Unexecuted instantiation: dpif-netlink.c:hash_add_words Unexecuted instantiation: dpif-netlink-rtnl.c:hash_add_words Unexecuted instantiation: netlink-conntrack.c:hash_add_words Unexecuted instantiation: stream-ssl.c:hash_add_words Unexecuted instantiation: conntrack.c:hash_add_words Unexecuted instantiation: ct-dpif.c:hash_add_words Unexecuted instantiation: dpctl.c:hash_add_words Unexecuted instantiation: dpif-netdev.c:hash_add_words Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_add_words Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_add_words Unexecuted instantiation: dpif-netdev-private-extract.c:hash_add_words Unexecuted instantiation: ipf.c:hash_add_words Unexecuted instantiation: lockfile.c:hash_add_words Unexecuted instantiation: ovs-numa.c:hash_add_words Unexecuted instantiation: stream-tcp.c:hash_add_words Unexecuted instantiation: dpdk-stub.c:hash_add_words Unexecuted instantiation: vswitch-idl.c:hash_add_words Unexecuted instantiation: conntrack-icmp.c:hash_add_words Unexecuted instantiation: conntrack-tcp.c:hash_add_words Unexecuted instantiation: conntrack-tp.c:hash_add_words Unexecuted instantiation: conntrack-other.c:hash_add_words Unexecuted instantiation: dpif-netdev-extract-study.c:hash_add_words Unexecuted instantiation: dpif-netdev-lookup.c:hash_add_words Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_add_words Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_add_words Unexecuted instantiation: ovsdb-data.c:hash_add_words Unexecuted instantiation: ovsdb-idl.c:hash_add_words Unexecuted instantiation: ovsdb-map-op.c:hash_add_words Unexecuted instantiation: ovsdb-cs.c:hash_add_words |
434 | | |
435 | | static inline uint32_t |
436 | | hash_add_words64(uint32_t hash, const uint64_t *p, size_t n_words) |
437 | 0 | { |
438 | 0 | for (size_t i = 0; i < n_words; i++) { |
439 | 0 | hash = hash_add64(hash, p[i]); |
440 | 0 | } |
441 | 0 | return hash; |
442 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_add_words64 Unexecuted instantiation: ofp-print.c:hash_add_words64 Unexecuted instantiation: ofp-queue.c:hash_add_words64 Unexecuted instantiation: ofp-table.c:hash_add_words64 Unexecuted instantiation: ofp-util.c:hash_add_words64 Unexecuted instantiation: coverage.c:hash_add_words64 Unexecuted instantiation: dp-packet.c:hash_add_words64 Unexecuted instantiation: flow.c:hash_add_words64 Unexecuted instantiation: hash.c:hash_add_words64 Unexecuted instantiation: json.c:hash_add_words64 Unexecuted instantiation: match.c:hash_add_words64 Unexecuted instantiation: meta-flow.c:hash_add_words64 Unexecuted instantiation: namemap.c:hash_add_words64 Unexecuted instantiation: netdev.c:hash_add_words64 Unexecuted instantiation: nx-match.c:hash_add_words64 Unexecuted instantiation: ofp-actions.c:hash_add_words64 Unexecuted instantiation: ofp-ct.c:hash_add_words64 Unexecuted instantiation: ofp-ed-props.c:hash_add_words64 Unexecuted instantiation: ofp-flow.c:hash_add_words64 Unexecuted instantiation: ofp-group.c:hash_add_words64 Unexecuted instantiation: ofp-match.c:hash_add_words64 Unexecuted instantiation: ofp-meter.c:hash_add_words64 Unexecuted instantiation: ofp-monitor.c:hash_add_words64 Unexecuted instantiation: ofp-msgs.c:hash_add_words64 Unexecuted instantiation: ofp-packet.c:hash_add_words64 Unexecuted instantiation: ofp-parse.c:hash_add_words64 Unexecuted instantiation: ofp-port.c:hash_add_words64 Unexecuted instantiation: ovs-router.c:hash_add_words64 Unexecuted instantiation: ovs-thread.c:hash_add_words64 Unexecuted instantiation: packets.c:hash_add_words64 Unexecuted instantiation: poll-loop.c:hash_add_words64 Unexecuted instantiation: random.c:hash_add_words64 Unexecuted instantiation: seq.c:hash_add_words64 Unexecuted instantiation: shash.c:hash_add_words64 Unexecuted instantiation: smap.c:hash_add_words64 Unexecuted instantiation: socket-util.c:hash_add_words64 Unexecuted instantiation: sset.c:hash_add_words64 Unexecuted instantiation: timeval.c:hash_add_words64 Unexecuted instantiation: tnl-ports.c:hash_add_words64 Unexecuted instantiation: tun-metadata.c:hash_add_words64 Unexecuted instantiation: userspace-tso.c:hash_add_words64 Unexecuted instantiation: netdev-linux.c:hash_add_words64 Unexecuted instantiation: netdev-offload-tc.c:hash_add_words64 Unexecuted instantiation: netlink-socket.c:hash_add_words64 Unexecuted instantiation: rtnetlink.c:hash_add_words64 Unexecuted instantiation: route-table.c:hash_add_words64 Unexecuted instantiation: tc.c:hash_add_words64 Unexecuted instantiation: bundle.c:hash_add_words64 Unexecuted instantiation: classifier.c:hash_add_words64 Unexecuted instantiation: ccmap.c:hash_add_words64 Unexecuted instantiation: cmap.c:hash_add_words64 Unexecuted instantiation: cooperative-multitasking.c:hash_add_words64 Unexecuted instantiation: dp-packet-gso.c:hash_add_words64 Unexecuted instantiation: dpif.c:hash_add_words64 Unexecuted instantiation: hmapx.c:hash_add_words64 Unexecuted instantiation: id-pool.c:hash_add_words64 Unexecuted instantiation: learn.c:hash_add_words64 Unexecuted instantiation: multipath.c:hash_add_words64 Unexecuted instantiation: netdev-offload.c:hash_add_words64 Unexecuted instantiation: netdev-vport.c:hash_add_words64 Unexecuted instantiation: netlink.c:hash_add_words64 Unexecuted instantiation: odp-execute.c:hash_add_words64 Unexecuted instantiation: odp-execute-private.c:hash_add_words64 Unexecuted instantiation: odp-util.c:hash_add_words64 Unexecuted instantiation: simap.c:hash_add_words64 Unexecuted instantiation: stream.c:hash_add_words64 Unexecuted instantiation: tnl-neigh-cache.c:hash_add_words64 Unexecuted instantiation: netdev-native-tnl.c:hash_add_words64 Unexecuted instantiation: stream-unix.c:hash_add_words64 Unexecuted instantiation: dpif-netlink.c:hash_add_words64 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_add_words64 Unexecuted instantiation: netlink-conntrack.c:hash_add_words64 Unexecuted instantiation: stream-ssl.c:hash_add_words64 Unexecuted instantiation: conntrack.c:hash_add_words64 Unexecuted instantiation: ct-dpif.c:hash_add_words64 Unexecuted instantiation: dpctl.c:hash_add_words64 Unexecuted instantiation: dpif-netdev.c:hash_add_words64 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_add_words64 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_add_words64 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_add_words64 Unexecuted instantiation: ipf.c:hash_add_words64 Unexecuted instantiation: lockfile.c:hash_add_words64 Unexecuted instantiation: ovs-numa.c:hash_add_words64 Unexecuted instantiation: stream-tcp.c:hash_add_words64 Unexecuted instantiation: dpdk-stub.c:hash_add_words64 Unexecuted instantiation: vswitch-idl.c:hash_add_words64 Unexecuted instantiation: conntrack-icmp.c:hash_add_words64 Unexecuted instantiation: conntrack-tcp.c:hash_add_words64 Unexecuted instantiation: conntrack-tp.c:hash_add_words64 Unexecuted instantiation: conntrack-other.c:hash_add_words64 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_add_words64 Unexecuted instantiation: dpif-netdev-lookup.c:hash_add_words64 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_add_words64 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_add_words64 Unexecuted instantiation: ovsdb-data.c:hash_add_words64 Unexecuted instantiation: ovsdb-idl.c:hash_add_words64 Unexecuted instantiation: ovsdb-map-op.c:hash_add_words64 Unexecuted instantiation: ovsdb-cs.c:hash_add_words64 |
443 | | |
444 | | static inline uint32_t |
445 | | hash_add_bytes32(uint32_t hash, const uint32_t *p, size_t n_bytes) |
446 | 0 | { |
447 | 0 | return hash_add_words(hash, p, n_bytes / 4); |
448 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_add_bytes32 Unexecuted instantiation: ofp-print.c:hash_add_bytes32 Unexecuted instantiation: ofp-queue.c:hash_add_bytes32 Unexecuted instantiation: ofp-table.c:hash_add_bytes32 Unexecuted instantiation: ofp-util.c:hash_add_bytes32 Unexecuted instantiation: coverage.c:hash_add_bytes32 Unexecuted instantiation: dp-packet.c:hash_add_bytes32 Unexecuted instantiation: flow.c:hash_add_bytes32 Unexecuted instantiation: hash.c:hash_add_bytes32 Unexecuted instantiation: json.c:hash_add_bytes32 Unexecuted instantiation: match.c:hash_add_bytes32 Unexecuted instantiation: meta-flow.c:hash_add_bytes32 Unexecuted instantiation: namemap.c:hash_add_bytes32 Unexecuted instantiation: netdev.c:hash_add_bytes32 Unexecuted instantiation: nx-match.c:hash_add_bytes32 Unexecuted instantiation: ofp-actions.c:hash_add_bytes32 Unexecuted instantiation: ofp-ct.c:hash_add_bytes32 Unexecuted instantiation: ofp-ed-props.c:hash_add_bytes32 Unexecuted instantiation: ofp-flow.c:hash_add_bytes32 Unexecuted instantiation: ofp-group.c:hash_add_bytes32 Unexecuted instantiation: ofp-match.c:hash_add_bytes32 Unexecuted instantiation: ofp-meter.c:hash_add_bytes32 Unexecuted instantiation: ofp-monitor.c:hash_add_bytes32 Unexecuted instantiation: ofp-msgs.c:hash_add_bytes32 Unexecuted instantiation: ofp-packet.c:hash_add_bytes32 Unexecuted instantiation: ofp-parse.c:hash_add_bytes32 Unexecuted instantiation: ofp-port.c:hash_add_bytes32 Unexecuted instantiation: ovs-router.c:hash_add_bytes32 Unexecuted instantiation: ovs-thread.c:hash_add_bytes32 Unexecuted instantiation: packets.c:hash_add_bytes32 Unexecuted instantiation: poll-loop.c:hash_add_bytes32 Unexecuted instantiation: random.c:hash_add_bytes32 Unexecuted instantiation: seq.c:hash_add_bytes32 Unexecuted instantiation: shash.c:hash_add_bytes32 Unexecuted instantiation: smap.c:hash_add_bytes32 Unexecuted instantiation: socket-util.c:hash_add_bytes32 Unexecuted instantiation: sset.c:hash_add_bytes32 Unexecuted instantiation: timeval.c:hash_add_bytes32 Unexecuted instantiation: tnl-ports.c:hash_add_bytes32 Unexecuted instantiation: tun-metadata.c:hash_add_bytes32 Unexecuted instantiation: userspace-tso.c:hash_add_bytes32 Unexecuted instantiation: netdev-linux.c:hash_add_bytes32 Unexecuted instantiation: netdev-offload-tc.c:hash_add_bytes32 Unexecuted instantiation: netlink-socket.c:hash_add_bytes32 Unexecuted instantiation: rtnetlink.c:hash_add_bytes32 Unexecuted instantiation: route-table.c:hash_add_bytes32 Unexecuted instantiation: tc.c:hash_add_bytes32 Unexecuted instantiation: bundle.c:hash_add_bytes32 Unexecuted instantiation: classifier.c:hash_add_bytes32 Unexecuted instantiation: ccmap.c:hash_add_bytes32 Unexecuted instantiation: cmap.c:hash_add_bytes32 Unexecuted instantiation: cooperative-multitasking.c:hash_add_bytes32 Unexecuted instantiation: dp-packet-gso.c:hash_add_bytes32 Unexecuted instantiation: dpif.c:hash_add_bytes32 Unexecuted instantiation: hmapx.c:hash_add_bytes32 Unexecuted instantiation: id-pool.c:hash_add_bytes32 Unexecuted instantiation: learn.c:hash_add_bytes32 Unexecuted instantiation: multipath.c:hash_add_bytes32 Unexecuted instantiation: netdev-offload.c:hash_add_bytes32 Unexecuted instantiation: netdev-vport.c:hash_add_bytes32 Unexecuted instantiation: netlink.c:hash_add_bytes32 Unexecuted instantiation: odp-execute.c:hash_add_bytes32 Unexecuted instantiation: odp-execute-private.c:hash_add_bytes32 Unexecuted instantiation: odp-util.c:hash_add_bytes32 Unexecuted instantiation: simap.c:hash_add_bytes32 Unexecuted instantiation: stream.c:hash_add_bytes32 Unexecuted instantiation: tnl-neigh-cache.c:hash_add_bytes32 Unexecuted instantiation: netdev-native-tnl.c:hash_add_bytes32 Unexecuted instantiation: stream-unix.c:hash_add_bytes32 Unexecuted instantiation: dpif-netlink.c:hash_add_bytes32 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_add_bytes32 Unexecuted instantiation: netlink-conntrack.c:hash_add_bytes32 Unexecuted instantiation: stream-ssl.c:hash_add_bytes32 Unexecuted instantiation: conntrack.c:hash_add_bytes32 Unexecuted instantiation: ct-dpif.c:hash_add_bytes32 Unexecuted instantiation: dpctl.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_add_bytes32 Unexecuted instantiation: ipf.c:hash_add_bytes32 Unexecuted instantiation: lockfile.c:hash_add_bytes32 Unexecuted instantiation: ovs-numa.c:hash_add_bytes32 Unexecuted instantiation: stream-tcp.c:hash_add_bytes32 Unexecuted instantiation: dpdk-stub.c:hash_add_bytes32 Unexecuted instantiation: vswitch-idl.c:hash_add_bytes32 Unexecuted instantiation: conntrack-icmp.c:hash_add_bytes32 Unexecuted instantiation: conntrack-tcp.c:hash_add_bytes32 Unexecuted instantiation: conntrack-tp.c:hash_add_bytes32 Unexecuted instantiation: conntrack-other.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev-lookup.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_add_bytes32 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_add_bytes32 Unexecuted instantiation: ovsdb-data.c:hash_add_bytes32 Unexecuted instantiation: ovsdb-idl.c:hash_add_bytes32 Unexecuted instantiation: ovsdb-map-op.c:hash_add_bytes32 Unexecuted instantiation: ovsdb-cs.c:hash_add_bytes32 |
449 | | |
450 | | static inline uint32_t |
451 | | hash_add_bytes64(uint32_t hash, const uint64_t *p, size_t n_bytes) |
452 | 0 | { |
453 | 0 | return hash_add_words64(hash, p, n_bytes / 8); |
454 | 0 | } Unexecuted instantiation: ofp_print_target.c:hash_add_bytes64 Unexecuted instantiation: ofp-print.c:hash_add_bytes64 Unexecuted instantiation: ofp-queue.c:hash_add_bytes64 Unexecuted instantiation: ofp-table.c:hash_add_bytes64 Unexecuted instantiation: ofp-util.c:hash_add_bytes64 Unexecuted instantiation: coverage.c:hash_add_bytes64 Unexecuted instantiation: dp-packet.c:hash_add_bytes64 Unexecuted instantiation: flow.c:hash_add_bytes64 Unexecuted instantiation: hash.c:hash_add_bytes64 Unexecuted instantiation: json.c:hash_add_bytes64 Unexecuted instantiation: match.c:hash_add_bytes64 Unexecuted instantiation: meta-flow.c:hash_add_bytes64 Unexecuted instantiation: namemap.c:hash_add_bytes64 Unexecuted instantiation: netdev.c:hash_add_bytes64 Unexecuted instantiation: nx-match.c:hash_add_bytes64 Unexecuted instantiation: ofp-actions.c:hash_add_bytes64 Unexecuted instantiation: ofp-ct.c:hash_add_bytes64 Unexecuted instantiation: ofp-ed-props.c:hash_add_bytes64 Unexecuted instantiation: ofp-flow.c:hash_add_bytes64 Unexecuted instantiation: ofp-group.c:hash_add_bytes64 Unexecuted instantiation: ofp-match.c:hash_add_bytes64 Unexecuted instantiation: ofp-meter.c:hash_add_bytes64 Unexecuted instantiation: ofp-monitor.c:hash_add_bytes64 Unexecuted instantiation: ofp-msgs.c:hash_add_bytes64 Unexecuted instantiation: ofp-packet.c:hash_add_bytes64 Unexecuted instantiation: ofp-parse.c:hash_add_bytes64 Unexecuted instantiation: ofp-port.c:hash_add_bytes64 Unexecuted instantiation: ovs-router.c:hash_add_bytes64 Unexecuted instantiation: ovs-thread.c:hash_add_bytes64 Unexecuted instantiation: packets.c:hash_add_bytes64 Unexecuted instantiation: poll-loop.c:hash_add_bytes64 Unexecuted instantiation: random.c:hash_add_bytes64 Unexecuted instantiation: seq.c:hash_add_bytes64 Unexecuted instantiation: shash.c:hash_add_bytes64 Unexecuted instantiation: smap.c:hash_add_bytes64 Unexecuted instantiation: socket-util.c:hash_add_bytes64 Unexecuted instantiation: sset.c:hash_add_bytes64 Unexecuted instantiation: timeval.c:hash_add_bytes64 Unexecuted instantiation: tnl-ports.c:hash_add_bytes64 Unexecuted instantiation: tun-metadata.c:hash_add_bytes64 Unexecuted instantiation: userspace-tso.c:hash_add_bytes64 Unexecuted instantiation: netdev-linux.c:hash_add_bytes64 Unexecuted instantiation: netdev-offload-tc.c:hash_add_bytes64 Unexecuted instantiation: netlink-socket.c:hash_add_bytes64 Unexecuted instantiation: rtnetlink.c:hash_add_bytes64 Unexecuted instantiation: route-table.c:hash_add_bytes64 Unexecuted instantiation: tc.c:hash_add_bytes64 Unexecuted instantiation: bundle.c:hash_add_bytes64 Unexecuted instantiation: classifier.c:hash_add_bytes64 Unexecuted instantiation: ccmap.c:hash_add_bytes64 Unexecuted instantiation: cmap.c:hash_add_bytes64 Unexecuted instantiation: cooperative-multitasking.c:hash_add_bytes64 Unexecuted instantiation: dp-packet-gso.c:hash_add_bytes64 Unexecuted instantiation: dpif.c:hash_add_bytes64 Unexecuted instantiation: hmapx.c:hash_add_bytes64 Unexecuted instantiation: id-pool.c:hash_add_bytes64 Unexecuted instantiation: learn.c:hash_add_bytes64 Unexecuted instantiation: multipath.c:hash_add_bytes64 Unexecuted instantiation: netdev-offload.c:hash_add_bytes64 Unexecuted instantiation: netdev-vport.c:hash_add_bytes64 Unexecuted instantiation: netlink.c:hash_add_bytes64 Unexecuted instantiation: odp-execute.c:hash_add_bytes64 Unexecuted instantiation: odp-execute-private.c:hash_add_bytes64 Unexecuted instantiation: odp-util.c:hash_add_bytes64 Unexecuted instantiation: simap.c:hash_add_bytes64 Unexecuted instantiation: stream.c:hash_add_bytes64 Unexecuted instantiation: tnl-neigh-cache.c:hash_add_bytes64 Unexecuted instantiation: netdev-native-tnl.c:hash_add_bytes64 Unexecuted instantiation: stream-unix.c:hash_add_bytes64 Unexecuted instantiation: dpif-netlink.c:hash_add_bytes64 Unexecuted instantiation: dpif-netlink-rtnl.c:hash_add_bytes64 Unexecuted instantiation: netlink-conntrack.c:hash_add_bytes64 Unexecuted instantiation: stream-ssl.c:hash_add_bytes64 Unexecuted instantiation: conntrack.c:hash_add_bytes64 Unexecuted instantiation: ct-dpif.c:hash_add_bytes64 Unexecuted instantiation: dpctl.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev-private-dfc.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev-private-dpif.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev-private-extract.c:hash_add_bytes64 Unexecuted instantiation: ipf.c:hash_add_bytes64 Unexecuted instantiation: lockfile.c:hash_add_bytes64 Unexecuted instantiation: ovs-numa.c:hash_add_bytes64 Unexecuted instantiation: stream-tcp.c:hash_add_bytes64 Unexecuted instantiation: dpdk-stub.c:hash_add_bytes64 Unexecuted instantiation: vswitch-idl.c:hash_add_bytes64 Unexecuted instantiation: conntrack-icmp.c:hash_add_bytes64 Unexecuted instantiation: conntrack-tcp.c:hash_add_bytes64 Unexecuted instantiation: conntrack-tp.c:hash_add_bytes64 Unexecuted instantiation: conntrack-other.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev-extract-study.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev-lookup.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev-lookup-autovalidator.c:hash_add_bytes64 Unexecuted instantiation: dpif-netdev-lookup-generic.c:hash_add_bytes64 Unexecuted instantiation: ovsdb-data.c:hash_add_bytes64 Unexecuted instantiation: ovsdb-idl.c:hash_add_bytes64 Unexecuted instantiation: ovsdb-map-op.c:hash_add_bytes64 Unexecuted instantiation: ovsdb-cs.c:hash_add_bytes64 |
455 | | |
456 | | #ifdef __cplusplus |
457 | | } |
458 | | #endif |
459 | | |
460 | | #endif /* hash.h */ |