Searched refs:error (Results 301 - 325 of 3315) sorted by relevance

<<11121314151617181920>>

/opensolaris-onvv-gate/usr/src/lib/efcode/fcdriver/
H A Dioctl.c50 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...]
/opensolaris-onvv-gate/usr/src/lib/libcmd/common/
H A Dmkdir.c45 "names an existing directory shall be ignored without error.]"
46 "[v:verbose?Print a message on the standard error for each created "
54 "[+>0?An error occurred.]"
89 error(ERROR_exit(0), "%s: invalid mode", arg);
98 error(2, "%s", opt_info.arg);
101 error(ERROR_usage(2), "%s", opt_info.arg);
108 error(ERROR_usage(2), "%s", optusage(NiL));
129 error(ERROR_system(0), "%s:", arg);
155 error(ERROR_system(0), "%s:", name);
159 error(
[all...]
/opensolaris-onvv-gate/usr/src/lib/libnsl/rpc/
H A Drtime_tli.c83 goto error;
87 goto error;
91 goto error;
99 goto error;
115 goto error;
125 goto error;
128 goto error;
140 goto error;
145 goto error;
154 error
[all...]
H A Drpc_prot.c275 accepted(enum accept_stat acpt_stat, struct rpc_err *error) argument
280 error->re_status = RPC_PROGUNAVAIL;
284 error->re_status = RPC_PROGVERSMISMATCH;
288 error->re_status = RPC_PROCUNAVAIL;
292 error->re_status = RPC_CANTDECODEARGS;
296 error->re_status = RPC_SYSTEMERROR;
300 error->re_status = RPC_SUCCESS;
304 error->re_status = RPC_FAILED;
305 error->re_lb.s1 = (int32_t)MSG_ACCEPTED;
306 error
310 rejected(enum reject_stat rjct_stat, struct rpc_err *error) argument
331 __seterr_reply(struct rpc_msg *msg, struct rpc_err *error) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libproc/common/
H A Dpr_mmap.c45 int error; local
92 error = Psyscall(Pr, &rval, SYS_mmap, 6, &argd[0]);
94 if (error) {
95 errno = (error > 0)? error : ENOSYS;
110 int error; local
129 error = Psyscall(Pr, &rval, SYS_munmap, 2, &argd[0]);
131 if (error) {
132 errno = (error > 0)? error
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_kmod.c133 int error; local
161 error = errno;
162 dbug_print(("ioctl", "daemonid error %d", error));
207 int error = 0; local
214 error = errno;
215 dbug_print(("ioctl", "returns %d, error %d", xx, error));
217 return (error);
265 int error local
295 int error = 0; local
329 int error = 0; local
428 int error = 0; local
459 int error = 0; local
499 int error = 0; local
546 int error = 0; local
590 int error = 0; local
646 int error = 0; local
724 int error = 0; local
807 int error = 0; local
882 int error = 0; local
962 int error = 0; local
1038 int error = 0; local
1109 int error = 0; local
1179 int error = 0; local
1249 int error = 0; local
1312 int error = 0; local
1379 int error = 0; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c370 int error = 0; local
437 error = stropen(vp, &newdev, flags, cr);
440 if (error == 0) {
510 if ((error = strioctl(vp,
515 return (error);
526 return (error);
528 if (error = so_strinit(so, tso)) {
530 return (error);
539 error = sotpi_setsockopt(so, SOL_SOCKET, SO_PROTOTYPE,
541 if (error !
628 int error = 0; local
1402 int error = 0; local
1482 int error = 0; local
1569 int error = 0; local
1644 int error = 0; local
2179 int error = 0; local
2607 int error = 0; local
2797 int error; local
2980 int error = 0; local
3068 int error = 0; local
3645 int error; local
3820 int error; local
3959 int error; local
4099 int error; local
4186 int error; local
4479 int error = 0; local
4557 int error; local
4588 int error = 0; local
4703 int error = 0, wflag = 0; local
4818 int error = 0, res; local
4954 int error = 0, res; local
5077 int error = 0; local
5430 int error = 0; local
5669 int error = 0; local
5740 int error = 0; local
5974 int error; local
6175 int error; local
6282 int error = 0; local
6386 int error = 0; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp99 bool ATNetworkTool::GetIPDomain(const ATAddress &ip, std::string &domain, int &error) argument
103 if (0 != (error = getnameinfo(ip.addr(), ip.size(),
113 int ATNetworkTool::GetLocalIPs(ATAddressList &addresses, int &error, int family, bool withloopback) argument
163 error = errno;
202 int ATNetworkTool::GetLocalNetDomains(ATDomainMap &domains, int &error, int family) argument
207 if (0 != (ret = ATNetworkTool::GetLocalIPs(addresses, error, family))) {
218 if (ATNetworkTool::GetIPDomain(*ait, domain, error)) {
225 int ATNetworkTool::GetSockDomain(int sock, std::string &domain, int &error) argument
234 error = errno;
238 if (ATNetworkTool::GetIPDomain(sa, domain, error)) {
244 GetSockPeerIPs(int sock, ATAddressList &addresses, int &error, int family, bool zeroport) argument
295 IsSockPeerLocal(int sock, int &error, int family) argument
321 CreateSocket(const struct addrinfo *addr, int &error) argument
329 CreateSocket(const struct sockaddr *addr, socklen_t addrlen, int &error, int family, int socktype, int protocol) argument
360 ConnectSocket(struct addrinfo *addr, int &error, bool loopback) argument
369 ConnectSocket(const struct sockaddr *addr, socklen_t addrlen, int &error, bool loopback, int family, int socktype, int protocol) argument
418 CreateServerSocket(in_port_t port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog) argument
434 CreateServerSocket(const char *port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog) argument
456 CreateServerSockets(ATSocketList &sockets, in_port_t port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog, bool one) argument
472 CreateServerSockets(ATSocketList &sockets, const char *port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog, bool one) argument
521 CreateServerSocket(const struct addrinfo *addr, int &error, bool nonblocking, int backlog) argument
551 ConnectToSocket(int sock, int &error, bool loopback, int socktype, int protocol) argument
572 Connect(const char *host, in_port_t port, int &error, int family, int socktype, int protocol) argument
584 Connect(const char *host, const char *port, int &error, int family, int socktype, int protocol) argument
641 ConnectLoopback(in_port_t port, int &error, int family, int socktype, int protocol) argument
653 ConnectLoopback(const char *port, int &error, int family, int socktype, int protocol) argument
716 Accept(int s, ATAddress &address, int &error, bool nonblocking) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/syscall/
H A Dfcntl.c71 int error = 0; local
107 if ((error = f_getfd_error(fdes, &flag)) == 0)
112 error = f_setfd_error(fdes, (int)arg);
117 if ((error = f_getfl(fdes, &flag)) == 0) {
127 if ((error = f_getfl(fdes, &flag)) == 0) {
135 if ((error = f_badfd(fdes, &fdres, (int)arg)) == 0)
145 error = EBADF;
158 error = EINVAL;
180 error = EMFILE;
191 error
717 int error; local
787 int error; local
[all...]
H A Dpset.c92 int error; local
102 error = cpupart_create(&newpset);
103 if (error) {
105 return (set_errno(error));
113 return (error);
119 int error; local
129 error = cpupart_destroy(pset);
131 if (error)
132 return (set_errno(error));
141 int error local
184 int error = 0; local
244 int error = 0; local
301 int error = 0; local
332 int error = 0; local
359 int error = 0; local
384 int error = 0; local
412 int error = 0; local
453 int error = 0; local
482 int error = 0; local
542 int error = 0; local
711 int error = 0; local
747 int error = 0; local
806 int error; local
830 int error = 0; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c238 int error = 0; local
243 error = so_acceptq_dequeue(so, (fflag & (FNONBLOCK|FNDELAY)), nsop);
245 return (error);
256 int error; local
269 error = EINVAL;
279 error = sctp_bind((struct sctp_s *)so->so_proto_handle, name, namelen);
282 if (error == 0) {
285 eprintsoline(so, error);
297 return (error);
307 int error local
360 int error = 0; local
443 int error; local
485 int flags, error = 0; local
676 int error; local
733 int error; local
935 int error; local
1158 int error = 0; local
1231 int error = 0; local
1300 int error, rc; local
1436 int error; local
1525 int error = 0; local
2005 sctp_assoc_disconnected(sock_upper_handle_t handle, sock_connid_t id, int error) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.c117 char *prog_name = "postcomm"; /* just for error messages */
185 error(int kind, char *mesg, ...)
191 * Called when we've run into some kind of program error. First *mesg is
215 } /* End of error */
237 prog_name = argv[0]; /* really just for error messages */
293 error(NON_FATAL, "can't open log file %s",
311 error(FATAL, "");
315 error(FATAL, "missing case for option %c\n", ch);
332 error(FATAL, "no memory");
337 error(FATA
183 error(int kind, char *mesg, ...) function
[all...]
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dlibadm.h50 extern int ckdate_err __P((char *fmt, char *error));
53 extern int ckdate __P((char *date, char *fmt, char *defstr, char *error,
62 extern void ckgid_err __P((int disp, char *error));
64 extern int ckgid __P((char *gid, short disp, char *defstr, char *error,
71 extern void ckint_err __P((short base, char *error));
73 extern int ckint __P((long *intval, short base, char *defstr, char *error,
80 extern void ckitem_err __P((CKMENU *menup, char *error));
83 char *defstr, char *error, char *help,
93 char *error, char *help, char *prompt));
100 extern void ckpath_err __P((int pflags, char *error, cha
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Dattrat.c178 int error; local
184 if (error = attrat_init())
185 return (error);
186 if ((error = fstat(fd, &buf)) != 0)
187 return (error);
212 int error, saveerrno; local
217 if (error = attrat_init())
218 return (error);
220 if ((error = attr_nv_pack(request, &nv_request, &nv_requestlen)) != 0)
221 return (error);
238 int error, saveerrno, xattrfd; local
253 int error, saveerrno, xattrfd; local
267 int error, saveerrno, namefd, xattrfd; local
290 int error, saveerrno, namefd, xattrfd; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/sys/fs/
H A Dcachefs_log.h135 * corresponding to record type, error status, and timestamp.
158 int error; /* errno */ member in struct:cachefs_log_mount_record
171 int error; /* errno */ member in struct:cachefs_log_umount_record
178 int error; /* errno */ member in struct:cachefs_log_getpage_record
190 int error; /* errno */ member in struct:cachefs_log_readdir_record
202 int error; /* errno */ member in struct:cachefs_log_readlink_record
213 int error; /* errno */ member in struct:cachefs_log_remove_record
224 int error; /* errno */ member in struct:cachefs_log_rmdir_record
234 int error; /* errno */ member in struct:cachefs_log_truncate_record
245 int error; /* errn member in struct:cachefs_log_putpage_record
257 int error; /* errno */ member in struct:cachefs_log_create_record
267 int error; /* errno */ member in struct:cachefs_log_mkdir_record
277 int error; /* errno */ member in struct:cachefs_log_rename_record
288 int error; /* errno */ member in struct:cachefs_log_symlink_record
299 int error; /* errno */ member in struct:cachefs_log_populate_record
310 int error; /* errno */ member in struct:cachefs_log_csymlink_record
320 int error; /* errno */ member in struct:cachefs_log_filldir_record
330 int error; /* errno */ member in struct:cachefs_log_mdcreate_record
340 int error; /* errno */ member in struct:cachefs_log_gpfront_record
352 int error; /* errno */ member in struct:cachefs_log_rfdir_record
362 int error; /* errno */ member in struct:cachefs_log_ualloc_record
373 int error; /* errno */ member in struct:cachefs_log_calloc_record
384 int error; /* errno */ member in struct:cachefs_log_nocache_record
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/
H A Dicmp.c78 icmp_identifier, error = 0; local
93 error = errno;
96 return (error);
100 error = errno;
105 return (error);
138 error = errno;
143 return (error);
154 error = errno;
158 return (error);
169 error
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/port/stdio/
H A Dsystem.c124 int error; local
170 * utility using execl(). If some error prevents the command
176 error = posix_spawnattr_init(&attr);
177 if (error == 0)
178 error = posix_spawnattr_setflags(&attr,
201 if (error == 0)
202 error = posix_spawnattr_setsigmask(&attr, &cu.savemask);
234 if (error == 0)
235 error = posix_spawnattr_setsigdefault(&attr, &mask);
241 if (error
[all...]
/opensolaris-onvv-gate/usr/src/uts/intel/io/
H A Dpit_beep.c113 int error; local
116 if ((error = ddi_soft_state_init(&pit_beep_statep,
119 return (error);
123 if ((error = mod_install(&modlinkage)) != 0) {
127 return (error);
140 int error; local
142 error = mod_remove(&modlinkage);
144 if (error == 0) {
149 return (error);
218 int instance, error; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/disp/
H A Dpriocntl.c145 int error = 0; local
161 * return error.
197 error = getcid(pcinfo.pc_clname, &pcinfo.pc_cid);
198 if (error)
199 return (set_errno(error));
213 error =
215 if (error)
216 return (set_errno(error));
217 error = CL_GETCLINFO(&sclass[pcinfo.pc_cid], pcinfo.pc_clinfo);
218 if (error)
883 int error = 0; local
912 int error; local
960 int error; local
1073 int error; local
1130 int error; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_srv.c80 int error; local
94 error = VOP_GETSECATTR(vp, &resp->resok.acl, 0, cr, NULL);
96 if ((error == ENOSYS) && !(exi->exi_export.ex_flags & EX_NOACLFAB)) {
110 * This error should be returned to the caller.
112 error = fs_fab_acl(vp, &resp->resok.acl, 0, cr, NULL);
115 if (error) {
117 resp->status = puterrno(error);
122 error = rfs4_delegated_getattr(vp, &va, 0, cr);
127 if (!error) {
128 error
194 int error; local
249 int error; local
288 int error; local
384 int error; local
449 int error; local
576 int error; local
656 int error; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c202 { VOPNAME_LINK, { .error = fs_nosys } }, /* smbfs_link, */
207 { VOPNAME_SYMLINK, { .error = fs_nosys } }, /* smbfs_symlink, */
208 { VOPNAME_READLINK, { .error = fs_nosys } }, /* smbfs_readlink, */
211 { VOPNAME_FID, { .error = fs_nosys } }, /* smbfs_fid, */
217 { VOPNAME_REALVP, { .error = fs_nosys } }, /* smbfs_realvp, */
218 { VOPNAME_GETPAGE, { .error = fs_nosys } }, /* smbfs_getpage, */
219 { VOPNAME_PUTPAGE, { .error = fs_nosys } }, /* smbfs_putpage, */
220 { VOPNAME_MAP, { .error = fs_nosys } }, /* smbfs_map, */
221 { VOPNAME_ADDMAP, { .error = fs_nosys } }, /* smbfs_addmap, */
222 { VOPNAME_DELMAP, { .error
253 int error = 0; local
509 int error; local
588 int error; local
673 int error, timo; local
785 int error; local
904 int error; local
973 int error = 0; local
1276 int error = 0; local
1397 int error; local
1442 int error; local
1675 int error; local
1755 int error; local
2000 int error; local
2125 int error; local
2362 int error, hiderr; local
2441 int error; local
2534 int error = 0; local
2599 int nmlen, error; local
2895 int error; local
3016 int error; local
3057 int error; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/smbclnt/lsacl/
H A Dlsacl.c102 int error, fd; local
111 error = smbfs_acl_getsd(fd, selector, &sd);
114 if (error) {
116 progname, strerror(error));
136 error = smbfs_acl_sd2zfs(sd, acl, &uid, &gid);
137 if (error) {
139 progname, strerror(error));
/opensolaris-onvv-gate/usr/src/cmd/modload/
H A Dupdate_drv.c84 int error, opt, major; local
178 * - if -a or -d is specified, it's an error if none of
241 if ((error = check_perm_opts(perms)) == ERROR) {
244 return (error);
250 * we didn't run into error earlier.
252 if ((error != ERROR) &&
253 (error = update_minor_entry(driver_name, perms))) {
256 return (error);
283 if ((error = update_device_policy(device_policy,
286 return (error);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/
H A Dsshpty.c60 error("openpty: %.100s", strerror(errno));
79 error("_getpty: %.100s", strerror(errno));
86 error("%.200s: %.100s", namebuf, strerror(errno));
103 error("/dev/ptmx: %.100s", strerror(errno));
108 error("grantpt: %.100s", strerror(errno));
113 error("unlockpt: %.100s", strerror(errno));
118 error("Slave pty side name could not be obtained.");
125 error("%.100s: %.100s", namebuf, strerror(errno));
135 error("ioctl I_PUSH ptem: %.100s", strerror(errno));
137 error("ioct
[all...]
/opensolaris-onvv-gate/usr/src/cmd/wbem/provider/c/wbem_disk/common/
H A Dlogicaldisk_descriptors.c62 int error; local
81 dlist = dm_get_associated_descriptors(desc, DM_DRIVE, &error);
83 if (error != 0) {
90 alist = dm_get_associated_descriptors(dlist[0], DM_ALIAS, &error);
93 if (error != 0) {
100 drive = dm_get_name(alist[0], &error);
103 if (error != 0) {
121 str = dm_get_name(desc, &error);
123 if (error != 0) {
182 nvlp = dm_get_attributes(desc, &error);
360 int error; local
[all...]

Completed in 147 milliseconds

<<11121314151617181920>>