Function report | 
Source Code:include\linux\jhash.h | 
Create Date:2022-07-28 06:07:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:jhash - hash an arbitrary key*@k: sequence of bytes as key*@length: the length of the key*@initval: the previous hash, or an arbitray value* The generic version, hashes an arbitrary sequence of bytes.
Proto:static inline u32 jhash(const void *key, u32 length, u32 initval)
Type:u32
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const void * | key | |
| u32 | length | |
| u32 | initval | 
| 80 | a += __get_unaligned_cpu32(k) | 
| 81 | b += __get_unaligned_cpu32(k + 4) | 
| 82 | c += __get_unaligned_cpu32(k + 8) | 
| 84 | length -= 12 | 
| 85 | k += 12 | 
| 89 | Case length == 12 | 
| 90 | Case length == 11 | 
| 91 | Case length == 10 | 
| 92 | Case length == 9 | 
| 93 | Case length == 8 | 
| 94 | Case length == 7 | 
| 95 | Case length == 6 | 
| 96 | Case length == 5 | 
| 97 | Case length == 4 | 
| 98 | Case length == 3 | 
| 99 | Case length == 2 | 
| 100 | Case length == 1 | 
| 102 | Case length == 0 | 
| 103 | Break | 
| 106 | Return c | 
| Name | Describe | 
|---|---|
| wqattrs_hash | hash value of the content of @attr | 
| __tracing_map_insert | |
| htab_map_hash | |
| strhash | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |