Changeset 615 for GPL/branches/uniaud32-next/include/linux/uio.h
- Timestamp:
- Jan 1, 2021, 5:31:48 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/linux/uio.h
r441 r615 3 3 #ifndef _LINUX_UIO_H 4 4 #define _LINUX_UIO_H 5 6 enum { 7 ITER_IOVEC = 0, 8 ITER_KVEC = 2, 9 ITER_BVEC = 4, 10 }; 11 5 12 struct iovec { 6 13 char *iov_base; /* Base address. */ … … 12 19 }; 13 20 21 struct iov_iter { 22 int type; 23 size_t iov_offset; 24 size_t count; 25 union { 26 const struct iovec *iov; 27 const struct kvec *kvec; 28 const struct bio_vec *bvec; 29 }; 30 unsigned long nr_segs; 31 }; 32 33 static inline bool iter_is_iovec(const struct iov_iter *i) 34 { 35 return !(i->type & (ITER_BVEC | ITER_KVEC)); 36 } 37 14 38 #endif /* _LINUX_UIO_H */
Note:
See TracChangeset
for help on using the changeset viewer.