Lines Matching refs:operand1
250 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_plus() local
253 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in hist_field_plus()
265 struct hist_field *operand1 = hist_field->operands[0]; in hist_field_minus() local
268 u64 val1 = operand1->fn(operand1, elt, buffer, rbe, event); in hist_field_minus()
2166 struct hist_field *operand1, *expr = NULL; in parse_unary() local
2205 operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level); in parse_unary()
2206 if (IS_ERR(operand1)) { in parse_unary()
2207 ret = PTR_ERR(operand1); in parse_unary()
2210 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_unary()
2213 destroy_hist_field(operand1, 0); in parse_unary()
2218 expr->flags |= operand1->flags & in parse_unary()
2221 expr->operands[0] = operand1; in parse_unary()
2224 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary()
2237 struct hist_field *operand1, in check_expr_operands() argument
2240 unsigned long operand1_flags = operand1->flags; in check_expr_operands()
2247 var = find_var_field(operand1->var.hist_data, operand1->name); in check_expr_operands()
2277 struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; in parse_expr() local
2311 operand1 = parse_atom(hist_data, file, operand1_str, in parse_expr()
2313 if (IS_ERR(operand1)) { in parse_expr()
2314 ret = PTR_ERR(operand1); in parse_expr()
2315 operand1 = NULL; in parse_expr()
2318 if (operand1->flags & HIST_FIELD_FL_STRING) { in parse_expr()
2338 ret = check_expr_operands(file->tr, operand1, operand2); in parse_expr()
2344 flags |= operand1->flags & in parse_expr()
2353 operand1->read_once = true; in parse_expr()
2356 expr->operands[0] = operand1; in parse_expr()
2360 expr->size = operand1->size; in parse_expr()
2364 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr()
2384 destroy_hist_field(operand1, 0); in parse_expr()