Lines Matching refs:operand1

271 	struct hist_field *operand1 = hist_field->operands[0];  in hist_field_plus()  local
274 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in hist_field_plus()
286 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_minus() local
289 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in hist_field_minus()
301 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_div() local
304 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in hist_field_div()
324 struct hist_field *operand1 = hist_field->operands[0]; in div_by_power_of_two() local
327 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in div_by_power_of_two()
338 struct hist_field *operand1 = hist_field->operands[0]; in div_by_not_power_of_two() local
341 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in div_by_not_power_of_two()
352 struct hist_field *operand1 = hist_field->operands[0]; in div_by_mult_and_shift() local
355 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in div_by_mult_and_shift()
386 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_mult() local
389 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in hist_field_mult()
2423 struct hist_field *operand1, *expr = NULL; in parse_unary() local
2473 operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, n_subexprs); in parse_unary()
2474 if (IS_ERR(operand1)) { in parse_unary()
2475 ret = PTR_ERR(operand1); in parse_unary()
2478 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_unary()
2481 destroy_hist_field(operand1, 0); in parse_unary()
2486 expr->flags |= operand1->flags & in parse_unary()
2489 expr->operands[0] = operand1; in parse_unary()
2492 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary()
2509 struct hist_field *operand1, in check_expr_operands() argument
2514 unsigned long operand1_flags = operand1->flags; in check_expr_operands()
2521 var = find_var_field(operand1->var.hist_data, operand1->name); in check_expr_operands()
2553 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2592 operand1 = parse_expr(hist_data, file, operand1_str, operand_flags, NULL, n_subexprs); in parse_expr()
2593 if (IS_ERR(operand1)) in parse_expr()
2594 return ERR_CAST(operand1); in parse_expr()
2596 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2633 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2); in parse_expr()
2637 operand_flags = var1 ? var1->flags : operand1->flags; in parse_expr()
2648 flags |= operand1->flags & in parse_expr()
2657 operand1->read_once = true; in parse_expr()
2661 expr->operands[0] = operand1; in parse_expr()
2698 destroy_hist_field(operand1, 0); in parse_expr()
2705 expr->size = operand1->size; in parse_expr()
2708 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr()
2722 destroy_hist_field(operand1, 0); in parse_expr()