Lines Matching refs:__v
14 #define iterate_iovec(i, n, __v, __p, skip, STEP) { \ argument
18 __v.iov_len = min(n, __p->iov_len - skip); \
19 if (likely(__v.iov_len)) { \
20 __v.iov_base = __p->iov_base + skip; \
22 __v.iov_len -= left; \
23 skip += __v.iov_len; \
24 n -= __v.iov_len; \
30 __v.iov_len = min(n, __p->iov_len); \
31 if (unlikely(!__v.iov_len)) \
33 __v.iov_base = __p->iov_base; \
35 __v.iov_len -= left; \
36 skip = __v.iov_len; \
37 n -= __v.iov_len; \
42 #define iterate_kvec(i, n, __v, __p, skip, STEP) { \ argument
45 __v.iov_len = min(n, __p->iov_len - skip); \
46 if (likely(__v.iov_len)) { \
47 __v.iov_base = __p->iov_base + skip; \
49 skip += __v.iov_len; \
50 n -= __v.iov_len; \
54 __v.iov_len = min(n, __p->iov_len); \
55 if (unlikely(!__v.iov_len)) \
57 __v.iov_base = __p->iov_base; \
59 skip = __v.iov_len; \
60 n -= __v.iov_len; \
65 #define iterate_bvec(i, n, __v, __bi, skip, STEP) { \ argument
70 for_each_bvec(__v, i->bvec, __bi, __start) { \
71 if (!__v.bv_len) \