Lines Matching refs:operand1

133 	struct hist_field *operand1 = hist_field->operands[0];  in hist_field_plus()  local
136 u64 val1 = operand1->fn(operand1, elt, rbe, event); in hist_field_plus()
147 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_minus() local
150 u64 val1 = operand1->fn(operand1, elt, rbe, event); in hist_field_minus()
2599 struct hist_field *operand1, *expr = NULL; in parse_unary() local
2638 operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level); in parse_unary()
2639 if (IS_ERR(operand1)) { in parse_unary()
2640 ret = PTR_ERR(operand1); in parse_unary()
2644 expr->flags |= operand1->flags & in parse_unary()
2647 expr->operands[0] = operand1; in parse_unary()
2650 expr->type = kstrdup(operand1->type, GFP_KERNEL); in parse_unary()
2662 static int check_expr_operands(struct hist_field *operand1, in check_expr_operands() argument
2665 unsigned long operand1_flags = operand1->flags; in check_expr_operands()
2672 var = find_var_field(operand1->var.hist_data, operand1->name); in check_expr_operands()
2702 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2736 operand1 = parse_atom(hist_data, file, operand1_str, in parse_expr()
2738 if (IS_ERR(operand1)) { in parse_expr()
2739 ret = PTR_ERR(operand1); in parse_expr()
2740 operand1 = NULL; in parse_expr()
2753 ret = check_expr_operands(operand1, operand2); in parse_expr()
2759 flags |= operand1->flags & in parse_expr()
2768 operand1->read_once = true; in parse_expr()
2771 expr->operands[0] = operand1; in parse_expr()
2775 expr->type = kstrdup(operand1->type, GFP_KERNEL); in parse_expr()
2795 destroy_hist_field(operand1, 0); in parse_expr()