Lines Matching refs:operand1
314 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_plus() local
317 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_plus()
329 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_minus() local
332 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_minus()
344 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_div() local
347 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_div()
367 struct hist_field *operand1 = hist_field->operands[0]; in div_by_power_of_two() local
370 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_power_of_two()
381 struct hist_field *operand1 = hist_field->operands[0]; in div_by_not_power_of_two() local
384 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_not_power_of_two()
395 struct hist_field *operand1 = hist_field->operands[0]; in div_by_mult_and_shift() local
398 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_mult_and_shift()
429 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_mult() local
432 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_mult()
2501 struct hist_field *operand1, *expr = NULL; in parse_unary() local
2551 operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, n_subexprs); in parse_unary()
2552 if (IS_ERR(operand1)) { in parse_unary()
2553 ret = PTR_ERR(operand1); in parse_unary()
2556 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_unary()
2559 destroy_hist_field(operand1, 0); in parse_unary()
2564 expr->flags |= operand1->flags & in parse_unary()
2567 expr->operands[0] = operand1; in parse_unary()
2568 expr->size = operand1->size; in parse_unary()
2569 expr->is_signed = operand1->is_signed; in parse_unary()
2572 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary()
2589 struct hist_field *operand1, in check_expr_operands() argument
2594 unsigned long operand1_flags = operand1->flags; in check_expr_operands()
2601 var = find_var_field(operand1->var.hist_data, operand1->name); in check_expr_operands()
2633 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2672 operand1 = parse_expr(hist_data, file, operand1_str, operand_flags, NULL, n_subexprs); in parse_expr()
2673 if (IS_ERR(operand1)) in parse_expr()
2674 return ERR_CAST(operand1); in parse_expr()
2676 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2713 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2); in parse_expr()
2717 operand_flags = var1 ? var1->flags : operand1->flags; in parse_expr()
2728 flags |= operand1->flags & in parse_expr()
2737 operand1->read_once = true; in parse_expr()
2741 expr->operands[0] = operand1; in parse_expr()
2781 destroy_hist_field(operand1, 0); in parse_expr()
2786 expr->size = operand1->size; in parse_expr()
2787 expr->is_signed = operand1->is_signed; in parse_expr()
2790 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr()
2804 destroy_hist_field(operand1, 0); in parse_expr()