Lines Matching refs:operand2
251 struct hist_field *operand2 = hist_field->operands[1]; in hist_field_plus() local
254 u64 val2 = operand2->fn(operand2, elt, buffer, rbe, event); in hist_field_plus()
266 struct hist_field *operand2 = hist_field->operands[1]; in hist_field_minus() local
269 u64 val2 = operand2->fn(operand2, elt, buffer, rbe, event); in hist_field_minus()
2238 struct hist_field *operand2) in check_expr_operands() argument
2241 unsigned long operand2_flags = operand2->flags; in check_expr_operands()
2257 var = find_var_field(operand2->var.hist_data, operand2->name); in check_expr_operands()
2277 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2326 operand2 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level); in parse_expr()
2327 if (IS_ERR(operand2)) { in parse_expr()
2328 ret = PTR_ERR(operand2); in parse_expr()
2329 operand2 = NULL; in parse_expr()
2332 if (operand2->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2338 ret = check_expr_operands(file->tr, operand1, operand2); in parse_expr()
2354 operand2->read_once = true; in parse_expr()
2357 expr->operands[1] = operand2; in parse_expr()
2385 destroy_hist_field(operand2, 0); in parse_expr()