/illumos-gate/usr/src/cmd/lms/ |
H A D | ProtocolCompat.cpp | 50 int error = 0; local 82 error, PF_INET, type); 92 error, PF_INET, type); 140 if (-1 == _send(it->second->GetSocket(), (char *)msg->Data, ntohs(msg->DataLength), error)) { 141 if (EPIPE == error) {
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spdsockddi.c | 46 int error; local 50 error = mod_install(&modlinkage); 51 if (error != 0) 54 return (error); 60 int error; local 62 error = mod_remove(&modlinkage); 63 if (error != 0) 64 return (error);
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | ia.c | 56 int error; local 58 if ((error = mod_install(&modlinkage)) == 0) { 61 return (error);
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_sys.c | 39 int error = 0; local 97 error = EINVAL; 100 return (error ? set_errno(error) : 0);
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_error.c | 57 "No error (0)\n", 60 "DW_DLE_LEE 3 libelf error", 323 This function performs error handling as described in the 326 to the error descriptor that will be returned. Errval is an 327 error code listed in dwarf_error.h. 330 _dwarf_error(Dwarf_Debug dbg, Dwarf_Error * error, Dwarf_Sword errval) argument 336 want to report the upper-level error, not this one. */ 337 if (error != NULL) { 340 If dbg is NULL, use the alternate error struct. However, 341 this will overwrite the earlier error 386 dwarf_errno(Dwarf_Error error) argument 399 dwarf_errmsg(Dwarf_Error error) argument [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | chmod.c | 53 int error; local 63 error = fsetattrat(fd, path, flag, &vattr); 64 if (error) 65 return (set_errno(error));
|
H A D | mkdir.c | 57 int error; local 65 if ((error = fgetstartvp(fd, dname, &startvp)) != 0) 66 return (set_errno(error)); 70 error = vn_createat(dname, UIO_USERSPACE, &vattr, EXCL, 0, &vp, 74 if (error) 75 return (set_errno(error));
|
H A D | mount.c | 72 int error; local 99 if (error = lookupname(uap->dir, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) 100 return (set_errno(error)); 111 * an error. 113 error = ENOTSUP; 123 error = ENOTSUP; 125 error = domount("pxfs", uap, vp, CRED(), &vfsp); 126 if (!error) 130 error = domount(NULL, uap, vp, CRED(), &vfsp); 131 if (!error) [all...] |
H A D | rename.c | 55 int error; local 59 if ((error = fgetstartvp(ffd, from, &fstartvp)) != 0) 61 if ((error = fgetstartvp(tfd, to, &tstartvp)) != 0) 64 error = vn_renameat(fstartvp, from, tstartvp, to, UIO_USERSPACE); 71 if (error) 72 return (set_errno(error));
|
H A D | unlink.c | 54 int error; local 58 if ((error = fgetstartvp(fd, name, &startvp)) != 0) 59 return (set_errno(error)); 63 error = vn_removeat(startvp, name, UIO_USERSPACE, 67 if (error) 68 return (set_errno(error));
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kgtstate.c | 48 * or a positive error code. 76 int error; local 78 error = 0; 92 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(), 94 if (error) 95 return (error); 99 error = (retval >> 8) & 0xff; 101 error = t_tlitosyserr(retval & 0xff); 102 return (error); 138 error [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puterror.c | 46 puterror(FILE *fp, char *defmesg, char *error) argument 51 if (error == NULL) { 52 /* use default message since no error was provided */ 59 n = strlen(error); 60 if (error[0] == '~') { 66 ++error; 67 (void) strcat(tmp, error); 68 } else if (n && (error[n-1] == '~')) { 72 (void) strcat(tmp, error); 80 (void) strcat(tmp, error); [all...] |
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | re_comp.c | 31 #undef error macro 36 char error[64]; member in struct:__anon2607 65 regerror(r, &state.re, state.error, sizeof(state.error)); 66 return state.error;
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_physio.c | 65 int error = 0; local 95 error = as_pagelock(asp, &pplist, io_base, io_len, S_WRITE); 97 if (error != 0) { 99 bp->b_error = error; 103 return (error);
|
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_error.c | 41 * Retrieve the error string for the given error code. 43 * @param error 44 * If error is less than zero, it is assumed to be a 45 * custom error code. If error is greater than zero, it 46 * is assumed to be an error defined in errno.h. 48 * @return the error string set by volume_set_error() 49 * if error < 0 51 * @return the error strin 55 get_error_string( int error) argument [all...] |
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | psm.c | 82 char *error = "invalid input"; local 87 error = dlerror(); 91 detailed_error(svc, "psm_sym(%s): %s", name, error);
|
/illumos-gate/usr/src/lib/efcode/efdaemon/ |
H A D | efdaemon.c | 61 int error; local 160 syslog(LOG_ERR, "Wait error: %s\n", 163 syslog(LOG_ERR, "Wait error, expect pid: %d" 170 error = FC_FCODE_ABORT; 172 error = FC_EXEC_FAILED; 174 if (ioctl(fd, FC_SET_FCODE_ERROR, &error) < 0) {
|
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | dma.c | 72 int error; local 79 error = fc_run_priv(pd->common, "dma-map-in", 3, 1, 83 throw_from_fclib(env, error, "dma-map-in failed"); 93 int error; local 100 error = fc_run_priv(pd->common, "dma-map-out", 3, 0, fc_size2cell(len), 103 throw_from_fclib(env, error, "dma-map-out failed");
|
H A D | ioctl.c | 50 int i, error, no_err; local 72 error = ioctl(cdp->fcode_fd, FC_RUN_PRIV, cip); 79 if (error) 83 error = 1; 84 } else if (cip->error) { 86 error = 1; 88 if ((error & !no_err) || 90 if (error) 98 if (error) 109 return (error); [all...] |
/illumos-gate/usr/src/lib/efcode/packages/ |
H A D | memalloc.c | 48 int error; local 54 error = fc_run_priv(env->private, "claim-memory", 3, 1, 56 if (error) 67 int error; local 72 error = fc_run_priv(env->private, "release-memory", 2, 0, 74 if (error) 84 int error; local 88 error = fc_run_priv(env->private, "vtop", 1, 2, 90 if (error)
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ErrorEvent.java | 34 * Notification that DTrace has encountered an error. 44 private Error error; field in class:ErrorEvent 48 * errorEncountered()} event that reports an error encountered in 52 * @param dtraceError the error encountered by DTrace 53 * @throws NullPointerException if the given error is {@code null} 59 error = dtraceError; 66 if (error == null) { 67 throw new NullPointerException("error is null"); 72 * Gets the error reported by DTrace. 74 * @return non-null error reporte [all...] |
/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | socketpair.c | 102 int error = errno; local 105 errno = error; 112 int error = errno; local 116 errno = error;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_getitimer.c | 44 int error; local 77 error = Psyscall(Pr, &rval, SYS_getitimer, 2, &argd[0]); 79 if (error) { 80 errno = (error > 0)? error : ENOSYS; 101 int error; local 160 error = Psyscall(Pr, &rval, SYS_setitimer, 3, &argd[0]); 162 if (error) { 163 errno = (error > 0)? error [all...] |
H A D | pr_getrctl.c | 47 int error; local 110 error = Psyscall(Pr, &rval, SYS_rctlsys, 6, &argd[0]); 112 if (error) { 113 errno = (error > 0) ? error : ENOSYS; 129 int error; local 192 error = Psyscall(Pr, &rval, SYS_rctlsys, 6, &argd[0]); 194 if (error) { 195 errno = (error > 0) ? error 211 int error; local [all...] |
H A D | pr_getrlimit.c | 48 int error; local 76 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]); 78 if (error) { 79 errno = (error > 0)? error : ENOSYS; 96 int error; local 124 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]); 126 if (error) { 127 errno = (error > 0)? error 144 int error; local 192 int error; local [all...] |