Lines Matching defs:operand2
325 struct hist_field *operand2 = hist_field->operands[1];
328 u64 val2 = hist_fn_call(operand2, elt, buffer, rbe, event);
340 struct hist_field *operand2 = hist_field->operands[1];
343 u64 val2 = hist_fn_call(operand2, elt, buffer, rbe, event);
355 struct hist_field *operand2 = hist_field->operands[1];
358 u64 val2 = hist_fn_call(operand2, elt, buffer, rbe, event);
378 struct hist_field *operand2 = hist_field->operands[1];
382 return val1 >> __ffs64(operand2->constant);
392 struct hist_field *operand2 = hist_field->operands[1];
396 return div64_u64(val1, operand2->constant);
406 struct hist_field *operand2 = hist_field->operands[1];
425 u64 mult = operand2->div_multiplier;
430 return div64_u64(val1, operand2->constant);
440 struct hist_field *operand2 = hist_field->operands[1];
443 u64 val2 = hist_fn_call(operand2, elt, buffer, rbe, event);
2647 struct hist_field *operand2,
2652 unsigned long operand2_flags = operand2->flags;
2669 var = find_var_field(operand2->var.hist_data, operand2->name);
2690 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL;
2741 operand2 = parse_expr(hist_data, file, str, operand_flags, NULL, n_subexprs);
2742 if (IS_ERR(operand2)) {
2743 ret = PTR_ERR(operand2);
2746 if (operand2->flags & HIST_FIELD_FL_STRING) {
2770 ret = check_expr_operands(file->tr, operand1, operand2, &var1, &var2);
2775 operand2_flags = var2 ? var2->flags : operand2->flags;
2795 operand2->read_once = true;
2799 expr->operands[1] = operand2;
2803 u64 divisor = var2 ? var2->constant : operand2->constant;
2815 operand2->constant = divisor;
2816 op_fn = hist_field_get_div_fn(operand2);
2837 destroy_hist_field(operand2, 0);
2859 destroy_hist_field(operand2, 0);