/titanic_50/usr/src/uts/common/syscall/ |
H A D | sendfile.c | 146 aiov.iov_len = sfv_len; in sendvec_chunk64() 251 size_t iov_len; in sendvec_chunk64() local 253 iov_len = MIN(size, sfv_len); in sendvec_chunk64() 255 aiov.iov_len = iov_len; in sendvec_chunk64() 259 auio.uio_resid = iov_len; in sendvec_chunk64() 287 cnt = iov_len - auio.uio_resid; in sendvec_chunk64() 304 aiov.iov_len = cnt; in sendvec_chunk64() 416 size_t iov_len; in sendvec_small_chunk() local 492 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() 502 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() [all …]
|
/titanic_50/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | main.c | 77 piov[0].iov_len = sizeof (oper); in init_proc() 80 piov[1].iov_len = sizeof (pflags); in init_proc() 91 piov[1].iov_len = sizeof (sigset); in init_proc() 101 piov[1].iov_len = sizeof (fltset); in init_proc() 111 piov[1].iov_len = sizeof (sysset); in init_proc() 217 piov[0].iov_len = sizeof (oper); in main() 244 piov[1].iov_len = sizeof (pflags); in main() 259 piov[1].iov_len = sizeof (sysset); in main() 276 piov[1].iov_len = sizeof (pflags); in main() 306 piov[1].iov_len = sizeof (pflags); in main()
|
H A D | bpt.c | 300 piov[0].iov_len = sizeof (oper1); in continue_to_break() 303 piov[1].iov_len = sizeof (faults); in continue_to_break() 307 piov[2].iov_len = sizeof (oper2); in continue_to_break() 310 piov[3].iov_len = sizeof (pflags); in continue_to_break() 314 piov[4].iov_len = sizeof (oper3); in continue_to_break() 419 piov[0].iov_len = sizeof (oper); in step_n() 442 piov[1].iov_len = sizeof (faults); in step_n() 449 piov[1].iov_len = sizeof (flags); in step_n()
|
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | atomicio.c | 86 for (; iovcnt > 0 && iov[0].iov_len > 0;) { in atomiciov() 100 while (iovcnt > 0 && rem >= iov[0].iov_len) { in atomiciov() 101 rem -= iov[0].iov_len; in atomiciov() 106 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { in atomiciov() 114 iov[0].iov_len -= rem; in atomiciov()
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | _perror.c | 46 v->iov_len = strlen(s); 49 v->iov_len = 2; 54 v->iov_len = strlen(v->iov_base); 57 v->iov_len = 1;
|
H A D | _psignal.c | 47 v->iov_len = strlen(s); 50 v->iov_len = 2; 55 v->iov_len = strlen(v->iov_base); 58 v->iov_len = 1;
|
/titanic_50/usr/src/uts/common/os/ |
H A D | move.c | 71 cnt = MIN(iov->iov_len, n); in uiomove() 105 iov->iov_len -= cnt; in uiomove() 133 cnt = MIN(iov->iov_len, n); in uio_prefaultpages() 197 cnt = MIN(iov->iov_len, n); in uiocopy() 260 if (iovp->iov_len <= 0) { in ureadc() 296 iovp->iov_len--; in ureadc() 325 if (iovp->iov_len <= 0) { in uwritec() 358 iovp->iov_len--; in uwritec() 374 register size_t niovb = MIN(iovp->iov_len, n); in uioskip() 383 iovp->iov_len -= niovb; in uioskip() [all …]
|
/titanic_50/usr/src/lib/libresolv2/common/resolv/ |
H A D | herror.c | 99 v->iov_len = strlen(t); in herror() 103 v->iov_len = 2; in herror() 108 v->iov_len = strlen(v->iov_base); in herror() 112 v->iov_len = 1; in herror()
|
/titanic_50/usr/src/lib/libfakekernel/common/ |
H A D | uio.c | 37 cnt = MIN(iov->iov_len, n); in uiomove() 57 iov->iov_len -= cnt; in uiomove() 76 size_t niovb = MIN(iovp->iov_len, n); in uioskip() 85 iovp->iov_len -= niovb; in uioskip()
|
/titanic_50/usr/src/lib/libslp/clib/ |
H A D | DAAdvert.c | 72 iov[0].iov_len = off - tmp_off; in slp_unpackDAAdvert() 80 iov[1].iov_len = off - tmp_off; in slp_unpackDAAdvert() 88 iov[3].iov_len = off - tmp_off; in slp_unpackDAAdvert() 96 iov[2].iov_len = off - tmp_off; in slp_unpackDAAdvert() 104 iov[4].iov_len = off - tmp_off; in slp_unpackDAAdvert()
|
H A D | SLPReg.c | 266 (*msg)->urlbytes.iov_len = len - tmplen; in packSrvReg() 269 (*msg)->msgiov[0].iov_len = len; in packSrvReg() 293 (*msg)->attrbytes.iov_len = len - tmplen; in packSrvReg() 296 (*msg)->msgiov[2].iov_len = len - (*msg)->msgiov[0].iov_len; in packSrvReg() 306 msgLen += (*msg)->msgiov[SLP_URL_AUTH].iov_len; in packSrvReg() 307 msgLen += (*msg)->msgiov[SLP_ATTR_AUTH].iov_len; in packSrvReg() 462 (*msg)->urlbytes.iov_len = len - tmplen; in packSrvDereg() 465 (*msg)->msgiov[0].iov_len = len; in packSrvDereg() 481 (*msg)->msgiov[2].iov_len = len - (*msg)->msgiov[0].iov_len; in packSrvDereg() 484 msgLen += (*msg)->msgiov[SLP_URL_AUTH].iov_len; in packSrvDereg()
|
H A D | SAAdvert.c | 61 iov[0].iov_len = off - tmp_off; in slp_unpackSAAdvert() 69 iov[2].iov_len = off - tmp_off; in slp_unpackSAAdvert() 77 iov[1].iov_len = off - tmp_off; in slp_unpackSAAdvert()
|
H A D | SLPFindSrvTypes.c | 176 msg->prlistlen.iov_len = 2; in slp_packSrvTypeRqst() 178 msg->iov[1].iov_len = 2; in slp_packSrvTypeRqst() 181 msg->scopeslen.iov_len = 2; in slp_packSrvTypeRqst() 183 msg->iov[4].iov_len = 2; in slp_packSrvTypeRqst() 200 msg->iov[3].iov_len = len - tmplen; in slp_packSrvTypeRqst()
|
/titanic_50/usr/src/cmd/sendmail/libmilter/ |
H A D | comm.c | 254 while (iovcnt > 0 && iov[0].iov_len == 0) 291 if (iov[i].iov_len > (unsigned int) n) 294 iov[i].iov_len -= (unsigned int) n; 297 n -= (int) iov[i].iov_len; 298 iov[i].iov_len = 0; 344 iov[0].iov_len = sl; 349 iov[1].iov_len = len;
|
/titanic_50/usr/src/uts/common/crypto/io/ |
H A D | arcfour.c | 271 end = input->cd_raw.iov_base + input->cd_raw.iov_len; in rc4_crypt_update() 326 offset >= uiop->uio_iov[vec_idx].iov_len; in rc4_crypt_update() 327 offset -= uiop->uio_iov[vec_idx++].iov_len) in rc4_crypt_update() 340 cur_len = MIN(iovp->iov_len - offset, length); in rc4_crypt_update() 378 end = input->cd_raw.iov_base + input->cd_raw.iov_len; in rc4_crypt_update() 443 offset >= uiop->uio_iov[vec_idx].iov_len; in rc4_crypt_update() 444 offset -= uiop->uio_iov[vec_idx++].iov_len) in rc4_crypt_update() 456 cur_len = MIN(iovp->iov_len - offset, length); in rc4_crypt_update() 545 out->cd_raw.iov_len); in crypto_arcfour_crypt() 600 offset >= uiop->uio_iov[vec_idx].iov_len; in crypto_arcfour_crypt() [all …]
|
/titanic_50/usr/src/common/crypto/modes/ |
H A D | modes.c | 56 offset >= uiop->uio_iov[vec_idx].iov_len; in crypto_init_ptrs() 57 offset -= uiop->uio_iov[vec_idx++].iov_len) in crypto_init_ptrs() 99 if ((offset + amt) <= iov->iov_len) { in crypto_get_ptrs() 122 if (offset + amt <= iov->iov_len) { in crypto_get_ptrs() 129 *out_data_1_len = iov->iov_len - offset; in crypto_get_ptrs()
|
/titanic_50/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 47 rcode = write(fd, tv->iov_base, tv->iov_len); in __writev() 73 int written = write(fd, vp->iov_base, vp->iov_len); 78 if (written != vp->iov_len)
|
H A D | readv.c | 27 int bytes = read(fd, vp->iov_base, vp->iov_len); 32 if (bytes != vp->iov_len)
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_sign_kcf.c | 74 data.cd_raw.iov_len = len; in smb_md5_update() 93 out.cd_raw.iov_len = MD5_DIGEST_LENGTH; in smb_md5_final() 151 data.cd_raw.iov_len = len; in smb2_hmac_update() 172 out.cd_raw.iov_len = SHA256_DIGEST_LENGTH; in smb2_hmac_final()
|
/titanic_50/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 109 iov->iov_len = optlen; in spoof_prepare_lla() 131 iov->iov_len = sizeof (*pip); in spoof_prepare_pi() 143 iov->iov_len = sizeof (*ichdrp); in spoof_prepare_header() 218 for (iovs[1].iov_len--; iovs[1].iov_len > 0; iovs[1].iov_len--) { in spoof_bad_lla_optlen_test() 289 for (iovs[2].iov_len--; iovs[2].iov_len > 0; iovs[2].iov_len--) { in spoof_bad_pi_optlen_test()
|
/titanic_50/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 62 offset >= uiop->uio_iov[vec_idx].iov_len; in crypto_uio_data() 63 offset -= uiop->uio_iov[vec_idx++].iov_len) in crypto_uio_data() 75 cur_len = MIN(uiop->uio_iov[vec_idx].iov_len - in crypto_uio_data() 212 if (output->cd_raw.iov_len < len) { in crypto_put_output_data() 248 if (input->cd_raw.iov_len < input->cd_length) in crypto_get_input_data() 409 if (input->cd_raw.iov_len < input->cd_length) in crypto_update_iov() 444 offset >= uiop->uio_iov[vec_idx].iov_len; in crypto_update_uio() 445 offset -= uiop->uio_iov[vec_idx++].iov_len) in crypto_update_uio() 459 cur_len = MIN(uiop->uio_iov[vec_idx].iov_len - in crypto_update_uio()
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | port-sockets.h | 131 ((SG)->iov_len < (N) \ 134 (SG)->iov_len -= (N), 0)) 136 #define SG_LEN(SG) ((SG)->iov_len + 0) 138 #define SG_SET(SG, B, L) ((SG)->iov_base = (char*)(B), (SG)->iov_len = (L))
|
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/ |
H A D | hash_kef_generic.c | 33 v2.iov_len = output->length; in k5_ef_hash() 58 v1.iov_len = input[i].length; in k5_ef_hash() 106 v2.iov_len = output->length; in k5_ef_mac() 128 v1.iov_len = input->length; in k5_ef_mac()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | uio.h | 65 size_t iov_len; member 71 size_t iov_len; 73 long iov_len; 84 int32_t iov_len; member
|
/titanic_50/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_streams.c | 52 ret.iov_len = cnt; in evConsIovec() 212 str->ioTotal += iov[i].iov_len; in copyvec() 225 if (bytes < (size_t)str->iovCur->iov_len) { in consume() 226 str->iovCur->iov_len -= bytes; in consume() 232 bytes -= str->iovCur->iov_len; in consume() 233 str->ioDone += str->iovCur->iov_len; in consume()
|