Lines Matching refs:next
36 struct expression *next; in next_line_is_if() local
41 next = strip_expr(__next_stmt->if_conditional); in next_line_is_if()
42 while (next->type == EXPR_PREOP && next->op == '!') in next_line_is_if()
43 next = strip_expr(next->unop); in next_line_is_if()
44 if (expr_equiv(expr, next)) in next_line_is_if()
51 struct expression *next; in next_line_checks_IS_ERR() local
63 next = strip_expr(__next_stmt->if_conditional); in next_line_checks_IS_ERR()
64 while (next->type == EXPR_PREOP && next->op == '!') in next_line_checks_IS_ERR()
65 next = strip_expr(next->unop); in next_line_checks_IS_ERR()
66 if (!next || next->type != EXPR_CALL) in next_line_checks_IS_ERR()
68 if (next->fn->type != EXPR_SYMBOL || !next->fn->symbol || in next_line_checks_IS_ERR()
69 !next->fn->symbol->ident || in next_line_checks_IS_ERR()
70 (strcmp(next->fn->symbol->ident->name, "IS_ERR") != 0 && in next_line_checks_IS_ERR()
71 strcmp(next->fn->symbol->ident->name, "IS_ERR_OR_NULL") != 0)) in next_line_checks_IS_ERR()
73 next = get_argument_from_call_expr(next->args, 0); in next_line_checks_IS_ERR()
74 return expr_equiv(next, arg); in next_line_checks_IS_ERR()