Lines Matching refs:hmask
87 unsigned int hmask) in __xfrm_dst_hash() argument
98 return (h ^ (h >> 16)) & hmask; in __xfrm_dst_hash()
104 unsigned int hmask) in __xfrm_src_hash() argument
115 return (h ^ (h >> 16)) & hmask; in __xfrm_src_hash()
120 unsigned short family, unsigned int hmask) in __xfrm_spi_hash() argument
131 return (h ^ (h >> 10) ^ (h >> 20)) & hmask; in __xfrm_spi_hash()
135 __xfrm_seq_hash(u32 seq, unsigned int hmask) in __xfrm_seq_hash() argument
138 return (h ^ (h >> 10) ^ (h >> 20)) & hmask; in __xfrm_seq_hash()
141 static inline unsigned int __idx_hash(u32 index, unsigned int hmask) in __idx_hash() argument
143 return (index ^ (index >> 8)) & hmask; in __idx_hash()
147 unsigned short family, unsigned int hmask, in __sel_hash() argument
158 return hmask + 1; in __sel_hash()
166 return hmask + 1; in __sel_hash()
172 return h & hmask; in __sel_hash()
178 unsigned int hmask, in __addr_hash() argument
193 return h & hmask; in __addr_hash()