* Return the position in the array for a given level. */
| 149 | * Return the position in the array for a given level. |
| 150 | */ |
| 151 | static __inline int |
| 152 | pctrie_slot(uint64_t index, uint16_t level) |
| 153 | { |
| 154 | |
| 155 | return ((index >> (level * PCTRIE_WIDTH)) & PCTRIE_MASK); |
| 156 | } |
| 157 | |
| 158 | /* Trims the key after the specified level. */ |
| 159 | static __inline uint64_t |
no outgoing calls
no test coverage detected