/freebsd-9.3-release/sbin/mount_nullfs/ |
H A D | mount_nullfs.c | 66 struct iovec *iov; local 74 iov = NULL; 88 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1); 108 build_iovec(&iov, &iovlen, "fstype", nullfs, (size_t)-1); 109 build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1); 110 build_iovec(&iov, &iovlen, "target", target, (size_t)-1); 111 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); 112 if (nmount(iov, iovlen, mntflags) < 0) {
|
/freebsd-9.3-release/sbin/mount_reiserfs/ |
H A D | mount_reiserfs.c | 52 struct iovec *iov; local 89 iov = NULL; 91 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); 92 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); 93 build_iovec(&iov, &iovlen, "from", dev, (size_t)-1); 95 if (nmount(iov, iovlen, mntflags) < 0)
|
/freebsd-9.3-release/sys/amd64/amd64/ |
H A D | uio_machdep.c | 62 struct iovec *iov; local 76 iov = uio->uio_iov; 77 cnt = iov->iov_len; 93 error = copyout(cp, iov->iov_base, cnt); 95 error = copyin(iov->iov_base, cp, cnt); 101 bcopy(cp, iov->iov_base, cnt); 103 bcopy(iov->iov_base, cp, cnt); 108 iov->iov_base = (char *)iov->iov_base + cnt; 109 iov [all...] |
/freebsd-9.3-release/sys/arm/arm/ |
H A D | uio_machdep.c | 67 struct iovec *iov; local 82 iov = uio->uio_iov; 83 cnt = iov->iov_len; 99 error = copyout(cp, iov->iov_base, cnt); 101 error = copyin(iov->iov_base, cp, cnt); 109 bcopy(cp, iov->iov_base, cnt); 111 bcopy(iov->iov_base, cp, cnt); 117 iov->iov_base = (char *)iov->iov_base + cnt; 118 iov [all...] |
/freebsd-9.3-release/sys/i386/i386/ |
H A D | uio_machdep.c | 63 struct iovec *iov; local 77 iov = uio->uio_iov; 78 cnt = iov->iov_len; 95 error = copyout(cp, iov->iov_base, cnt); 97 error = copyin(iov->iov_base, cp, cnt); 106 bcopy(cp, iov->iov_base, cnt); 108 bcopy(iov->iov_base, cp, cnt); 115 iov->iov_base = (char *)iov->iov_base + cnt; 116 iov [all...] |
/freebsd-9.3-release/sys/ia64/ia64/ |
H A D | uio_machdep.c | 62 struct iovec *iov; local 76 iov = uio->uio_iov; 77 cnt = iov->iov_len; 94 error = copyout(cp, iov->iov_base, cnt); 96 error = copyin(iov->iov_base, cp, cnt); 102 bcopy(cp, iov->iov_base, cnt); 104 bcopy(iov->iov_base, cp, cnt); 109 iov->iov_base = (char *)iov->iov_base + cnt; 110 iov [all...] |
/freebsd-9.3-release/sys/mips/mips/ |
H A D | uio_machdep.c | 66 struct iovec *iov; local 82 iov = uio->uio_iov; 83 cnt = iov->iov_len; 112 error = copyout(cp, iov->iov_base, cnt); 114 error = copyin(iov->iov_base, cp, cnt); 123 bcopy(cp, iov->iov_base, cnt); 125 bcopy(iov->iov_base, cp, cnt); 134 iov->iov_base = (char *)iov->iov_base + cnt; 135 iov [all...] |
H A D | mem.c | 77 struct iovec *iov; local 91 iov = uio->uio_iov; 92 if (iov->iov_len == 0) { 103 cnt = PAGE_SIZE - ((vm_offset_t)iov->iov_base & 106 cnt = min(cnt, iov->iov_len); 117 + iov->iov_len); 133 if (kernacc((void *) va, iov->iov_len, prot) 139 error = uiomove((void *)va, iov->iov_len, uio);
|
/freebsd-9.3-release/sys/powerpc/powerpc/ |
H A D | uio_machdep.c | 65 struct iovec *iov; local 82 iov = uio->uio_iov; 83 cnt = iov->iov_len; 102 error = copyout(cp, iov->iov_base, cnt); 104 error = copyin(iov->iov_base, cp, cnt); 112 bcopy(cp, iov->iov_base, cnt); 114 bcopy(iov->iov_base, cp, cnt); 120 iov->iov_base = (char *)iov->iov_base + cnt; 121 iov [all...] |
/freebsd-9.3-release/sys/sparc64/sparc64/ |
H A D | uio_machdep.c | 67 struct iovec *iov; local 83 iov = uio->uio_iov; 84 cnt = iov->iov_len; 108 error = copyout(cp, iov->iov_base, cnt); 110 error = copyin(iov->iov_base, cp, cnt); 119 bcopy(cp, iov->iov_base, cnt); 121 bcopy(iov->iov_base, cp, cnt); 128 iov->iov_base = (char *)iov->iov_base + cnt; 129 iov [all...] |
/freebsd-9.3-release/usr.sbin/mount_portalfs/ |
H A D | activate.c | 68 struct iovec iov[2]; local 72 iov[0].iov_base = (caddr_t) pcr; 73 iov[0].iov_len = sizeof(*pcr); 74 iov[1].iov_base = key; 75 iov[1].iov_len = klen; 78 msg.msg_iov = iov; 97 struct iovec iov; local 108 iov.iov_base = (caddr_t) &error; 109 iov.iov_len = sizeof(error); 115 msg.msg_iov = &iov; [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | subr_uio.c | 161 struct iovec iov[1]; local 165 iov[0].iov_base = src; 166 iov[0].iov_len = len; 167 uio.uio_iov = iov; 182 struct iovec iov[1]; local 186 iov[0].iov_base = dst; 187 iov[0].iov_len = len; 188 uio.uio_iov = iov; 219 struct iovec *iov; local 245 iov 317 struct iovec *iov; local 358 struct iovec *iov; local 413 struct iovec *iov; local 490 copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) argument 510 struct iovec *iov; local [all...] |
/freebsd-9.3-release/sbin/mount_nfs/ |
H A D | mount_nfs.c | 133 static int fallback_mount(struct iovec *iov, int iovlen, int mntflags); 136 static int getnfsargs(char *, struct iovec **iov, int *iovlen); 144 char **errstr, struct iovec **iov, int *iovlen); 151 struct iovec *iov; local 159 iov = NULL; 181 build_iovec(&iov, &iovlen, "readahead", optarg, (size_t)-1); 188 build_iovec(&iov, &iovlen, "noconn", NULL, 0); 193 build_iovec(&iov, &iovlen, "deadthresh", optarg, (size_t)-1); 197 build_iovec(&iov, &iovlen, "dumbtimer", NULL, 0); 205 build_iovec(&iov, 440 findopt(struct iovec *iov, int iovlen, const char *name, char **valuep, int *lenp) argument 458 copyopt(struct iovec **newiov, int *newiovlen, struct iovec *iov, int iovlen, const char *name) argument 475 fallback_mount(struct iovec *iov, int iovlen, int mntflags) argument 699 getnfsargs(char *spec, struct iovec **iov, int *iovlen) argument 855 nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr, struct iovec **iov, int *iovlen) argument [all...] |
/freebsd-9.3-release/sbin/mksnap_ffs/ |
H A D | mksnap_ffs.c | 69 struct iovec *iov; local 115 iov = NULL; 117 build_iovec(&iov, &iovlen, "fstype", "ffs", 4); 118 build_iovec(&iov, &iovlen, "from", snapname, (size_t)-1); 119 build_iovec(&iov, &iovlen, "fspath", stfsbuf.f_mntonname, (size_t)-1); 120 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); 121 build_iovec(&iov, &iovlen, "update", NULL, 0); 122 build_iovec(&iov, &iovlen, "snapshot", NULL, 0); 125 if (nmount(iov, iovlen, stfsbuf.f_flags) < 0) {
|
/freebsd-9.3-release/usr.sbin/bluetooth/sdpd/ |
H A D | srr.c | 113 struct iovec iov[2]; local 123 iov[0].iov_base = &pdu; 124 iov[0].iov_len = sizeof(pdu); 126 iov[1].iov_base = srv->fdidx[fd].rsp; 127 iov[1].iov_len = srv->fdidx[fd].rsp_size; 130 size = writev(fd, (struct iovec const *) &iov, sizeof(iov)/sizeof(iov[0]));
|
/freebsd-9.3-release/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 310 struct iovec *iov; local 335 iov = malloc(niov * sizeof *iov); 336 if (iov == 0) 338 iov[0].iov_base = "\5"; 339 iov[1].iov_base = pp->remote_queue; 340 iov[2].iov_base = " "; 341 iov[3].iov_base = all ? "-all" : person; 344 iov[elem].iov_base = " "; 345 iov[ele [all...] |
/freebsd-9.3-release/sbin/mount/ |
H A D | getmntopts.c | 140 build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, argument 148 *iov = realloc(*iov, sizeof **iov * (i + 2)); 149 if (*iov == NULL) { 153 (*iov)[i].iov_base = strdup(name); 154 (*iov)[i].iov_len = strlen(name) + 1; 156 (*iov)[i].iov_base = val; 163 (*iov)[i].iov_len = (int)len; 172 build_iovec_argf(struct iovec **iov, in argument [all...] |
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/ |
H A D | tap.c | 133 struct iovec iov[4]; local 136 iov[0].iov_base = pkt->dst; 137 iov[0].iov_len = ETHER_ADDR_LEN; 138 iov[1].iov_base = pkt->src; 139 iov[1].iov_len = ETHER_ADDR_LEN; 140 iov[2].iov_base = pkt->type; 141 iov[2].iov_len = ETHER_TYPE_LEN; 142 iov[3].iov_base = pkt->ptr; 143 iov[3].iov_len = pkt->len; 146 nw = writev(chan->fd, iov, __arraycoun [all...] |
/freebsd-9.3-release/contrib/sendmail/libmilter/ |
H A D | comm.c | 230 ** 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...] |
/freebsd-9.3-release/lib/libc/resolv/ |
H A D | herror.c | 90 struct iovec iov[4], *v = iov; local 110 _writev(STDERR_FILENO, iov, (v - iov) + 1);
|
/freebsd-9.3-release/lib/libc/stdio/ |
H A D | fputws.c | 52 struct __siov iov; local 61 uio.uio_iov = &iov; 63 iov.iov_base = buf; 70 iov.iov_len = uio.uio_resid = nbytes;
|
H A D | perror.c | 54 struct iovec iov[4]; local 56 v = iov; 73 (void)_writev(stderr->_file, iov, (v - iov) + 1);
|
/freebsd-9.3-release/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 58 struct iovec iov[2]; local 86 iov[0].iov_base = tmp; 87 iov[0].iov_len = 4; 88 iov[1].iov_base = buf; 89 iov[1].iov_len = len; 92 mh.msg_iov = iov; 93 mh.msg_iovlen = sizeof(iov)/sizeof(struct iovec);
|
/freebsd-9.3-release/sys/mips/cavium/cryptocteon/ |
H A D | cavium_crypto.c | 62 #define IOV_INIT(iov, ptr, idx, len) \ 65 (ptr) = (iov)[(idx)].iov_base; \ 66 (len) = (iov)[(idx)].iov_len; \ 76 #define IOV_CONSUME(iov, ptr, idx, len) \ 85 (ptr) = (iov)[(idx)].iov_base; \ 86 (len) = (iov)[(idx)].iov_len; \ 345 struct iovec *iov, size_t iovcnt, size_t iovlen, 356 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || 358 dprintf("%s: Bad parameters od=%p iov=%p iovlen=%jd " 360 "icv_off=%d ivp=%p\n", __func__, od, iov, iovle 343 octo_des_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 406 octo_des_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 471 octo_aes_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 545 octo_aes_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 621 octo_null_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 727 octo_null_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 836 octo_des_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 989 octo_des_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1145 octo_des_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1301 octo_des_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1459 octo_aes_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1641 octo_aes_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1822 octo_aes_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 2023 octo_aes_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument [all...] |
/freebsd-9.3-release/sbin/mount_unionfs/ |
H A D | mount_unionfs.c | 131 struct iovec *iov; local 138 iov = NULL; 147 build_iovec(&iov, &iovlen, "below", NULL, 0); 164 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1); 186 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); 187 build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1); 188 build_iovec(&iov, &iovlen, "from", target, (size_t)-1); 189 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); 191 if (nmount(iov, iovlen, mntflags))
|