Searched defs:errno (Results 26 - 50 of 98) sorted by relevance

1234

/illumos-gate/usr/src/lib/libumem/common/
H A Dlinktest_stand.c70 int errno; variable
/illumos-gate/usr/src/lib/libpkg/common/
H A Dgpkglist.c36 #include <errno.h>
83 progerr(pkg_gt(ERR_MEMORY), errno); local
84 errno = ENOMEM;
128 errno = ENOPKG; /* contains no valid packages */
141 errno = EFAULT;
153 errno = EFAULT;
166 errno = ((n == 3) ? EINTR : EFAULT);
216 errno = ESRCH;
235 errno = ESRCH;
/illumos-gate/usr/src/cmd/bnu/
H A Danlwrk.c100 errent(Ct_OPEN,file,errno, __FILE__, __LINE__);
133 ASSERT(unlink(file) == 0, Ct_UNLINK, file, errno); local
157 errent(Ct_OPEN, afile, errno, __FILE__, __LINE__);
214 ASSERT(chdir(newspool) == 0, Ct_CHDIR, newspool, errno); local
H A Duucico.c278 ASSERT(chdir(Spool) == 0, Ct_CHDIR, Spool, errno); local
290 errent(Ct_OPEN, RMTDEBUG, errno, __FILE__, __LINE__);
994 sprintf(msgbuf, "Execlp of %s failed with errno=%%d\n",
996 DEBUG(4, msgbuf, errno);
998 cleanup(errno);
1001 cleanup(errno);
1004 if (waitrv == -1 && errno != EINTR)
1005 cleanup(errno);
H A Duux.c37 ASSERT(fprintf(f, "S %s %s %s -%s %s 0666 %s %s\n", a, b, User, _Statop?"o":"", c, User, _Sfile) >= 0, Ct_WRITE, "", errno);\
43 >= 0, Ct_WRITE, "", errno);\
387 ASSERT(access(cfile, 0) != 0, Fl_EXISTS, cfile, errno);
389 ASSERT(ret >= 0 && fpc != NULL, Ct_OPEN, cfile, errno);
404 ASSERT(access(rxfile, 0) != 0, Fl_EXISTS, rxfile, errno);
406 ASSERT(ret >= 0 && fprx != NULL, Ct_WRITE, rxfile, errno);
456 ASSERT(access(dfile, 0) != 0, Fl_EXISTS, dfile, errno);
458 ASSERT(ret >= 0 && fpd != NULL, Ct_OPEN, dfile, errno);
466 dfile, errno);
468 ASSERT(fflush(fpd) != EOF && ferror(fpd) == 0, Ct_WRITE, dfile, errno); local
756 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local
831 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local
849 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, t2file, errno); local
887 ASSERT(fflush(fprx) != EOF && ferror(fprx) == 0, Ct_WRITE, rxfile, errno); local
912 ASSERT(fflush(fpc) != EOF && ferror(fpc) == 0, Ct_WRITE, cfile, errno); local
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_dsa.c149 dca_dsa_sign_done(dca_request_t *reqp, int errno) argument
151 if (errno == CRYPTO_SUCCESS) {
157 errno = CRYPTO_DEVICE_ERROR;
165 errno = dca_scatter(reqp->dr_obuf_kaddr,
167 if (errno != CRYPTO_SUCCESS) {
172 errno = dca_scatter(reqp->dr_obuf_kaddr+DSAPARTLEN,
174 if (errno != CRYPTO_SUCCESS) {
183 crypto_op_notification(reqp->dr_kcf_req, errno);
186 errno);
325 dca_dsa_verify_done(dca_request_t *reqp, int errno) argument
[all...]
H A Ddca_3des.c530 dca_3desdone(dca_request_t *reqp, int errno) argument
536 if (errno == CRYPTO_SUCCESS) {
553 errno = CRYPTO_DEVICE_ERROR;
557 errno = dca_scatter(reqp->dr_obuf_kaddr,
559 if (errno != CRYPTO_SUCCESS) {
584 errno = dca_getbufbytes(out, off, DESBLOCK,
586 if (errno != CRYPTO_SUCCESS) {
609 errno = dca_3desstart(reqp->dr_dca, reqp->dr_flags,
611 if (errno == CRYPTO_QUEUED) {
624 if ((errno
[all...]
/illumos-gate/usr/src/uts/common/zmod/
H A Dzutil.c146 * errno. We define it as a global variable to simplify porting.
149 int errno = 0; variable
H A Dzutil.h34 * errno. We define it as a global variable to simplify porting.
38 # define errno z_errno macro
40 extern int errno;
43 # include <sys/errno.h>
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_init.c65 sda_err_t errno; local
71 errno = sda_cmd_exec(slot, cmdp, resp);
75 return (errno);
83 sda_err_t errno; local
89 errno = sda_cmd_exec(slot, cmdp, resp);
93 return (errno);
586 sda_err_t errno; local
604 errno = sda_cmd_exec(slot, cmdp, NULL);
608 return (errno);
H A Dsda_mem.c57 sda_mem_errno(sda_err_t errno) argument
60 if (errno == SDA_EOK) {
64 switch (errno) {
89 int errno = sda_cmd_errno(cmdp); local
91 bd_xfer_done(xfer, sda_mem_errno(errno));
H A Dsda_cmd.c161 sda_cmd_notify(sda_cmd_t *cmdp, uint16_t flags, sda_err_t errno) argument
175 c->c_errno = errno;
206 sda_err_t errno = 0; local
217 errno = SDA_EFAULT;
220 errno = SDA_ENODEV;
222 if (errno != SDA_EOK) {
231 * the errno.
233 sda_cmd_notify(cmdp, 0, errno);
338 int errno; local
363 errno
[all...]
H A Dsda_slot.c280 sda_slot_abort(sda_slot_t *slot, sda_err_t errno) argument
288 sda_cmd_notify(cmdp, 0, errno);
293 sda_cmd_notify(cmdp, 0, errno);
301 sda_slot_handle_transfer(sda_slot_t *slot, sda_err_t errno) argument
316 sda_cmd_notify(cmdp, SDA_CMDF_DAT, errno);
420 sda_slot_transfer(sda_slot_t *slot, sda_err_t errno) argument
423 slot->s_errno = errno;
671 sda_err_t errno; local
673 errno = slot->s_errno;
678 sda_slot_handle_transfer(slot, errno);
[all...]
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_cck_common.c36 #include <sys/errno.h>
77 char **outbuf, size_t *outbytesleft, int *errno,
92 *errno = EBADF;
163 *errno = EILSEQ;
193 int flag, int *errno, kiconv_utf8tocck_t ptr_utf8tocck)
255 *errno = EILSEQ;
76 kiconv_utf8_to_cck(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno, kiconv_utf8tocck_t ptr_utf8tocck) argument
192 kiconvstr_utf8_to_cck(uchar_t *ib, size_t *inlen, uchar_t *ob, size_t *outlen, int flag, int *errno, kiconv_utf8tocck_t ptr_utf8tocck) argument
/illumos-gate/usr/src/boot/lib/libz/
H A Dzutil.c144 * errno. We define it as a global variable to simplify porting.
147 int errno = 0; variable
/illumos-gate/usr/src/cmd/sendmail/src/
H A Derr.c72 ** - syserr decides what class of error this is by looking at errno.
79 errno = ENOMEM;
96 ** reply code defaults to 451 or 554, depending on errno.
131 int save_errno = errno;
256 errno = 0;
460 errno = 0; local
514 errno = 0; local
659 shortenstring(msg, MAXSHORTSTR), sm_errstring(errno));
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dsd.c38 #include <errno.h>
103 int errno; variable
287 "current node with errno %d\n", errno);
506 logmsg(MSG_INFO, "The errno is %d\n", errno);
676 errno = 0;
679 if (errno == EPERM || errno == EACCES) {
686 strerror(errno));
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dcheckmap.c34 #include <errno.h>
70 #define ERR_NOMEM "unable to allocate dynamic memory, errno=%d"
358 progerr(gettext(ERR_NOMEM), errno); local
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/
H A Dmain.c41 #include <errno.h>
60 #define ERR_MEMORY "memory allocation failure, errno=%d"
490 progerr(gettext(ERR_MEMORY), errno); local
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subrs.c209 int errno; member in struct:nt2errno
858 for (nt2e = nt2errno; nt2e->errno; nt2e++)
860 return (nt2e->errno);
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ko/
H A Dkiconv_ko.c37 #include <sys/errno.h>
86 char **outbuf, size_t *outbufleft, int *errno)
98 *errno = EBADF;
172 size_t *outlen, int flag, int *errno)
254 char **outbuf, size_t *outbufleft, int *errno)
266 *errno = EBADF;
340 size_t *outlen, int flag, int *errno)
422 char **outbuf, size_t *outbytesleft, int *errno)
425 outbytesleft, errno, utf8_to_euckr));
433 char **outbuf, size_t *outbytesleft, int *errno)
85 kiconv_fr_euckr(void *kcd, char **inbuf, size_t *inbufleft, char **outbuf, size_t *outbufleft, int *errno) argument
171 kiconvstr_fr_euckr(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
253 kiconv_fr_uhc(void *kcd, char **inbuf, size_t *inbufleft, char **outbuf, size_t *outbufleft, int *errno) argument
339 kiconvstr_fr_uhc(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
421 kiconv_to_euckr(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
432 kiconv_to_uhc(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
443 kiconvstr_to_euckr(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
454 kiconvstr_to_uhc(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Derror.h44 #include <errno.h>
48 #if !defined(errno) && defined(__DYNAMIC__)
49 #define errno __DYNAMIC__(errno) macro
79 #define ERROR_SYSTEM 0x0100 /* report system errno message */
139 int last_errno; /* last reported errno */
159 #ifndef errno
160 extern __MANGLE__ int errno; /* system call error status */
/illumos-gate/usr/src/lib/libast/common/include/
H A Derror.h35 #include <errno.h>
39 #if !defined(errno) && defined(__DYNAMIC__)
40 #define errno __DYNAMIC__(errno) macro
70 #define ERROR_SYSTEM 0x0100 /* report system errno message */
130 int last_errno; /* last reported errno */
150 #ifndef errno
151 extern int errno; /* system call error status */
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Derror.h44 #include <errno.h>
48 #if !defined(errno) && defined(__DYNAMIC__)
49 #define errno __DYNAMIC__(errno) macro
79 #define ERROR_SYSTEM 0x0100 /* report system errno message */
139 int last_errno; /* last reported errno */
159 #ifndef errno
160 extern __MANGLE__ int errno; /* system call error status */
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Derror.h44 #include <errno.h>
48 #if !defined(errno) && defined(__DYNAMIC__)
49 #define errno __DYNAMIC__(errno) macro
79 #define ERROR_SYSTEM 0x0100 /* report system errno message */
139 int last_errno; /* last reported errno */
159 #ifndef errno
160 extern __MANGLE__ int errno; /* system call error status */

Completed in 95 milliseconds

1234