Home
last modified time | relevance | path

Searched refs:iovcnt (Results 1 – 15 of 15) sorted by relevance

/kernel/liteos_a/fs/vfs/operation/
Dvfs_writev.c41 static int iov_trans_to_buf(char *buf, ssize_t totallen, const struct iovec *iov, int iovcnt) in iov_trans_to_buf() argument
49 for (i = 0; i < iovcnt; ++i) { in iov_trans_to_buf()
79 ssize_t vfs_writev(int fd, const struct iovec *iov, int iovcnt, off_t *offset) in vfs_writev() argument
88 if ((iov == NULL) || (iovcnt > IOV_MAX)) { in vfs_writev()
92 for (i = 0; i < iovcnt; ++i) { in vfs_writev()
114 ret = iov_trans_to_buf(buf, totallen, iov, iovcnt); in vfs_writev()
135 ssize_t writev(int fd, const struct iovec *iov, int iovcnt) in writev() argument
137 return vfs_writev(fd, iov, iovcnt, NULL); in writev()
Dvfs_readv.c42 static char *pread_buf_and_check(int fd, const struct iovec *iov, int iovcnt, ssize_t *totalbytesre… in pread_buf_and_check() argument
48 if ((iov == NULL) || (iovcnt > IOV_MAX)) { in pread_buf_and_check()
53 for (i = 0; i < iovcnt; ++i) { in pread_buf_and_check()
91 ssize_t vfs_readv(int fd, const struct iovec *iov, int iovcnt, off_t *offset) in vfs_readv() argument
101 buf = pread_buf_and_check(fd, iov, iovcnt, &totalbytesread, offset); in vfs_readv()
108 for (i = 0; i < iovcnt; ++i) { in vfs_readv()
144 ssize_t readv(int fd, const struct iovec *iov, int iovcnt) in readv() argument
146 return vfs_readv(fd, iov, iovcnt, NULL); in readv()
Dvfs_preadv.c47 ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset) in preadv() argument
49 return vfs_readv(fd, iov, iovcnt, &offset); in preadv()
Dvfs_pwritev.c47 ssize_t pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset) in pwritev() argument
49 return vfs_writev(fd, iov, iovcnt, &offset); in pwritev()
/kernel/uniproton/src/fs/
Dfs.c149 ssize_t readv(int fd, const struct iovec *iovBuf, int iovcnt) in readv() argument
151 return OsVfsReadv(fd, iovBuf, iovcnt); in readv()
154 ssize_t writev(int fd, const struct iovec *iovBuf, int iovcnt) in writev() argument
156 return OsVfsWritev(fd, iovBuf, iovcnt); in writev()
/kernel/liteos_a/syscall/
Dfs_syscall.c137 static int UserIovItemCheck(const struct iovec *iov, const int iovcnt) in UserIovItemCheck() argument
140 for (i = 0; i < iovcnt; ++i) { in UserIovItemCheck()
149 return iovcnt; in UserIovItemCheck()
152 static int UserIovCopy(struct iovec **iovBuf, const struct iovec *iov, const int iovcnt, int *valid… in UserIovCopy() argument
155 int bufLen = iovcnt * sizeof(struct iovec); in UserIovCopy()
170 ret = UserIovItemCheck(*iovBuf, iovcnt); in UserIovCopy()
1349 ssize_t SysReadv(int fd, const struct iovec *iov, int iovcnt) in SysReadv() argument
1357 if ((iov == NULL) || (iovcnt < 0) || (iovcnt > IOV_MAX)) { in SysReadv()
1361 if (iovcnt == 0) { in SysReadv()
1365 ret = UserIovCopy(&iovRet, iov, iovcnt, &valid_iovcnt); in SysReadv()
[all …]
Dlos_syscall.h274 extern ssize_t SysReadv(int fd, const struct iovec *iov, int iovcnt);
275 extern ssize_t SysWritev(int fd, const struct iovec *iov, int iovcnt);
303 extern ssize_t SysPreadv(int fd, const struct iovec *iov, int iovcnt, long loffset, long hoffset);
304 extern ssize_t SysPwritev(int fd, const struct iovec *iov, int iovcnt, long loffset, long hoffset);
/kernel/uniproton/src/fs/vfs/
Dvfs_fs.c785 ssize_t OsVfsReadv(S32 fd, const struct iovec *iovBuf, S32 iovcnt) in OsVfsReadv() argument
798 if ((iov == NULL) || (iovcnt <= 0) || (iovcnt > IOV_MAX_CNT)) { in OsVfsReadv()
802 for (i = 0; i < iovcnt; ++i) { in OsVfsReadv()
822 for (i = 0; i < iovcnt; ++i) { in OsVfsReadv()
842 ssize_t OsVfsWritev(S32 fd, const struct iovec *iovBuf, S32 iovcnt) in OsVfsWritev() argument
855 if ((iov == NULL) || (iovcnt <= 0) || (iovcnt > IOV_MAX_CNT)) { in OsVfsWritev()
859 for (i = 0; i < iovcnt; ++i) { in OsVfsWritev()
875 for (i = 0; i < iovcnt; ++i) { in OsVfsWritev()
Dvfs_operations.h60 ssize_t OsVfsReadv(S32 fd, const struct iovec *iovBuf, S32 iovcnt);
61 ssize_t OsVfsWritev(S32 fd, const struct iovec *iovBuf, S32 iovcnt);
/kernel/liteos_m/components/fs/vfs/
Dvfs_fs.c1137 ssize_t readv(int fd, const struct iovec *iovBuf, int iovcnt) in readv() argument
1150 if ((iov == NULL) || (iovcnt <= 0) || (iovcnt > IOV_MAX_CNT)) { in readv()
1154 for (i = 0; i < iovcnt; ++i) { in readv()
1174 for (i = 0; i < iovcnt; ++i) { in readv()
1194 ssize_t writev(int fd, const struct iovec *iovBuf, int iovcnt) in writev() argument
1207 if ((iov == NULL) || (iovcnt <= 0) || (iovcnt > IOV_MAX_CNT)) { in writev()
1211 for (i = 0; i < iovcnt; ++i) { in writev()
1227 for (i = 0; i < iovcnt; ++i) { in writev()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dmic_ioctl.h15 __u32 iovcnt; member
/kernel/linux/linux-5.10/drivers/atm/
Dnicstar.h644 int iovcnt; member
652 (((struct ns_skb_prv *)(ATM_SKB(skb)+1))->iovcnt)
Dnicstarmac.copyright22 * (skb->atm.iovcnt != 0) for Rx skb's passed to vcc->push.
Dzatm.c674 uPD98401_TXBD_SIZE * ATM_SKB(skb)->iovcnt, GFP_ATOMIC); in do_tx()
689 dsc[2] = ATM_SKB(skb)->iovcnt * uPD98401_TXBD_SIZE; in do_tx()
691 for (i = 0; i < ATM_SKB(skb)->iovcnt; i++) { in do_tx()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace_tx.h595 __field(u8, iovcnt)
605 __entry->iovcnt = (i[0] >> 8) & 0xff;
615 __entry->iovcnt,