1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2@@
3expression x, y, p, l;
4@@
5- x[y].iov_base = p;
6- x[y].iov_len = l;
7- y++;
8+ x[y++] = IOVEC_MAKE(p, l);
9@@
10expression x, p, l;
11@@
12- x.iov_base = p;
13- x.iov_len = l;
14+ x = IOVEC_MAKE(p, l);
15@@
16expression x, p, l;
17@@
18- x->iov_base = p;
19- x->iov_len = l;
20+ *x = IOVEC_MAKE(p, l);
21@@
22expression s;
23@@
24- IOVEC_MAKE(s, strlen(s));
25+ IOVEC_MAKE_STRING(s);
26@@
27expression x, y, z;
28@@
29- x = (struct iovec) { .iov_base = y, .iov_len = z };
30+ x = IOVEC_MAKE(y, z);
31