/opensolaris-onvv-gate/usr/src/uts/common/syscall/ |
H A D | ioctl.c | 64 int error = 0; local 92 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); 93 if (error) { 95 return (set_errno(error)); 129 error = VOP_IOCTL(fp->f_vnode, cmd, arg, flag, CRED(), &rv, NULL); 130 if (error != 0) { 132 return (set_errno(error));
|
H A D | pipe.c | 113 int error = 0; local 127 if (error = falloc(vp1, FWRITE|FREAD, &fp1, &fd1)) { 130 return ((longlong_t)set_errno(error)); 133 if (error = falloc(vp2, FWRITE|FREAD, &fp2, &fd2)) 139 if (error = fifo_stropen(&vp1, FWRITE|FREAD, fp1->f_cred, 0, 0)) 142 if (error = fifo_stropen(&vp2, FWRITE|FREAD, fp2->f_cred, 0, 0)) { 176 return ((longlong_t)set_errno(error));
|
/opensolaris-onvv-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 164 int error = 0; local 192 error = VOP_GETATTR(dv->dv_attrvp, vap, flags, cr, ct); 193 dsysdebug(error, ("vop_getattr %s %d\n", dv->dv_name, error)); 210 return (error); 226 int error = 0; local 242 error = secpolicy_vnode_setattr(cr, vp, vap, 245 if (error) 282 error = VOP_SETATTR(dv->dv_attrvp, 284 dsysdebug(error, 349 int error = 0; local 617 int error; local 651 int error; local 832 int error; local 870 int error; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg.y | 67 * an additional error rule (per command) to catch extra arguments. 115 | error terminator { semerr(gettext("Syntax error.\n")); } 144 | SCC_VALIDATE error terminator { synerr(SCC_VALIDATE); return(0); } 163 | SCC_IMPORT error terminator { synerr(SCC_IMPORT); return(0); } 180 | SCC_CLEANUP error terminator { synerr(SCC_CLEANUP); return(0); } 222 | SCC_EXPORT error terminator { synerr(SCC_EXPORT); return(0); } 257 | SCC_ARCHIVE error terminator { synerr(SCC_ARCHIVE); return(0); } 264 | SCC_RESTORE error terminator { synerr(SCC_RESTORE); return(0); } 291 | SCC_APPLY error terminato [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_map.c | 72 uint_t error; local 75 if ((fdb = ypset_current_map(map, domain, &error)) != NULL) { 144 * ndbm operations. Returns an YP_xxxx error code in error if FALSE. 147 ypset_current_map(char *map, char *domain, uint_t *error) argument 157 *error = YP_BADARGS; 183 *error = YP_BADDB; 185 *error = YP_NOMAP; 189 *error = YP_NODOM; 212 * FALSE otherwise. If FALSE then sets *error t 215 yp_map_access(SVCXPRT *transp, uint_t *error, DBM *fdb) argument [all...] |
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/util/ |
H A D | mkbimage | 113 error () 156 error must_be_root 196 error must_be_root 206 [ $# -eq 0 ] && error missing_option; 212 [ ! -d "$1" ] && error wrong_directory;; 215 [ -z "$tarfile" ] && error missing_argument;; 225 *) error option ;; 230 [ ! "$tarfile" ] && error missing_argument; 231 [ ! -s "$tarfile" ] && error wrong_file; 239 error wrong_typ [all...] |
/opensolaris-onvv-gate/usr/src/lib/libast/common/sfio/ |
H A D | vthread.h | 139 int error; member in struct:_vtmutex_s 149 int error; /* error status */ member in struct:_vthread_s 157 int error; member in struct:_vtonce_s 167 #define vterror(vt) ((vt)->error) 168 #define vtmtxerror(mtx) ((mtx)->error) 169 #define vtonceerror(once) ((once)->error) 176 { int error; member in struct:_vtmutex_s 179 { int error; member in struct:_vtattr_s 182 { int error; member in struct:_vthread_s 185 { int error; member in struct:_vtonce_s [all...] |
/opensolaris-onvv-gate/usr/src/lib/libcmd/common/ |
H A D | chmod.c | 204 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); 226 error(ERROR_usage(2), "%s", opt_info.arg); 233 error(ERROR_usage(2), "%s", optusage(NiL)); 248 error(ERROR_exit(1), "%s: invalid mode", amode); 260 error(ERROR_system(1), "%s: not found", *argv); 285 error(ERROR_system(0), "%s: cannot change mode", ent->fts_accpath); 289 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_accpath); 293 error(ERROR_system(0), "%s: cannot read directory", ent->fts_accpath); 297 error(ERROR_system(0), "%s: cannot search directory", ent->fts_accpath); 301 error(ERROR_syste [all...] |
/opensolaris-onvv-gate/usr/src/lib/libkmsagent/common/SOAP/ |
H A D | KMS_CAClient.cpp | 51 return soap->error; 59 return soap->error; 62 return soap->error; 81 return soap->error; 83 if (soap->error) 99 return soap->error; 107 return soap->error; 110 return soap->error; 129 return soap->error; 131 if (soap->error) [all...] |
H A D | KMS_CertificateClient.cpp | 53 return soap->error; 61 return soap->error; 64 return soap->error; 83 return soap->error; 85 if (soap->error)
|
/opensolaris-onvv-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_getsockname.c | 45 int error; local 75 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]); 77 if (error) { 78 errno = (error > 0)? error : ENOSYS; 122 int error; local 162 error = Psyscall(Pr, &rval, SYS_getsockopt, 5, &argd[0]); 164 if (error) { 165 errno = (error > 0)? error [all...] |
H A D | pr_lseek.c | 51 int error; local 96 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); 98 if (error) { 99 errno = (error > 0)? error : ENOSYS; 126 int error; local 171 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); 173 if (error) { 174 errno = (error > 0)? error [all...] |
H A D | pr_statvfs.c | 70 int error; local 101 error = Psyscall(Pr, &rval, SYS_statvfs, 2, &argd[0]); 103 if (error) { 104 errno = (error > 0)? error : ENOSYS; 123 int error; local 154 error = Psyscall(Pr, &rval, SYS_fstatvfs, 2, &argd[0]); 156 if (error) { 157 errno = (error > 0)? 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_waitid.c | 51 int error; local 97 error = Psyscall(Pr, &rval, SYS_waitid, 4, &argd[0]); 99 if (error) { 100 errno = (error > 0)? error : ENOSYS;
|
/opensolaris-onvv-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ipnetops.c | 112 int error; local 114 error = devname_lookup_func(sdvp, nm, vpp, cred, devipnet_create_rvp, 117 if (error == 0) { 134 return (error); 219 VOPNAME_CREATE, { .error = fs_nosys }, 220 VOPNAME_REMOVE, { .error = fs_nosys }, 221 VOPNAME_MKDIR, { .error = fs_nosys }, 222 VOPNAME_RMDIR, { .error = fs_nosys }, 223 VOPNAME_SYMLINK, { .error = fs_nosys }, 224 VOPNAME_SETSECATTR, { .error [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_xattr.c | 68 int error; local 75 error = ufs_iget(vfsp, ip->i_oeftflag, sip, cr); 76 if (error) 77 return (error); 95 error = 0; 98 error = ufs_xattrmkdir(ip, sip, 1, cr); 100 error = ENOENT; 105 error = ufs_xattrmkdir(ip, sip, 1, cr); 107 error = ENOENT; 110 return (error); [all...] |
H A D | ufs_vfsops.c | 268 int error; local 275 if ((error = secpolicy_fs_mount(cr, mvp, vfsp)) != 0) 276 return (error); 323 if (error = pn_get(uap->dir, fromspace, &dpn)) 324 return (error); 329 if (error = lookupname(uap->spec, fromspace, FOLLOW, NULL, &svp)) { 331 return (error); 334 error = vfs_get_lofi(vfsp, &lvp); 336 if (error > 0) { 339 return (error); 467 int error; local 584 int error = 0; local 805 int error = 0; local 1384 int error, flag, i; local 1876 int error; local 2008 int error = 0; local 2083 int error; local 2124 int error, sberror = 0; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/sun4u/starfire/cvcredir/ |
H A D | cvcredir.c | 179 register int error; local 184 error = DDI_FAILURE; 187 error = DDI_SUCCESS; 192 error = DDI_SUCCESS; 195 error = DDI_FAILURE; 197 return (error); 253 int error; local 268 error = cvc_redir(mp); 269 if (error != 0) 270 miocnak(q, mp, 0, error); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 170 DBusError error; local 183 dbus_error_init(&error); 187 if (libhal_device_exists(ctx, udi, &error) == TRUE) 190 if ((tmp_udi = libhal_new_device(ctx, &error)) == NULL) 197 "info.parent", parent, &error); 200 "info.category", "printer", &error); 203 "info.capabilities", "printer", &error); 205 "info.capabilities", "network_device", &error); 208 "network_device.address", hostaddr, &error); 212 "network_device.snmp_community", community, &error); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/modload/ |
H A D | modunload.c | 42 extern void error(char *fmt, ...); 78 error("can't fork %s", execfile); 84 (void) printf("%s returned error %d.\n", 98 error("can't unload the module"); 118 error("can't get module information"); 125 error("couldn't exec %s\n", execfile);
|
/opensolaris-onvv-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_scsi.c | 107 reply.error = NDMP_DEV_NOT_OPEN_ERR; 125 reply.error = NDMP_NO_ERR; 156 reply.error = NDMP_DEV_NOT_OPEN_ERR; 158 reply.error = NDMP_NO_ERR; 163 reply.error = NDMP_NO_ERR; 230 reply.error = NDMP_DEV_NOT_OPEN_ERR; 232 reply.error = NDMP_NO_ERR; 239 reply.error = NDMP_IO_ERR; 269 reply.error = NDMP_NOT_SUPPORTED_ERR; 300 reply.error [all...] |
/opensolaris-onvv-gate/usr/src/cmd/wbem/provider/c/wbem_disk/common/ |
H A D | realizesdiskdrive_descriptors.c | 61 int error; local 79 DISK, &error); 81 if (error != 0) { 84 REALIZESDD_DESC_TO_INSTANCE_FAILURE, NULL, &error); 125 CREATE_OBJECT_PATH_FAILURE, ex, &error);
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/threads/ |
H A D | sema.c | 91 int error = 0; local 123 error = ___lwp_sema_timedwait(lsp, tsp, 1); 141 while (error == 0 && lsp->count == 0) { 158 error = __lwp_park(tsp, 0); 164 if (error == 0) 184 if (error == 0) { 194 if (error == EINTR) 198 return (error); 237 int error = 0; local 245 error 304 int error = 0; local [all...] |