Home
last modified time | relevance | path

Searched refs:BIT_SHIFT (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_jhash.h65 #define BIT_SHIFT(x, y, k) (((x) >> (k)) | ((uint64_t)(y) << (32-(k)))) macro
67 #define BIT_SHIFT(x, y, k) (((uint64_t)(x) << (k)) | ((y) >> (32-(k))))
141 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes()
142 b += BIT_SHIFT(k[1], k[2], s); in __rte_jhash_2hashes()
143 c += BIT_SHIFT(k[2], k[3], s); in __rte_jhash_2hashes()
153 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes()
154 b += BIT_SHIFT(k[1], k[2], s); in __rte_jhash_2hashes()
155 c += BIT_SHIFT(k[2], k[3], s); in __rte_jhash_2hashes()
158 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes()
159 b += BIT_SHIFT(k[1], k[2], s); in __rte_jhash_2hashes()
[all …]