Home
last modified time | relevance | path

Searched refs:iocnt (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_streams.c36 static int copyvec(evStream *str, const struct iovec *iov, int iocnt);
53 evWrite(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evWrite() argument
67 if (copyvec(new, iov, iocnt) < 0) in evWrite()
87 evRead(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evRead() argument
101 if (copyvec(new, iov, iocnt) < 0) in evRead()
197 copyvec(evStream *str, const struct iovec *iov, int iocnt) { in copyvec() argument
200 str->iovOrig = (struct iovec *)memget(sizeof(struct iovec) * iocnt); in copyvec()
206 for (i = 0; i < iocnt; i++) { in copyvec()
210 str->iovOrigCount = iocnt; in copyvec()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_authenticate.c847 size_t iocnt = 0; in smb_authsock_send() local
849 rc = ksocket_send(so, buf, len, 0, &iocnt, CRED()); in smb_authsock_send()
850 if (rc == 0 && iocnt != len) { in smb_authsock_send()
851 DTRACE_PROBE1(short, size_t, iocnt); in smb_authsock_send()
865 size_t iocnt = 0; in smb_authsock_recv() local
867 rc = ksocket_recv(so, buf, len, MSG_WAITALL, &iocnt, CRED()); in smb_authsock_recv()
869 if (iocnt == 0) { in smb_authsock_recv()
872 } else if (iocnt != len) { in smb_authsock_recv()
874 DTRACE_PROBE1(short, size_t, iocnt); in smb_authsock_recv()
H A Dsmb_opipe.c195 size_t iocnt = 0; in smb_opipe_send_userinfo() local
231 &iocnt, sr->user_cr); in smb_opipe_send_userinfo()
232 if (rc == 0 && iocnt != buflen) in smb_opipe_send_userinfo()
236 0, &iocnt, sr->user_cr); in smb_opipe_send_userinfo()
237 if (rc == 0 && iocnt != sizeof (status)) in smb_opipe_send_userinfo()