* Provide a mask with count bits set, starting as position n. */
| 177 | * Provide a mask with count bits set, starting as position n. |
| 178 | */ |
| 179 | static inline u_daddr_t |
| 180 | bitrange(int n, int count) |
| 181 | { |
| 182 | |
| 183 | return (((u_daddr_t)-1 << n) & |
| 184 | ((u_daddr_t)-1 >> (BLIST_RADIX - (n + count)))); |
| 185 | } |
| 186 | |
| 187 | /* |
| 188 | * Find the first bit set in a u_daddr_t. |
no outgoing calls
no test coverage detected