estimate max possible value for (v1 | v2) */
| 399 | |
| 400 | /* estimate max possible value for (v1 | v2) */ |
| 401 | static uint64_t |
| 402 | eval_uor_max(uint64_t v1, uint64_t v2, size_t opsz) |
| 403 | { |
| 404 | v1 = eval_umax_bits(v1, opsz); |
| 405 | v2 = eval_umax_bits(v2, opsz); |
| 406 | return (v1 | v2); |
| 407 | } |
| 408 | |
| 409 | static void |
| 410 | eval_and(struct bpf_reg_val *rd, const struct bpf_reg_val *rs, size_t opsz, |
no test coverage detected