| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | |
| 4 | |
| 5 | static inline unsigned int |
| 6 | |
| 7 | /* fnv32 hash */ |
| 8 | unsigned int hash = 2166136261U; |
| 9 | |
| 10 | for |
| 11 | hash = * 0x01000193; |
| 12 | return hash; |
| 13 | |
| 14 | |
| 15 | /* simplified version of functions from include/linux/hash.h */ |
| 16 | |
| 17 | |
| 18 | static inline unsigned int |
| 19 | |
| 20 | return 0x61C88647 * val; |
| 21 | |
| 22 | |
| 23 | static inline unsigned int |
| 24 | |
| 25 | return ; |
| 26 | |
| 27 | |
| 28 | /* HASH_H */ |