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()
2533 struct hist_field *operand1, *expr = NULL; in parse_unary() local
2583 operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, n_subexprs); in parse_unary()
2584 if (IS_ERR(operand1)) { in parse_unary()
2585 ret = PTR_ERR(operand1); in parse_unary()
2588 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_unary()
2591 destroy_hist_field(operand1, 0); in parse_unary()
2596 expr->flags |= operand1->flags & in parse_unary()
2599 expr->operands[0] = operand1; in parse_unary()
2600 expr->size = operand1->size; in parse_unary()
2601 expr->is_signed = operand1->is_signed; in parse_unary()
2604 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary()
2621 struct hist_field *operand1, in check_expr_operands() argument
2626 unsigned long operand1_flags = operand1->flags; in check_expr_operands()
2633 var = find_var_field(operand1->var.hist_data, operand1->name); in check_expr_operands()
2665 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2704 operand1 = parse_expr(hist_data, file, operand1_str, operand_flags, NULL, n_subexprs); in parse_expr()
2705 if (IS_ERR(operand1)) in parse_expr()
2706 return ERR_CAST(operand1); in parse_expr()
2708 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2745 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2); in parse_expr()
2749 operand_flags = var1 ? var1->flags : operand1->flags; in parse_expr()
2760 flags |= operand1->flags & in parse_expr()
2769 operand1->read_once = true; in parse_expr()
2773 expr->operands[0] = operand1; in parse_expr()
2813 destroy_hist_field(operand1, 0); in parse_expr()
2818 expr->size = operand1->size; in parse_expr()
2819 expr->is_signed = operand1->is_signed; in parse_expr()
2822 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr()
2836 destroy_hist_field(operand1, 0); in parse_expr()