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()
2484 struct hist_field *operand1, *expr = NULL; in parse_unary() local
2534 operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, n_subexprs); in parse_unary()
2535 if (IS_ERR(operand1)) { in parse_unary()
2536 ret = PTR_ERR(operand1); in parse_unary()
2539 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_unary()
2542 destroy_hist_field(operand1, 0); in parse_unary()
2547 expr->flags |= operand1->flags & in parse_unary()
2550 expr->operands[0] = operand1; in parse_unary()
2551 expr->size = operand1->size; in parse_unary()
2552 expr->is_signed = operand1->is_signed; in parse_unary()
2555 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary()
2572 struct hist_field *operand1, in check_expr_operands() argument
2577 unsigned long operand1_flags = operand1->flags; in check_expr_operands()
2584 var = find_var_field(operand1->var.hist_data, operand1->name); in check_expr_operands()
2616 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2655 operand1 = parse_expr(hist_data, file, operand1_str, operand_flags, NULL, n_subexprs); in parse_expr()
2656 if (IS_ERR(operand1)) in parse_expr()
2657 return ERR_CAST(operand1); in parse_expr()
2659 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2696 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2); in parse_expr()
2700 operand_flags = var1 ? var1->flags : operand1->flags; in parse_expr()
2711 flags |= operand1->flags & in parse_expr()
2720 operand1->read_once = true; in parse_expr()
2724 expr->operands[0] = operand1; in parse_expr()
2764 destroy_hist_field(operand1, 0); in parse_expr()
2769 expr->size = operand1->size; in parse_expr()
2770 expr->is_signed = operand1->is_signed; in parse_expr()
2773 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr()
2787 destroy_hist_field(operand1, 0); in parse_expr()