xref: /third_party/ltp/scripts/coccinelle/cgroup-ver.cocci
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/scripts/coccinelle/
1f08c3bdfSopenharmony_civirtual fix
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ci@@
4f08c3bdfSopenharmony_ciexpression cg, ctrl;
5f08c3bdfSopenharmony_ci@@
6f08c3bdfSopenharmony_ci
7f08c3bdfSopenharmony_ci- TST_CG_VER(cg, ctrl) == TST_CG_V1
8f08c3bdfSopenharmony_ci+ TST_CG_VER_IS_V1(cg, ctrl)
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ci@@
11f08c3bdfSopenharmony_ciexpression cg, ctrl;
12f08c3bdfSopenharmony_ci@@
13f08c3bdfSopenharmony_ci
14f08c3bdfSopenharmony_ci- TST_CG_VER(cg, ctrl) != TST_CG_V1
15f08c3bdfSopenharmony_ci+ !TST_CG_VER_IS_V1(cg, ctrl)
16f08c3bdfSopenharmony_ci
17f08c3bdfSopenharmony_ci@@
18f08c3bdfSopenharmony_ciexpression cg, ctrl;
19f08c3bdfSopenharmony_ci@@
20f08c3bdfSopenharmony_ci
21f08c3bdfSopenharmony_ci- TST_CG_VER(cg, ctrl) == TST_CG_V2
22f08c3bdfSopenharmony_ci+ !TST_CG_VER_IS_V1(cg, ctrl)
23f08c3bdfSopenharmony_ci
24f08c3bdfSopenharmony_ci@@
25f08c3bdfSopenharmony_ciexpression cg, ctrl;
26f08c3bdfSopenharmony_ci@@
27f08c3bdfSopenharmony_ci
28f08c3bdfSopenharmony_ci- TST_CG_VER(cg, ctrl) != TST_CG_V2
29f08c3bdfSopenharmony_ci+ TST_CG_VER_IS_V1(cg, ctrl)
30

Indexes created Thu Nov 07 10:32:03 CST 2024