Searched defs:error (Results 376 - 400 of 1783) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c182 int error; local
188 if ((ipmi_hdl = ipmi_open(&error, &msg, IPMI_TRANSPORT_BMC, NULL))
194 if (error != EIPMI_BMC_OPEN_FAILED)
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c134 int error; local
209 error = di_retire_device(path, &drt, 0);
210 if (error != 0) {
213 " error: %d %s", error, path);
220 error = di_unretire_device(path, &drt);
221 if (error != 0) {
224 " error: %d %s", error, path);
266 error
[all...]
/illumos-gate/usr/src/cmd/rmmount/
H A Drmmount.c74 DBusError error; local
135 if ((hal_ctx = rmm_hal_init(0, 0, 0, 0, &error, &rmm_error)) == NULL) {
137 rmm_strerror(&error, rmm_error));
138 rmm_dbus_error_free(&error);
149 if ((d = rmm_hal_volume_find_default(hal_ctx, &error,
163 rmm_print_volume_nicknames(hal_ctx, &error, print_mask);
166 if ((d = rmm_hal_volume_find_default(hal_ctx, &error,
196 rmm_dbus_error_free(&error);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dldmain.c79 ld_eprintf(Ofl_desc *ofl, Error error, const char *format, ...) argument
83 /* Set flag indicating type of error being issued */
84 switch (error) {
101 /* Issue the error */
103 veprintf(ofl->ofl_lml, error, format, args);
H A Dorder.c175 int error = 0; local
190 error = DBG_ORDER_LINK_OUTRANGE;
200 * ordered section gets a unique error code. This
203 error = ((isp2->is_flags & FLG_IS_ORDERED) == 0) ?
214 if ((error = is_keyshndx_ok(ifl, isp2->is_shdr->sh_info)) != 0)
234 error = DBG_ORDER_CYCLIC;
245 if (error != 0) {
247 DBG_CALL(Dbg_sec_order_error(ofl->ofl_lml, ifl, ndx, error));
300 int error = 0; local
316 if ((error
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate.c130 print_error(int error, char *name) argument
135 switch (error) {
179 msg = gettext("Device name error.");
182 msg = gettext("Device specified is in allocate error state.");
219 msg = gettext("Unknown error code.");
257 int func = -1, optflg = 0, error = 0, c; local
609 error = allocate(optflg, uid, device, zonename);
611 error = deallocate(optflg, uid, device, zonename);
613 error = list_devices(optflg, uid, device, zonename);
615 (void) audit_allocate_record(error);
[all...]
/illumos-gate/usr/src/cmd/availdevs/
H A Davaildevs.c199 int error = 0; local
235 /* libzfs_jni_diskmgt.o error handler */
238 error = dmgt_avail_disk_iter(
242 if (get_pools && !error) {
247 error = zjni_ipool_iter(
251 if (!error) {
259 return (error != 0);
/illumos-gate/usr/src/cmd/avs/dscfg/
H A Ddscfgadm.sh149 # called with optional error msg $1
151 error() function
419 error "$CLUST_LOC_MESS"
460 error "$CLUST_LOC_MESS"
472 error "$CLUST_LOC_MESS"
540 error "$did_clust_msg"
544 error "$did_clust_msg"
555 error "$LOCATION does not meet minimum space requirement."
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Ddsstat.c347 int error; local
518 error = do_stats();
520 if (error == EAGAIN) {
525 if (error == EINVAL) {
530 if (error == ENOMEM) {
535 if (error == -1) {
541 if (error) {
542 fail(DSSTAT_EUNKNWN, gettext("An unknown error occured.\n"));
/illumos-gate/usr/src/cmd/bnu/
H A Duucheck.c34 int Uerrors = 0; /* error count */
162 int error=0; local
199 error += outLine(type);
203 return(error);
213 int error = 0; local
312 error++;
320 return(error);
/illumos-gate/usr/src/cmd/calendar/
H A Dcalprog.c62 /* 0 */ "error on open of \"%s\", errno = %d",
64 /* 2 */ "error on stat of \"%s\", errno = %d",
66 /* 4 */ "error in reading the file \"%s\"",
67 /* 5 */ "\"%s\" file: error on line %d",
88 static void error(const char *fmt, ...);
147 error(errlst[1]);
149 error(errlst[0], file, errno);
151 error(errlst[2], file, errno);
153 error(errlst[3], file);
160 error(errls
207 error(const char *fmt, ...) function
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslogtab.c62 * < 0 error
72 int error = 0; local
80 error = 0;
88 error = -1;
92 error = -1;
98 error = -1;
102 error = -1;
108 error = -1;
112 error = -1;
118 error
215 int error = 0; local
299 int error = 0; local
376 int error = 0; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c109 * standard input, output, and error, and detach from
150 * error in writing/locking the file.
157 syslog(LOG_ERR, "error locking for %s: %s", NFS4CBD,
290 int error; local
320 if ((error = _nfssys(NFS4_SVC, &nsa)) != 0)
323 return (error);
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dbuffer_list.c56 * Returns 0 on success, non-zero error code otherwise.
69 * No NFSLOGTAB is not treated as an error.
70 * Returns 0 on success, non-zero error code otherwise
76 int error = 0; local
79 error = errno;
80 if (error != ENOENT) {
82 NFSLOGTAB, strerror(error));
83 error = 0;
85 return (error);
100 * Returns 0 on success, non-zero error cod
110 int error = 0, res; local
[all...]
H A Dprocess_buffer.c73 * non zero error on failure and *buffer_processed set to 0.
91 int error = 0; local
102 error = errno;
103 if (error == ENOENT) {
104 error = 0;
117 error = errno;
118 if (bep->be_error != error) {
121 buffer_inprog, strerror(error));
124 return (error);
158 error
415 int error; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/mount/
H A Dmount.c87 int error = 0; local
107 error++;
159 if (verbose && !error) {
171 if (argc - optind != 2 || error) {
/illumos-gate/usr/src/cmd/fs.d/reparsed/
H A Dreparsed.c67 static void reparsed_door_call_error(int error, int buflen);
75 syslog(LOG_ERR, "\t[-v]\t\tverbose error messages)");
122 int c, error; local
187 reparsed_door_call_error(int error, int buflen) argument
192 rpd_res.res_status = error;
/illumos-gate/usr/src/cmd/fs.d/smbclnt/test/
H A Dsrvenum.c112 int c, error; local
152 error = smb_ctx_alloc(&ctx);
153 if (error) {
177 error = smb_ctx_readrc(ctx);
178 if (error) {
188 error = smb_ctx_resolve(ctx);
189 if (error) {
197 error = smb_ctx_get_ssn(ctx);
198 if (error) {
199 fprintf(stderr, "//%s: login failed, error
[all...]
H A Dsrvinfo.c105 int c, error; local
145 error = smb_ctx_alloc(&ctx);
146 if (error) {
170 error = smb_ctx_readrc(ctx);
171 if (error) {
181 error = smb_ctx_resolve(ctx);
182 if (error) {
190 error = smb_ctx_get_ssn(ctx);
191 if (error) {
192 fprintf(stderr, "//%s: login failed, error
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dfstyp.c115 int error; local
121 if ((error = get_attr(h)) != 0) {
124 return (error);
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_acpi.c41 gint return_code, char **error, gpointer userdata1, gpointer userdata2);
237 gint return_code, char **error, gpointer userdata1, gpointer userdata2)
236 devinfo_battery_rescan_probing_done(HalDevice *d, guint32 exit_type, gint return_code, char **error, gpointer userdata1, gpointer userdata2) argument
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-eject.c82 DBusError error; local
109 dbus_error_init (&error);
110 if ((hal_ctx = libhal_ctx_init_direct (&error)) == NULL) {
112 LIBHAL_FREE_DBUS_ERROR (&error);
116 dbus_error_init (&error);
117 system_bus = dbus_bus_get (DBUS_BUS_SYSTEM, &error);
120 LIBHAL_FREE_DBUS_ERROR (&error);
H A Dhal-storage-zpool.c162 printf ("zpool error %d, stdout='%s', stderr='%s'\n", exit_status, sout, serr);
180 DBusError error; local
201 dbus_error_init (&error);
202 if ((hal_ctx = libhal_ctx_init_direct (&error)) == NULL) {
204 LIBHAL_FREE_DBUS_ERROR (&error);
208 dbus_error_init (&error);
209 system_bus = dbus_bus_get (DBUS_BUS_SYSTEM, &error);
212 LIBHAL_FREE_DBUS_ERROR (&error);
H A Dhal_set_property.c96 "success this program exits with exit code 0. On error, the program exits\n"
121 DBusError error; local
223 dbus_error_init (&error);
225 fprintf (stderr, "error: libhal_ctx_new\n");
228 if (!libhal_ctx_set_dbus_connection (hal_ctx, dbus_bus_get (DBUS_BUS_SYSTEM, &error))) {
229 fprintf (stderr, "error: libhal_ctx_set_dbus_connection: %s: %s\n", error.name, error.message);
230 LIBHAL_FREE_DBUS_ERROR (&error);
233 if (!libhal_ctx_init (hal_ctx, &error)) {
[all...]
/illumos-gate/usr/src/cmd/listen/
H A Dlslog.c34 * error/logging/cleanup functions for the network listener process.
60 #include "lserror.h" /* listener error codes */
75 * error handling and debug routines
84 * error: catastrophic error handler
88 error(int code, int exitflag) function
100 * tli_error: Deal (appropriately) with an error in a TLI call
103 static char *tlirange = "Unknown TLI error (t_errno > t_nerr)";
126 * sys_error: error in a system call
144 * is exiting due to an error
[all...]

Completed in 71 milliseconds

<<11121314151617181920>>