Home
last modified time | relevance | path

Searched refs:iovp (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/io/direct_io/
Ddiotest5.c88 struct iovec *iov1, *iov2, *iovp; in runtest() local
101 for (i = 0, iovp = iov1; i < nvector; iovp++, i++) { in runtest()
102 if ((iovp->iov_base = valloc(bufsize)) == NULL) { in runtest()
107 iovp->iov_len = bufsize; in runtest()
109 for (i = 0, iovp = iov2; i < nvector; iovp++, i++) { in runtest()
110 if ((iovp->iov_base = valloc(bufsize)) == NULL) { in runtest()
115 iovp->iov_len = bufsize; in runtest()
147 for (i = 0, iovp = iov1; i < nvector; iovp++, i++) { in runtest()
148 free(iovp->iov_base); in runtest()
150 for (i = 0, iovp = iov2; i < nvector; iovp++, i++) { in runtest()
[all …]
/third_party/rust/crates/nix/src/mount/
Dbsd.rs394 let iovp = self.iov.as_mut_ptr() as *mut libc::iovec; in nmount() localVariable
395 let res = unsafe { libc::nmount(iovp, niov, flags.bits) }; in nmount()