Home
last modified time | relevance | path

Searched refs:exitcode (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Ddevreserv.c230 exitcode = EX_OK; in main()
254 exit(exitcode); in main()
273 exitcode = EX_ERROR; in main()
283 exitcode = EX_OK; in main()
297 exitcode = EX_ERROR; in main()
305 exit(exitcode); in main()
319 exitcode = EX_TABLES; in main()
323 exitcode = EX_ERROR; in main()
327 exit(exitcode); in main()
359 exitcode = EX_OK; in main()
[all …]
H A Ddevattr.c174 int exitcode; /* Value to return */ in main() local
226 exitcode = EX_DEVTAB; in main()
230 exitcode = EX_ERROR; in main()
234 exit(exitcode); in main()
250 exitcode = EX_NODEV; in main()
254 exitcode = EX_ERROR; in main()
258 exit(exitcode); in main()
269 exitcode = EX_OK; in main()
277 exitcode = EX_NOATTR; in main()
282 exitcode = EX_ERROR; in main()
[all …]
H A Dgetdgrp.c178 int exitcode; /* Value to return to the caller */ in main() local
254 exitcode = EX_DTAB; in main()
258 exitcode = EX_ERROR; in main()
262 exit(exitcode); in main()
269 exitcode = EX_DGRP; in main()
273 exitcode = EX_ERROR; in main()
277 exit(exitcode); in main()
294 exitcode = EX_OK; in main()
296 exitcode = EX_ERROR; in main()
302 return(exitcode); in main()
H A Dlistdgrp.c145 int exitcode; /* Value to return to the caller */ in main() local
201 exitcode = EX_NODGRPTAB; in main()
205 exitcode = EX_ERROR; in main()
209 exit(exitcode); in main()
219 exitcode = EX_OK; in main()
227 exitcode = EX_NODGROUP; in main()
232 exitcode = EX_ERROR; in main()
237 return(exitcode); in main()
H A Dgetdev.c156 int exitcode; /* Value to return to the caller */ in main() local
225 exitcode = EX_DEVTAB; in main()
229 exitcode = EX_ERROR; in main()
232 exit(exitcode); in main()
247 exitcode = 0; in main()
249 exitcode = 1; in main()
255 return(exitcode); in main()
H A Ddevfree.c149 int exitcode; /* Value of command */ in main() local
268 exitcode = EX_OK; in main()
278 exitcode = EX_TBLERR; in main()
283 exitcode = EX_ERROR; in main()
295 exitcode = EX_NOFREE; in main()
302 exitcode = EX_NOFREE; in main()
310 exitcode = EX_ERROR; in main()
319 return(exitcode); in main()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_digest.c43 int resultstrlen, resultlen, exitcode; in bootadm_digest() local
51 exitcode = BAM_ERROR; in bootadm_digest()
57 exitcode = BAM_ERROR; in bootadm_digest()
66 exitcode = BAM_ERROR; in bootadm_digest()
75 exitcode = BAM_ERROR; in bootadm_digest()
80 exitcode = BAM_SUCCESS; in bootadm_digest()
83 if (exitcode == BAM_ERROR) { in bootadm_digest()
91 return (exitcode); in bootadm_digest()
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dmain.c57 int exitcode = 0; /* Global exit code */ variable
214 exitcode++; in main()
227 exitcode++; in main()
241 if (exitcode) in main()
253 exitcode++; in usagerr()
H A Dfcns.c44 extern int exitcode; in error()
56 exitcode++; in error()
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c461 exitcode = EXIT_FAILURE; in execute_cmd()
471 exitcode = EXIT_FAILURE; in execute_cmd()
481 exitcode = EXIT_FAILURE; in execute_cmd()
540 exitcode = EXIT_FAILURE; in execute_cmd()
587 exitcode = EXIT_FAILURE; in execute_cmd()
599 exitcode = EXIT_FAILURE; in execute_cmd()
700 exitcode = EXIT_FAILURE; in execute_cmd()
710 exitcode = EXIT_FAILURE; in execute_cmd()
717 exitcode = EXIT_SUCCESS; in execute_cmd()
727 exitcode = EXIT_USAGE; in execute_cmd()
[all …]
/illumos-gate/usr/src/cmd/logadm/
H A Derr.c195 err_done(int exitcode) in err_done() argument
200 if (exitcode) in err_done()
201 exit(exitcode); in err_done()
322 err_exitcode(int exitcode) in err_exitcode() argument
324 Exitcode = exitcode; in err_exitcode()
H A Derr.h42 void err_done(int exitcode);
43 void err_exitcode(int exitcode);
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c390 exitcode = prt_nets(netspec); in main()
395 exitcode = add_pm(netspec); in main()
402 switch (exitcode) { in main()
434 exitcode = enable_svc(svcptr, netspec); in main()
439 exitcode = kill_listener(netspec); in main()
453 exitcode = start_listener(netspec); in main()
456 exitcode = prt_svcs(NULL, netspec); in main()
459 exitcode = prt_nets(NULL); in main()
462 exitcode = prt_svcs(svcptr, netspec); in main()
465 if (exitcode == NLS_SYSERR) in main()
[all …]
/illumos-gate/usr/src/cmd/acct/
H A Dacctmerg.c68 int exitcode = 0; variable
112 exitcode = 1; in main()
122 exit(exitcode); in main()
128 exitcode = 2; in main()
137 exit(exitcode); in main()
H A Dacctcon1.c80 int exitcode; variable
150 exit(exitcode); in main()
173 exit(exitcode); in main()
236 exitcode = 1; in fixup()
366 exitcode = 1; in update()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dexec.c71 int exitcode; in execute() local
98 exitcode = join(p); /* parent */ in execute()
106 return (exitcode); in execute()
/illumos-gate/usr/src/tools/chk4ubin/
H A Dchk4ubin.c97 static int exitcode = 0; variable
292 exitcode = 1; in main()
299 exitcode = 1; in main()
303 return (no_err ? 0 : exitcode); in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/common/
H A Din_guest.c162 switch (vexit->exitcode) { in test_fail_vmexit()
251 "\t%%rip: %lx\n", vexit->exitcode, vexit->rip); in test_fail_vmexit()
443 switch (vexit->exitcode) { in which_exit_kind()
482 VERIFY3U(vexit->exitcode, ==, VM_EXITCODE_INOUT); in ventry_fulfill_inout()
495 VERIFY3U(vexit->exitcode, ==, VM_EXITCODE_MMIO); in ventry_fulfill_mmio()
508 if (vexit->exitcode != VM_EXITCODE_INOUT) { in vexit_match_inout()
529 if (vexit->exitcode != VM_EXITCODE_MMIO) { in vexit_match_mmio()
/illumos-gate/usr/src/cmd/fs.d/
H A Dumount.c80 int exitcode; variable
465 exitcode = 1; in doexec()
468 exit(exitcode); in doexec()
653 return (exitcode); in parumount()
709 exitcode = 1; in make_mntarray()
723 exitcode = 1; in make_mntarray()
894 exitcode = 1; in dowait()
924 exitcode = 1; in dowait()
H A Dmount.c138 int exitcode; variable
155 int exitcode; /* process's exitcode */ member
1004 return (exitcode); in parmount()
1055 exitcode = 1; in getvfsall()
1178 exitcode = 1; in make_vfsarray()
1273 exitcode = 1; in do_mounts()
1428 exitcode = 1; in cleanupkid()
1458 exitcode = 1; in cleanupkid()
1470 vp->exitcode = ret; in cleanupkid()
/illumos-gate/usr/src/cmd/listen/
H A Dlslog.c186 logexit(exitcode, msg) in logexit() argument
187 int exitcode; in logexit()
195 exit(exitcode);
/illumos-gate/usr/src/cmd/autopush/
H A Dautopush.c115 int exitcode; in main() local
216 exitcode = set_info(filenamep); in main()
218 exitcode = rem_info(major, minor); in main()
220 exitcode = get_info(major, minor); in main()
226 return (exitcode); in main()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandocdb.c430 exitcode = (int)MANDOCLEVEL_OK; in mandocdb()
461 exitcode = (int)MANDOCLEVEL_OK; in mandocdb()
487 exitcode = (int)MANDOCLEVEL_BADARG; in mandocdb()
535 return exitcode; in mandocdb()
595 exitcode = (int)MANDOCLEVEL_SYSERR; in treescan()
808 exitcode = (int)MANDOCLEVEL_BADARG; in filescan()
812 exitcode = (int)MANDOCLEVEL_BADARG; in filescan()
822 exitcode = (int)MANDOCLEVEL_BADARG; in filescan()
836 exitcode = (int)MANDOCLEVEL_BADARG; in filescan()
857 exitcode = (int)MANDOCLEVEL_BADARG; in filescan()
[all …]
/illumos-gate/usr/src/cmd/setuname/
H A Dsetuname.c201 int exitcode; /* Value to exit with */ local
349 if (setuname(t_seen, s_arg, n_arg) == 0) exitcode = EX_OK;
353 exitcode = EX_ERROR;
357 return (exitcode);
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dsvm.c494 vme->exitcode = VM_EXITCODE_SVM; in vm_exit_svm()
495 vme->u.svm.exitcode = code; in vm_exit_svm()
639 vmexit->exitcode = VM_EXITCODE_INOUT; in svm_handle_inout()
1233 vmexit->exitcode = is_wrmsr ? in svm_handle_msr()
1251 nrip_valid(uint64_t exitcode) in nrip_valid() argument
1253 switch (exitcode) { in nrip_valid()
1285 code = ctrl->exitcode; in svm_vmexit()
1289 vmexit->exitcode = VM_EXITCODE_BOGUS; in svm_vmexit()
1476 vmexit->exitcode = VM_EXITCODE_HLT; in svm_vmexit()
1480 vmexit->exitcode = VM_EXITCODE_PAUSE; in svm_vmexit()
[all …]

123