Lines Matching refs:val1
317 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_plus() local
320 return val1 + val2; in hist_field_plus()
332 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_minus() local
335 return val1 - val2; in hist_field_minus()
347 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_div() local
356 return val1 >> __ffs64(val2); in hist_field_div()
358 return div64_u64(val1, val2); in hist_field_div()
370 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_power_of_two() local
372 return val1 >> __ffs64(operand2->constant); in div_by_power_of_two()
384 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_not_power_of_two() local
386 return div64_u64(val1, operand2->constant); in div_by_not_power_of_two()
398 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_mult_and_shift() local
414 if (val1 < (1 << HIST_DIV_SHIFT)) { in div_by_mult_and_shift()
417 return (val1 * mult + ((1 << HIST_DIV_SHIFT) - 1)) >> HIST_DIV_SHIFT; in div_by_mult_and_shift()
420 return div64_u64(val1, operand2->constant); in div_by_mult_and_shift()
432 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_mult() local
435 return val1 * val2; in hist_field_mult()