/illumos-gate/usr/src/cmd/pools/poolbind/ |
H A D | poolbind.c | 114 int status; in main() local 173 if (pool_get_status(&status) != PO_SUCCESS) in main() 175 if (status == POOL_DISABLED) in main()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sppp/ |
H A D | sppp.c | 65 int status; in sppp_walk_step() local 75 status = (wsp->walk_callback(wsp->walk_addr, &sps, wsp->walk_cbdata)); in sppp_walk_step() 78 return (status); in sppp_walk_step() 220 int status; in sppa_walk_step() local 233 return (status); in sppa_walk_step() 386 int status; in tuncl_walk_step() local 407 status = wsp->walk_callback(addr, &tcl, wsp->walk_cbdata); in tuncl_walk_step() 410 return (status); in tuncl_walk_step() 510 int status; in tunll_walk_step() local 527 status = wsp->walk_callback(addr, &tll, wsp->walk_cbdata); in tunll_walk_step() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/ |
H A D | ptm.c | 244 int status; in ptms_walk_step() local 267 status = wsp->walk_callback(ptr, wsp->walk_data, wsp->walk_cbdata); in ptms_walk_step() 270 return (status); in ptms_walk_step()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 447 int status; in tcps_sc_walk_step() local 463 return (status); in tcps_sc_walk_step() 863 int status; in ire_next_walk_step() local 877 return (status); in ire_next_walk_step() 880 return (status); in ire_next_walk_step() 3208 int status; in ilb_rules_walk_step() local 3216 return (status); in ilb_rules_walk_step() 3245 int status; in ilb_servers_walk_step() local 3331 int status; in ilb_nat_src_walk_step() local 3463 int status; in ilb_conn_walk_step() local [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kmem.c | 1160 int status = WALK_ERR; in kmem_walk_init_common() local 1301 status = WALK_NEXT; in kmem_walk_init_common() 1305 status = WALK_ERR; in kmem_walk_init_common() 1309 if (status == WALK_ERR) { in kmem_walk_init_common() 1326 if (status == WALK_ERR) in kmem_walk_init_common() 1329 return (status); in kmem_walk_init_common()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 1315 int status; in tgt_request_continue() local 1323 status = tgt_continue(t, tsp, t_cont); in tgt_request_continue() 1324 } while (status == 0 && (t->t_flags & T_CONT_BITS)); in tgt_request_continue() 1326 if (status == 0) { in tgt_request_continue() 1344 return (status); in tgt_request_continue()
|
H A D | mdb_shell.c | 83 int status; in mdb_shell_exec() local 103 } while (waitpid(pid, &status, 0) == -1 && errno == EINTR); in mdb_shell_exec() 105 mdb_dprintf(MDB_DBG_SHELL, "waitpid %d -> 0x%x\n", (int)pid, status); in mdb_shell_exec() 137 int status; in shellio_close() local 141 } while (waitpid(pid, &status, 0) == -1 && errno == EINTR); in shellio_close() 143 mdb_dprintf(MDB_DBG_SHELL, "waitpid %d -> 0x%x\n", (int)pid, status); in shellio_close()
|
H A D | mdb_signal.c | 47 int status; in mdb_signal_sethandler() local 74 if ((status = sigaction(sig, &act, NULL)) == 0) in mdb_signal_sethandler() 77 return (status); in mdb_signal_sethandler()
|
H A D | mdb_proc.c | 725 mdb_tgt_status_t status; in pt_fork() local 737 if (pt_setrun(t, &status, 0) == -1 || in pt_fork() 738 status.st_state == MDB_TGT_UNDEAD || in pt_fork() 739 status.st_state == MDB_TGT_LOST) in pt_fork() 2757 if (status != 0) { in pt_lookup_by_name_thr() 4165 int status = -1; in pt_brkpt_cont() local 4185 status = pt_status(t, tsp); in pt_brkpt_cont() 4198 return (status); in pt_brkpt_cont() 4339 int status = -1; in pt_wapt_cont() local 4363 status = pt_status(t, tsp); in pt_wapt_cont() [all …]
|
H A D | mdb_main.c | 114 terminate(int status) in terminate() argument 118 exit(status); in terminate() 322 usage(int status) in usage() argument 355 terminate(status); in usage() 435 int status, c; in main() local 814 if (proc_arg_psinfo(pidarg, PR_ARG_PIDS, NULL, &status) == -1) { in main() 816 pidarg, Pgrab_error(status)); in main() 1114 while ((status = mdb_run()) == MDB_ERR_ABORT || in main() 1115 status == MDB_ERR_OUTPUT) { in main() 1120 if (status == MDB_ERR_OUTPUT && in main() [all …]
|
H A D | mdb_modapi.c | 605 int status; in walk_step() local 626 return (status); in walk_step() 632 int status, rval = 0; in walk_common() local 649 if (status != WALK_DONE) in walk_common() 724 int status; in walk_dcmd() local 731 if (status == DCMD_USAGE || status == DCMD_ABORT) in walk_dcmd() 746 int status; in i_mdb_pwalk_dcmd() local 770 return (status); in i_mdb_pwalk_dcmd() 858 int status; in mdb_call_dcmd() local 870 if (status == DCMD_ERR || status == DCMD_ABORT) in mdb_call_dcmd() [all …]
|
H A D | mdb_io.c | 252 int status = 0; in iob_pager() local 289 status = 0; in iob_pager() 298 status = MDB_ERR_PAGER; in iob_pager() 315 status = MDB_ERR_PAGER; in iob_pager() 321 status = MDB_ERR_ABORT; in iob_pager() 342 if ((iob->iob_flags & MDB_IOB_ERR) && status == 0) in iob_pager() 343 status = MDB_ERR_OUTPUT; in iob_pager() 345 return (status); in iob_pager()
|
H A D | mdb.c | 886 int status, err = 0; in mdb_call() local 922 mdb.m_lastret = status; in mdb_call() 1130 int status; in dcmd_invoke() local 1143 if (status == DCMD_USAGE) in dcmd_invoke() 1146 if (status == DCMD_NEXT) in dcmd_invoke() 1147 status = DCMD_OK; in dcmd_invoke() 1159 return (status); in dcmd_invoke() 1184 int status; in mdb_call_idcmd() local 1225 if (DCMD_ABORTED(status)) in mdb_call_idcmd() 1247 if (DCMD_ABORTED(status)) in mdb_call_idcmd() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 1820 int status = -1; in kmt_brkpt_cont() local 1830 status = kmt_status(t, tsp); in kmt_brkpt_cont() 1840 return (status); in kmt_brkpt_cont() 2028 int status = -1; in kmt_wapt_cont() local 2053 status = kmt_status(t, tsp); in kmt_wapt_cont() 2061 return (status); in kmt_wapt_cont()
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 791 dtrace_optval_t val, status, agg; in status_init() local 797 if (dtrace_getopt(g_dtp, "statusrate", &status) == -1) in status_init() 810 val = status < agg ? status : agg; in status_init() 1022 int status; in main() local 1380 while (waitpid(child, &status, WEXITED) != child) in main() 1385 if (WIFEXITED(status)) { in main() 1386 if (WEXITSTATUS(status) != 0) { in main() 1393 argv[0], WEXITSTATUS(status)); in main() 1398 argv[0], WTERMSIG(status)); in main()
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 783 void *status; in getldap_set_serverInfo() local 1226 status = gettext("UNKNOWN"); in getldap_get_server_stat() 1229 status = gettext("CONNECTING"); in getldap_get_server_stat() 1232 status = gettext("UP"); in getldap_get_server_stat() 1235 status = gettext("ERROR"); in getldap_get_server_stat() 1238 status = gettext("REMOVED"); in getldap_get_server_stat() 1264 status, DOORLINESEP); in getldap_get_server_stat() 2793 status = NS_SERVER_CHANGE_UP; in test_server_change() 2826 char *tmp_buf, *ptr, *status; in create_buf_and_notify() local 2848 status = NS_SERVER_CHANGE_UP; in create_buf_and_notify() [all …]
|
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 880 if (props.status == STMF_TARGET_PORT_ONLINE) { in list_target()
|
/illumos-gate/usr/src/cmd/intrstat/ |
H A D | intrstat.c | 120 status(int signal __unused) in status() function 386 act.sa_handler = status; in main()
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 1233 int status; in spawn_processes() local 1329 return (status); in spawn_processes() 2326 childeath_single(pid_t pid, int status) in childeath_single() argument 2345 process->p_exit = (short)status; in childeath_single() 2374 pp->pl_exit = (short)status; in childeath_single() 2389 int status; in childeath() local 2392 childeath_single(pid, status); in childeath() 2726 clearent(pid_t pid, short status) in clearent() argument 3718 short status; in cleanaux() local 3731 status = p->pl_exit; in cleanaux() [all …]
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 260 dladm_status_t status; in main() local 281 die_dlerr(status, in main() 317 dladm_status_t status; in do_init_flow() local 338 dladm_status_t status; in do_add_flow() local 506 dladm_status_t status; in print_flow() local 510 return (status); in print_flow() 672 dladm_status_t status; in set_flowprop_persist() local 683 return (status); in set_flowprop_persist() 756 status = s; in set_flowprop() 787 status = s; in set_flowprop() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 1165 dtrace_status_t status[2]; in main() local 1189 bzero(status, sizeof (status)); in main()
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 2129 return (status); in i_dladm_aggr_get_linkid() 2983 return (status); in print_link() 3214 return (status); in print_aggr_extended() 3301 return (status); in print_aggr_lacp() 3402 *stat = status; in print_aggr_stats_cb() 3475 return (status); in print_aggr_stats() 3510 return (status); in print_aggr() 3883 return (status); in print_phys_default() 4469 return (status); in print_phys() 4516 return (status); in print_vlan() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 7084 devfsadm_exit(int status) in devfsadm_exit() argument 7087 vprint(INFO_MID, "exit status = %d\n", status); in devfsadm_exit() 7097 exit(status); in devfsadm_exit()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.proc.c | 625 int status, reason; in pprint() local 641 status = reason = -1; in pprint() 647 (pstatus == status && pp->p_reason == reason || in pprint() 669 if (pstatus == status) in pprint() 676 status = pstatus; in pprint() 679 switch (status) { in pprint() 705 printf("BUG: status=%-9o", status); in pprint() 729 if (pp->p_flags&PPTIME && !(status&(PSTOPPED|PRUNNING))) { in pprint()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ntp.c | 111 ntohs(ntpc->status), in interpret_ntp() 273 (void) sprintf(get_line((char *)(uintptr_t)ntpc->status - in interpret_ntp() 276 ntohs(ntpc->status)); in interpret_ntp()
|