Searched refs:iovcnt (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
H A Dsun_bell.c58 int iovcnt; local in function:xf86OSRingBell
126 iovcnt = 0;
133 iov[iovcnt].iov_base = (char *) silence;
134 iov[iovcnt++].iov_len = sizeof(silence);
136 iov[iovcnt].iov_base = (char *) samples;
137 iov[iovcnt++].iov_len = sizeof(samples);
139 if ((iovcnt >= IOV_MAX) || (cnt == repeats)) {
140 written = writev(audioFD, iov, iovcnt);
142 if ((written < ((int)(sizeof(samples) * iovcnt)))) {
155 i = iovcnt;
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/
H A Dsun_bell.c58 int iovcnt; local in function:xf86OSRingBell
126 iovcnt = 0;
133 iov[iovcnt].iov_base = (char *) silence;
134 iov[iovcnt++].iov_len = sizeof(silence);
137 iov[iovcnt].iov_base = (char *) samples;
138 iov[iovcnt++].iov_len = sizeof(samples);
140 if ((iovcnt >= IOV_MAX) || (cnt == repeats)) {
141 written = writev(audioFD, iov, iovcnt);
143 if ((written < ((int) (sizeof(samples) * iovcnt)))) {
156 i = iovcnt;
[all...]
/xsrc/external/mit/xtrans/dist/
H A DXtransint.h325 #define READV(ciptr, iov, iovcnt) TRANS(ReadV)(ciptr, iov, iovcnt)
330 int /* iovcnt */
335 #define READV(ciptr, iov, iovcnt) readv(ciptr->fd, iov, iovcnt)
342 #define WRITEV(ciptr, iov, iovcnt) TRANS(WriteV)(ciptr, iov, iovcnt)
347 int /* iovcnt */
352 #define WRITEV(ciptr, iov, iovcnt) writev(ciptr->fd, iov, iovcnt)
[all...]
H A DXtrans.c1282 static int TRANS(ReadV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
1289 for (i = 0, total = 0; i < iovcnt; i++, iov++) {
1311 static int TRANS(WriteV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
1318 for (i = 0, total = 0; i < iovcnt; i++, iov++) {

Completed in 4 milliseconds