Searched refs:iov (Results 1 - 25 of 133) sorted by relevance

123456

/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfindiop.c57 FILE **iov, *iop; local
71 iov = iobglue;
72 while(*iov != NULL && active(*iov))
73 if (++iov >= endglue) {
78 if(*iov == NULL)
79 *iov = (FILE *)calloc(1, sizeof **iov);
81 return(*iov);
87 FILE **iov; local
115 FILE **iov; local
129 FILE **iov; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dreadv.c43 readv(int fd, struct iovec *iov, int iovcnt) argument
45 return (bc_readv(fd, iov, iovcnt));
49 bc_readv(int fd, struct iovec *iov, int iovcnt) argument
57 size = getmodsize(iov[i].iov_len,
71 to_utmp(iov[i].iov_base, nbuf, ret);
82 return (_readv(fd, iov, iovcnt));
H A Dwritev.c42 writev(int fd, struct iovec *iov, int iovcnt) argument
44 return (bc_writev(fd, iov, iovcnt));
48 bc_writev(int fd, struct iovec *iov, int iovcnt) argument
57 nsize = getmodsize(iov[i].iov_len,
68 ret = conv2utmpx(nbuf, iov[i].iov_base, iov[i].iov_len);
84 return (_writev(fd, iov, iovcnt));
/illumos-gate/usr/src/cmd/dtrace/demo/struct/
H A Dksyms.d51 this->iov = args[3]->uio_iov;
54 this->iov->iov_len, this->iov->iov_base, pid);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/docsExamples/
H A Dksyms.d59 this->iov = args[3]->uio_iov;
61 printf("uiomove %u bytes to %p in pid %d\n", this->iov->iov_len,
62 this->iov->iov_base, pid);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfput.c46 struct sm_iov iov; local
49 iov.iov_base = (void *) s;
50 iov.iov_len = uio.uio_resid = strlen(s);
51 uio.uio_iov = &iov;
H A Dfwrite.c48 struct sm_iov iov; local
58 iov.iov_base = (void *) buf;
59 uio.uio_resid = iov.iov_len = size;
60 uio.uio_iov = &iov;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A D_perror.c41 struct iovec iov[4]; local
42 register struct iovec *v = iov;
58 writev(2, iov, (v - iov) + 1);
H A D_psignal.c42 struct iovec iov[4]; local
43 register struct iovec *v = iov;
59 writev(2, iov, (v - iov) + 1);
/illumos-gate/usr/src/lib/libslp/clib/
H A DSAAdvert.c45 struct iovec iov[3]; local
56 iov[0].iov_base = reply + off;
61 iov[0].iov_len = off - tmp_off;
64 iov[2].iov_base = reply + off;
69 iov[2].iov_len = off - tmp_off;
72 iov[1].iov_base = reply + off;
77 iov[1].iov_len = off - tmp_off;
84 if ((err = slp_verify(iov, 3,
H A DDAAdvert.c45 struct iovec iov[5]; local
64 iov[0].iov_base = reply + off;
72 iov[0].iov_len = off - tmp_off;
75 iov[1].iov_base = reply + off;
80 iov[1].iov_len = off - tmp_off;
83 iov[3].iov_base = reply + off;
88 iov[3].iov_len = off - tmp_off;
91 iov[2].iov_base = reply + off;
96 iov[2].iov_len = off - tmp_off;
99 iov[
[all...]
H A DSLPFindSrvTypes.c147 if (!(msg->iov = calloc(6, sizeof (*(msg->iov))))) {
167 free(msg->iov);
175 msg->iov[1].iov_base = msg->msg;
176 msg->iov[1].iov_len = 2;
180 msg->iov[4].iov_base = msg->msg + 2;
181 msg->iov[4].iov_len = 2;
183 /* set up the scopes and prlist pointers into iov */
184 msg->prlist = &(msg->iov[2]);
185 msg->scopes = &(msg->iov[
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dwritev.c45 writev(int fd, struct iovec *iov, int iovcnt) argument
47 return (bc_writev(fd, iov, iovcnt));
51 bc_writev(int fd, struct iovec *iov, int iovcnt) argument
60 nsize = getmodsize(iov[i].iov_len,
71 ret = conv2utmpx(nbuf, iov[i].iov_base, iov[i].iov_len);
89 if ((ret = _writev(fd, iov, iovcnt)) == -1) {
H A Dreadv.c44 readv(int fd, struct iovec *iov, int iovcnt) argument
46 return (bc_readv(fd, iov, iovcnt));
50 bc_readv(int fd, struct iovec *iov, int iovcnt) argument
58 size = getmodsize(iov[i].iov_len,
74 to_utmp(iov[i].iov_base, nbuf, ret);
86 if ((ret = _readv(fd, iov, iovcnt)) == -1) {
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Duio.c32 struct iovec *iov; local
36 iov = uio->uio_iov;
37 cnt = MIN(iov->iov_len, n);
51 bcopy(p, iov->iov_base, cnt);
53 bcopy(iov->iov_base, p, cnt);
56 iov->iov_base += cnt;
57 iov->iov_len -= cnt;
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dcomm.c230 ** iov -- io vector
241 retry_writev(fd, iov, iovcnt, timeout)
243 struct iovec *iov;
254 while (iovcnt > 0 && iov[0].iov_len == 0)
256 iov++;
280 n = writev(fd, iov, iovcnt);
291 if (iov[i].iov_len > (unsigned int) n)
293 iov[i].iov_base = (char *)iov[i].iov_base + n;
294 iov[
331 struct iovec iov[2]; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmove.c65 struct iovec *iov; local
70 iov = uio->uio_iov;
71 cnt = MIN(iov->iov_len, n);
82 error = xcopyout_nta(p, iov->iov_base, cnt,
85 error = xcopyin_nta(iov->iov_base, p, cnt,
95 error = kcopy_nta(p, iov->iov_base, cnt,
98 error = kcopy_nta(iov->iov_base, p, cnt,
104 iov->iov_base += cnt;
105 iov->iov_len -= cnt;
123 struct iovec *iov; local
188 struct iovec *iov; local
448 iovec_t *iov; local
585 iovec_t *iov = uiop->uio_iov; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dreparse.c58 struct iovec iov; local
68 iov.iov_base = lkdata;
69 iov.iov_len = MAXREPARSELEN;
70 uio.uio_iov = &iov;
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dherror.c88 struct iovec iov[4], *v = iov; local
108 writev(STDERR_FILENO, iov, (v - iov) + 1);
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Ddrop_priv.c99 struct iovec iov; local
103 iov = (struct iovec) {
109 .msg_iov = &iov,
133 struct iovec iov; local
152 iov = (struct iovec) {
160 .msg_iov = &iov,
283 struct iovec iov; local
292 iov = (struct iovec) {
312 .msg_iov = &iov,
H A Ddgram.c59 struct iovec iov; local
63 iov = (struct iovec) {
69 .msg_iov = &iov,
146 struct iovec iov; local
155 iov = (struct iovec) {
164 .msg_iov = &iov,
H A Dsockpair.c47 struct iovec iov; local
51 iov = (struct iovec) {
57 .msg_iov = &iov,
111 struct iovec iov; local
120 iov = (struct iovec) {
126 .msg_iov = &iov,
/illumos-gate/usr/src/uts/common/inet/nca/
H A Dncalogd.h136 } iov[NCA_FIOV_SZ]; /* The iov's for each desc[] */ member in struct:__anon5042
140 #define nca_fio_vp(fiop) (fiop)->iov[(fiop)->hdr.ix].vp
141 #define nca_fio_name(fiop) (fiop)->iov[(fiop)->hdr.ix].name
142 #define nca_fio_size(fiop) (fiop)->iov[(fiop)->hdr.ix].size
143 #define nca_fio_offset(fiop) (fiop)->iov[(fiop)->hdr.ix].offset
144 #define nca_fio_file(fiop) (fiop)->iov[(fiop)->hdr.ix].file
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dwritev.c17 __writev(int fd, struct iovec *iov, int iovlen) argument
33 mesg.msg_iov = iov;
42 for (i = 0, tv = iov; i <= iovlen; tv++) {
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcheckpw.c349 * Keep calling the writev() system call with 'fd', 'iov', and 'iovcnt'
352 static int retry_writev(int fd, struct iovec *iov, int iovcnt) argument
370 while (iovcnt && iov[0].iov_len == 0) {
371 iov++;
377 n = writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt);
390 if (iov[i].iov_len > (unsigned) n) {
391 iov[i].iov_base = (char *)iov[i].iov_base + n;
392 iov[i].iov_len -= n;
395 n -= iov[
417 struct iovec iov[10]; local
618 struct iovec iov[8]; local
[all...]

Completed in 382 milliseconds

123456