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

12345

/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/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/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/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.c149 if (!(msg->iov = calloc(6, sizeof (*(msg->iov))))) {
169 free(msg->iov);
177 msg->iov[1].iov_base = msg->msg;
178 msg->iov[1].iov_len = 2;
182 msg->iov[4].iov_base = msg->msg + 2;
183 msg->iov[4].iov_len = 2;
185 /* set up the scopes and prlist pointers into iov */
186 msg->prlist = &(msg->iov[2]);
187 msg->scopes = &(msg->iov[
[all...]
H A DSLPFindAttrs.c158 struct iovec iov[1]; local
160 iov[0].iov_base = attr_tbv;
161 iov[0].iov_len = tbv_len;
163 if (slp_verify(iov, 1,
325 if (!(msg->iov = calloc(7, sizeof (*(msg->iov))))) {
339 free(msg->iov);
347 msg->iov[1].iov_base = msg->msg;
348 msg->iov[1].iov_len = 2;
352 msg->iov[
[all...]
H A DSLPFindSrvs.c167 struct iovec iov[1]; local
170 iov[0].iov_base = url_tbv;
171 iov[0].iov_len = tbv_len;
173 if (slp_verify(iov, 1,
354 if (!(msg->iov = calloc(7, sizeof (*(msg->iov))))) {
368 free(msg->iov);
376 msg->iov[1].iov_base = msg->msg;
377 msg->iov[1].iov_len = 2;
381 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/common/crypto/modes/
H A Dmodes.c95 iovec_t *iov; local
98 iov = &out->cd_raw;
99 if ((offset + amt) <= iov->iov_len) {
101 *out_data_1 = (uint8_t *)iov->iov_base + offset;
111 iovec_t *iov; local
118 iov = &uio->uio_iov[vec_idx];
119 p = (uint8_t *)iov->iov_base + offset;
122 if (offset + amt <= iov->iov_len) {
123 /* can fit one block into this iov */
129 *out_data_1_len = iov
[all...]
/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/libresolv2/common/resolv/
H A Dherror.c93 struct iovec iov[4], *v = iov; local
113 writev(STDERR_FILENO, iov, (v - iov) + 1);
/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/uts/common/inet/nca/
H A Dncalogd.h136 } iov[NCA_FIOV_SZ]; /* The iov's for each desc[] */ member in struct:__anon4803
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.c21 __writev(int fd, struct iovec *iov, int iovlen) argument
37 mesg.msg_iov = iov;
46 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 114 milliseconds

12345