Lines Matching refs:operand1

316 	struct hist_field *operand1 = hist_field->operands[0];  in hist_field_plus()  local
319 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_plus()
331 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_minus() local
334 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_minus()
346 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_div() local
349 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_div()
369 struct hist_field *operand1 = hist_field->operands[0]; in div_by_power_of_two() local
372 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_power_of_two()
383 struct hist_field *operand1 = hist_field->operands[0]; in div_by_not_power_of_two() local
386 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_not_power_of_two()
397 struct hist_field *operand1 = hist_field->operands[0]; in div_by_mult_and_shift() local
400 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in div_by_mult_and_shift()
431 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_mult() local
434 u64 val1 = hist_fn_call(operand1, elt, buffer, rbe, event); in hist_field_mult()
2523 struct hist_field *operand1, *expr = NULL; in parse_unary() local
2573 operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, n_subexprs); in parse_unary()
2574 if (IS_ERR(operand1)) { in parse_unary()
2575 ret = PTR_ERR(operand1); in parse_unary()
2578 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_unary()
2581 destroy_hist_field(operand1, 0); in parse_unary()
2586 expr->flags |= operand1->flags & in parse_unary()
2589 expr->operands[0] = operand1; in parse_unary()
2590 expr->size = operand1->size; in parse_unary()
2591 expr->is_signed = operand1->is_signed; in parse_unary()
2594 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary()
2611 struct hist_field *operand1, in check_expr_operands() argument
2616 unsigned long operand1_flags = operand1->flags; in check_expr_operands()
2623 var = find_var_field(operand1->var.hist_data, operand1->name); in check_expr_operands()
2655 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2694 operand1 = parse_expr(hist_data, file, operand1_str, operand_flags, NULL, n_subexprs); in parse_expr()
2695 if (IS_ERR(operand1)) in parse_expr()
2696 return ERR_CAST(operand1); in parse_expr()
2698 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2735 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2); in parse_expr()
2739 operand_flags = var1 ? var1->flags : operand1->flags; in parse_expr()
2750 flags |= operand1->flags & in parse_expr()
2759 operand1->read_once = true; in parse_expr()
2763 expr->operands[0] = operand1; in parse_expr()
2803 destroy_hist_field(operand1, 0); in parse_expr()
2808 expr->size = operand1->size; in parse_expr()
2809 expr->is_signed = operand1->is_signed; in parse_expr()
2812 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr()
2826 destroy_hist_field(operand1, 0); in parse_expr()