]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/div-round-up.cocci
tests: try to allocate a delegated scope unit for our cgroup tests
[thirdparty/systemd.git] / coccinelle / div-round-up.cocci
1 @@
2 expression x, y;
3 @@
4 - ((x + y - 1) / y)
5 + DIV_ROUND_UP(x, y)
6 @@
7 expression x, y;
8 @@
9 - ((x + (y - 1)) / y)
10 + DIV_ROUND_UP(x, y)
11 @@
12 expression x, y;
13 @@
14 - (x + y - 1) / y
15 + DIV_ROUND_UP(x, y)
16 @@
17 expression x, y;
18 @@
19 - (x + (y - 1)) / y
20 + DIV_ROUND_UP(x, y)