Lines Matching refs:operand2

272 	struct hist_field *operand2 = hist_field->operands[1];  in hist_field_plus()  local
275 u64 val2 = operand2->fn(operand2, elt, buffer, rbe, event); in hist_field_plus()
287 struct hist_field *operand2 = hist_field->operands[1]; in hist_field_minus() local
290 u64 val2 = operand2->fn(operand2, elt, buffer, rbe, event); in hist_field_minus()
302 struct hist_field *operand2 = hist_field->operands[1]; in hist_field_div() local
305 u64 val2 = operand2->fn(operand2, elt, buffer, rbe, event); in hist_field_div()
325 struct hist_field *operand2 = hist_field->operands[1]; in div_by_power_of_two() local
329 return val1 >> __ffs64(operand2->constant); in div_by_power_of_two()
339 struct hist_field *operand2 = hist_field->operands[1]; in div_by_not_power_of_two() local
343 return div64_u64(val1, operand2->constant); in div_by_not_power_of_two()
353 struct hist_field *operand2 = hist_field->operands[1]; in div_by_mult_and_shift() local
372 u64 mult = operand2->div_multiplier; in div_by_mult_and_shift()
377 return div64_u64(val1, operand2->constant); in div_by_mult_and_shift()
387 struct hist_field *operand2 = hist_field->operands[1]; in hist_field_mult() local
390 u64 val2 = operand2->fn(operand2, elt, buffer, rbe, event); in hist_field_mult()
2510 struct hist_field *operand2, in check_expr_operands() argument
2515 unsigned long operand2_flags = operand2->flags; in check_expr_operands()
2532 var = find_var_field(operand2->var.hist_data, operand2->name); in check_expr_operands()
2553 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2604 operand2 = parse_expr(hist_data, file, str, operand_flags, NULL, n_subexprs); in parse_expr()
2605 if (IS_ERR(operand2)) { in parse_expr()
2606 ret = PTR_ERR(operand2); in parse_expr()
2609 if (operand2->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2633 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2); in parse_expr()
2638 operand2_flags = var2 ? var2->flags : operand2->flags; in parse_expr()
2658 operand2->read_once = true; in parse_expr()
2662 expr->operands[1] = operand2; in parse_expr()
2666 u64 divisor = var2 ? var2->constant : operand2->constant; in parse_expr()
2678 operand2->constant = divisor; in parse_expr()
2679 op_fn = hist_field_get_div_fn(operand2); in parse_expr()
2697 destroy_hist_field(operand2, 0); in parse_expr()
2720 destroy_hist_field(operand2, 0); in parse_expr()