/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_string.c | 46 Dwarf_Signed * returned_str_len, Dwarf_Error * error) 51 _dwarf_error(NULL, error, DW_DLE_DBG_NULL); 61 _dwarf_error(dbg, error, DW_DLE_DEBUG_STR_OFFSET_BAD); 66 _dwarf_error(dbg, error, DW_DLE_STRING_PTR_NULL); 70 res = _dwarf_load_section(dbg, &dbg->de_debug_str,error); 43 dwarf_get_str(Dwarf_Debug dbg, Dwarf_Off offset, char **string, Dwarf_Signed * returned_str_len, Dwarf_Error * error) argument
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | gethostid.c | 57 int error; local 59 error = sysinfo(SI_HW_SERIAL, name, HOSTIDLEN); 61 * error > 0 ==> number of bytes to hold name 65 if (error == -1)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | cladm.c | 39 int error = 0; local 45 error = EINVAL; 57 error = EFAULT; 70 /* return error if not configured as a cluster */ 72 error = ENOSYS; 77 error = copyout(&nid, arg, sizeof (nid)); 85 error = EINVAL; 88 error = cladmin(fac, cmd, arg); 90 * error will be -1 if the cladm module cannot be loaded; 94 if (error < [all...] |
H A D | fdsync.c | 55 register int error; local 67 if (error = VOP_FSYNC(fp->f_vnode, syncflag, fp->f_cred, NULL)) 68 (void) set_errno(error); 71 error = set_errno(EBADF); 72 return (error);
|
H A D | nice.c | 54 int error = 0; local 64 if (error == 0 && err) 65 error = set_errno(err); 68 if (error) 69 return (error);
|
H A D | resolvepath.c | 40 int error; local 44 if (error = pn_get(path, UIO_USERSPACE, &lookpn)) 45 return (set_errno(error)); 47 error = lookuppn(&lookpn, &resolvepn, FOLLOW, NULL, NULL); 48 if (error == 0) { 52 error = EFAULT; 57 if (error) 58 return (set_errno(error));
|
H A D | sigsendset.c | 49 int error; local 64 if (error = sigsendset(&set, &v)) 65 return (set_errno(error));
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_mod.c | 51 int error; local 54 error = mod_install(&modlinkage); 55 if (error != 0) 58 return (error); 65 int error; local 67 error = mod_remove(&modlinkage); 68 if (error == 0) 71 return (error);
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | edonr_mod.c | 51 int error; local 53 if ((error = mod_install(&modlinkage)) != 0) 54 return (error);
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_audit.c | 38 char *name, char *descr_arg, int status, int error) 77 (void) adt_put_event(edata, status, error); 37 nwam_record_audit_event(const ucred_t *ucr, au_event_t eid, char *name, char *descr_arg, int status, int error) argument
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_door.c | 45 int error; local 91 error = Psyscall(Pr, &rval, SYS_door, 6, &argd[0]); 93 if (error) { 94 errno = (error < 0)? ENOSYS : error;
|
H A D | pr_exit.c | 44 int error; local 58 error = Psyscall(Pr, &rval, SYS_exit, 1, &argd[0]); 61 if (error < 0) { 63 error = ENOENT; 65 error = ENOSYS; 68 if (error == 0) /* can't happen? */ 71 if (error == ENOENT) /* expected case */ 74 errno = error; 85 int error; local 92 error [all...] |
H A D | pr_fcntl.c | 45 int error; local 133 error = Psyscall(Pr, &rval, SYS_fcntl, 3, &argd[0]); 135 if (error) { 136 errno = (error > 0)? error : ENOSYS;
|
H A D | pr_ioctl.c | 44 int error; local 77 error = Psyscall(Pr, &rval, SYS_ioctl, 3, &argd[0]); 79 if (error) { 80 errno = (error > 0)? error : ENOSYS;
|
H A D | pr_pbind.c | 42 int error; local 82 error = Psyscall(Pr, &rval, SYS_processor_bind, 4, &argd[0]); 84 if (error) { 85 errno = (error < 0)? ENOSYS : error;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fdopendir.c | 55 int error = 0; local 69 error = ENOTDIR; 84 if (error) 85 errno = error;
|
H A D | ftok.c | 49 int error; local 58 if ((error = getattrat(AT_FDCWD, XATTR_VIEW_READONLY, 62 if ((error = libc_nvlist_lookup_uint64(nvp, 68 if (error)
|
H A D | posix_fallocate.c | 36 * Return the proper Posix error number for a failed (EINVAL) fcntl() operation. 42 int error; local 45 error = EBADF; 47 error = ESPIPE; 49 error = ENODEV; 51 error = EINVAL; 53 return (error); 60 int error; local 71 if ((error = errno) == EINVAL) 72 error 86 int error; local [all...] |
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | lwp_cond.c | 39 int error; local 41 error = ___lwp_cond_wait(cv, mp, NULL, 0); 46 return (error); 52 int error; local 57 error = ___lwp_cond_wait(cv, mp, relts, 0); 62 return (error);
|
H A D | readlink.c | 35 int error; local 37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize); 38 if (error) 39 (void) __set_errno(error); 49 int error; local 51 error = __systemcall(&rval, SYS_readlink, path, buf, bufsize); 52 if (error) 53 (void) __set_errno(error);
|
/illumos-gate/usr/src/lib/libipmp/common/ |
H A D | ipmp.c | 41 * error code. 106 * Return a string describing the IPMP error code named by `error'. 109 ipmp_errmsg(int error) argument 111 if (error >= IPMP_NERR || error < 0) 112 return (dgettext(TEXT_DOMAIN, "<unknown error>")); 114 if (error == IPMP_FAILURE) 117 return (dgettext(TEXT_DOMAIN, errmsgs[error]));
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_error.c | 50 "Unknown SMBIOS error" /* ESMB_UNKNOWN */ 56 smbios_errmsg(int error) argument 60 if (error >= ESMB_BASE && (error - ESMB_BASE) < _smb_nerr) 61 str = _smb_errlist[error - ESMB_BASE]; 63 str = smb_strerror(error); 65 return (str ? str : "Unknown error"); 75 smb_set_errno(smbios_hdl_t *shp, int error) argument 77 shp->sh_err = error;
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | demangle.c | 40 * size for fear of a C++ error sending us into an infinit loop. 44 * Normally this is sufficient for typical error diagnostics referencing one 66 int error; local 88 if ((error = (*fptr)(name, str, size)) == 0) 91 while ((error == DEMANGLE_ESPACE) && again) { 111 if ((error = (*fptr)(name, str, size)) == 0)
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | lookup.c | 70 int error, opt; local 74 error = nb_ctx_create(&ctx); 75 if (error) { 76 smb_error(gettext("unable to create nbcontext"), error); 104 error = nbns_resolvename(hostname, ctx, &sap); 105 if (error) { 106 smb_error(gettext("unable to resolve %s"), error, hostname);
|
/illumos-gate/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 40 DBusError error; local 50 dbus_error_init(&error); 51 if ((ctx = libhal_ctx_init_direct(&error)) == NULL) 79 libhal_ctx_shutdown(ctx, &error); 81 if (dbus_error_is_set(&error)) { 82 dbus_error_free(&error);
|