/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/ |
H A D | tst.spin.ksh | 89 status=$? 90 if [ "$status" -ne 0 ]; then 92 exit $status 133 status=$? 134 if [ "$status" -eq 0 ]; then 138 exit $status
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.sh | 112 status=\$? 113 if [ \$status = 0 ]; then 120 retcode=\$status 123 status=\$? 124 if [ \$status = 0 ]; then 130 retcode=\${status}-\${retcode}
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rdma_subr.c | 265 int status; in clist_register() local 291 if (status != RDMA_SUCCESS) { in clist_register() 293 return (status); in clist_register() 342 rdma_stat status; in clist_syncmem() local 349 status = RDMA_SYNCMEM(conn, in clist_syncmem() 353 if (status != RDMA_SUCCESS) in clist_syncmem() 354 return (status); in clist_syncmem() 362 status = RDMA_SYNCMEM(conn, in clist_syncmem() 367 return (status); in clist_syncmem() 461 int status; in rdma_modload() local [all …]
|
H A D | clnt_rdma.c | 440 int status; in clnt_setup_rlist() local 448 if (status != RDMA_SUCCESS) { in clnt_setup_rlist() 467 int status; in clnt_setup_wlist() local 571 int status; in clnt_rdma_kcallit() local 673 switch (status) { in clnt_rdma_kcallit() 728 status = CLNT_RDMA_FAIL; in clnt_rdma_kcallit() 938 if (status != RDMA_SUCCESS) { in clnt_rdma_kcallit() 963 if (status != RDMA_SUCCESS) { in clnt_rdma_kcallit() 986 if (status != 0) { in clnt_rdma_kcallit() 987 if (status == RDMA_INTR) { in clnt_rdma_kcallit() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx_tools.c | 314 iget_p->status = PCITOOL_IO_ERROR; in niumxtool_get_intr() 353 iget_p->status = PCITOOL_IO_ERROR; in niumxtool_get_intr() 367 iget_p->status = PCITOOL_IO_ERROR; in niumxtool_get_intr() 374 iget_p->status = PCITOOL_IO_ERROR; in niumxtool_get_intr() 380 iget_p->status = PCITOOL_SUCCESS; in niumxtool_get_intr() 436 iset.status = PCITOOL_OUT_OF_RANGE; in niumxtool_set_intr() 442 iset.status = PCITOOL_IO_ERROR; in niumxtool_set_intr() 447 iset.status = PCITOOL_IO_ERROR; in niumxtool_set_intr() 453 iset.status = PCITOOL_INVALID_INO; in niumxtool_set_intr() 463 iset.status = PCITOOL_SUCCESS; in niumxtool_set_intr() [all …]
|
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | sgenv.c | 1772 status = resp.msg_status; in sgenv_get_board_info_data() 1799 } else if (status == in sgenv_get_board_info_data() 1811 } else if (status == in sgenv_get_board_info_data() 1829 rv = status; in sgenv_get_board_info_data() 1935 *status = resp.msg_status; in sgenv_get_hpu_keys() 1976 *status = EINVAL; in sgenv_get_env_data() 2005 *status = resp.msg_status; in sgenv_get_env_data() 2020 switch (*status) { in sgenv_get_env_data() 2296 env_sensor_status_t status; in sgenv_check_sensor_thresholds() local 2411 SG_SET_PREV_SENSOR_STATUS(*status, *status); in sgenv_set_sensor_status() [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-config.c | 197 xge_hal_status_e status; in __hal_fifo_queue_check() local 199 if ((status = __hal_tti_config_check( in __hal_fifo_queue_check() 201 return status; in __hal_fifo_queue_check() 396 xge_hal_status_e status; in __hal_fifo_config_check() local 403 return status; in __hal_fifo_config_check() 434 xge_hal_status_e status; in __hal_ring_config_check() local 441 return status; in __hal_ring_config_check() 464 xge_hal_status_e status; in __hal_device_config_check_common() local 654 return status; in __hal_device_config_check_common() 659 return status; in __hal_device_config_check_common() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 672 struct ldap_x_hostlist_status *status ) in ldap_x_hostlist_next() argument 681 if ( NULL == status || NULL == status->lhs_nexthost ) { in ldap_x_hostlist_next() 690 if ( status->lhs_nexthost[0] == '[' ) { in ldap_x_hostlist_next() 691 ++status->lhs_nexthost; in ldap_x_hostlist_next() 697 size_t len = q - status->lhs_nexthost; in ldap_x_hostlist_next() 704 status->lhs_nexthost += ( len + 1 ); in ldap_x_hostlist_next() 710 status->lhs_nexthost = NULL; in ldap_x_hostlist_next() 727 *portp = status->lhs_defport; in ldap_x_hostlist_next() 737 if ( NULL != status ) { in ldap_x_hostlist_statusfree() 738 if ( NULL != status->lhs_hostlist ) { in ldap_x_hostlist_statusfree() [all …]
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | dump.c | 87 int error = 0, status; in dump() local 128 while (wait(&status) != pid) in dump() 130 if (status) { in dump() 131 if (WIFSIGNALED(status)) { in dump() 134 orgapp, (WSIGMASK & status), in dump() 135 ((status & WCOREFLG) ? in dump() 139 return (status); in dump()
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_buf.c | 88 int status; in hci1394_buf_alloc() local 112 status = ddi_dma_alloc_handle(drvinfo->di_dip, &dma_attr, in hci1394_buf_alloc() 114 if (status != DDI_SUCCESS) { in hci1394_buf_alloc() 119 status = ddi_dma_mem_alloc(buf->bu_dma_handle, parms->bp_length, in hci1394_buf_alloc() 122 if (status != DDI_SUCCESS) { in hci1394_buf_alloc() 128 status = ddi_dma_addr_bind_handle(buf->bu_dma_handle, NULL, in hci1394_buf_alloc() 132 if (status != DDI_SUCCESS) { in hci1394_buf_alloc()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_trans2_dfs.c | 56 uint32_t status; in smb_com_trans2_get_dfs_referral() local 73 status = smb_dfs_get_referrals(sr, &fsctl); in smb_com_trans2_get_dfs_referral() 79 doserr = smb_status2doserr(status); in smb_com_trans2_get_dfs_referral() 81 if (status != 0) { in smb_com_trans2_get_dfs_referral() 82 smbsr_error(sr, status, ERRDOS, doserr); in smb_com_trans2_get_dfs_referral()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disena.c | 39 if (pps->status & PS_DISABLED) in disable() 43 pps->status |= PS_DISABLED; in disable() 49 if (pps->status & PS_BUSY) in disable() 108 if (!(pps->status & (PS_FAULTED|PS_DISABLED|PS_LATER))) in enable() 112 pps->status &= ~(PS_FAULTED|PS_DISABLED|PS_LATER); in enable()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_xfer.c | 49 int status; in iser_xfer_hello_msg() local 109 if (status != IBT_SUCCESS) { in iser_xfer_hello_msg() 111 "failure (%d)", status); in iser_xfer_hello_msg() 135 int status; in iser_xfer_helloreply_msg() local 194 if (status != IBT_SUCCESS) { in iser_xfer_helloreply_msg() 196 "failure (%d)", status); in iser_xfer_helloreply_msg() 232 int status; in iser_xfer_ctrlpdu() local 384 if (status != IBT_SUCCESS) { in iser_xfer_ctrlpdu() 418 int status; in iser_xfer_buf_to_ini() local 486 if (status != IBT_SUCCESS) { in iser_xfer_buf_to_ini() [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | bridge_rcm.c | 142 dladm_status_t status; in rcm_mod_init() local 156 dladm_status2str(status, errmsg)); in rcm_mod_init() 286 dladm_status_t status; in bridge_offline() local 310 if (status != DLADM_STATUS_OK) { in bridge_offline() 333 dladm_status_t status; in bridge_undo_offline() local 360 if (status != DLADM_STATUS_OK) { in bridge_undo_offline() 546 dladm_status_t status; in bridge_usage() local 555 if (status != DLADM_STATUS_OK) { in bridge_usage() 675 dladm_status_t status; in bridge_update() local 685 if (status != DLADM_STATUS_OK) { in bridge_update() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 376 int status; in timer_thread() local 380 if (status != 0) { in timer_thread() 445 int32_t status; in timed_lock_wait() local 451 if (status == -1) in timed_lock_wait() 452 return (status); in timed_lock_wait() 483 int32_t status; in lock_and_run() local 556 int32_t status; in thread_setup() local 559 if (status != 0) { in thread_setup() 753 int32_t status; in init_daemon() local 807 if (status != 0) in init_daemon() [all …]
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 1148 status = 0; in myri10ge_load_firmware_from_zlib() 1392 int status; in myri10ge_m_unicst() local 1410 int status; in myri10ge_change_pause() local 1432 int status; in myri10ge_change_promisc() local 1449 int status; in myri10ge_dma_test() local 1651 int status; in myri10ge_init_toeplitz() local 2150 status |= in myri10ge_start_locked() 2265 int status; in myri10ge_m_start() local 4339 int status; in myri10ge_firmware_probe() local 5427 int status; in myri10ge_probe_slices() local [all …]
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiReportLUNs.c | 37 HBA_UINT32 status; in SendScsiReportLUNs() local 57 status = send_uscsi_cmd(devpath, &ucmd_buf); in SendScsiReportLUNs() 59 return (status); in SendScsiReportLUNs() 72 HBA_STATUS status; in Sun_sasScsiReportLUNs() local 117 status = verifyAdapter(hba_ptr); in Sun_sasScsiReportLUNs() 118 if (status != HBA_STATUS_OK) { in Sun_sasScsiReportLUNs() 122 return (status); in Sun_sasScsiReportLUNs() 191 status = SendScsiReportLUNs( in Sun_sasScsiReportLUNs() 203 return (status); in Sun_sasScsiReportLUNs()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_fm.h | 232 #define hermon_pio_init(cnt, status, tst) \ argument 234 int status = HCA_PIO_OK; \ 241 #define hermon_pio_start(st, hdl, label, cnt, status, tst) \ argument 256 status = HCA_SKIP_HW_CHK; \ 266 #define hermon_pio_end(st, hdl, label, cnt, status, tst) \ argument 267 if (status != HCA_SKIP_HW_CHK) { \ 273 if ((status = PIO_END(st, hdl, cnt, tst)) == \ 276 } else if (status == HCA_PIO_TRANSIENT) { \ 281 } while (status == HCA_PIO_TRANSIENT)
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_lu.c | 173 int status = 0; in load_lu() local 179 status = lustatus(fd); in load_lu() 185 return (status); in load_lu() 197 int status; in lufslist() local 240 if ((status = add_use_record(devp, nmp)) != 0) { in lufslist() 247 return (status); in lufslist() 255 int status = 0; in lustatus() local 294 if ((status = lufslist(ffd)) != 0) { in lustatus() 302 return (status); in lustatus()
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | wait4.c | 70 wait4(pid_t pid, int *status, int options, struct rusage *rp) in wait4() argument 79 if ((long)status == -1L || (long)rp == -1L) { in wait4() 129 if (status) in wait4() 130 *status = wstat(info.si_code, info.si_status); in wait4() 141 wstat(int code, int status) in wstat() argument 143 int stat = (status & 0377); in wstat()
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | nfs_xdr.c | 124 if (!xdr_b_nfsstat(xdrs, &objp->status)) { in xdr_attrstat() 127 if (objp->status == NFS_OK) { in xdr_attrstat() 154 if (!xdr_b_nfsstat(xdrs, &objp->status)) { in xdr_diropres() 157 if (objp->status == NFS_OK) { in xdr_diropres() 166 if (!xdr_b_nfsstat(xdrs, &objp->status)) { in xdr_readlinkres() 169 if (objp->status == NFS_OK) { in xdr_readlinkres() 203 if (!xdr_b_nfsstat(xdrs, &objp->status)) { in xdr_readres() 206 if (objp->status == NFS_OK) { in xdr_readres() 259 if (!xdr_b_nfsstat(xdrs, &objp->status)) { in xdr_readdirres() 262 if (objp->status == NFS_OK) { in xdr_readdirres()
|
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 164 #define AUTHAMD_IS_MEMECCERR(bank, status) \ argument 169 ((status) & (AMD_BANK_STAT_CECC | AMD_BANK_STAT_UECC))) 204 #define AUTHAMD_IS_GARTERR(bank, status) \ argument 206 MCAX86_ERRCODE_ISTLB(MCAX86_ERRCODE(status)) && \ 209 (status) & MSR_MC_STATUS_UC) 879 AUTHAMD_IS_MEMECCERR(bank, status) && in authamd_bank_logout() 944 uint16_t exterrcode = AMD_EXT_ERRCODE(status); in authamd_disp_match() 951 AUTHAMD_IS_MEMECCERR(bank, status)) { in authamd_disp_match() 952 if (status & AMD_BANK_STAT_CECC) { in authamd_disp_match() 955 } else if (status & AMD_BANK_STAT_UECC) { in authamd_disp_match() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 417 uint32_t status; in smb_logon_init() local 423 return (status); in smb_logon_init() 432 return (status); in smb_logon_init() 436 return (status); in smb_logon_init() 538 uint32_t status; in smb_logon_local() local 669 xlate_nt_status(status)); in smb_token_auth_local() 671 return (status); in smb_token_auth_local() 963 uint32_t status; in smb_token_setup_wingrps() local 984 return (status); in smb_token_setup_wingrps() 990 return (status); in smb_token_setup_wingrps() [all …]
|
H A D | smb_quota.c | 379 uint32_t status; in smb_quota_query() local 395 return (status); in smb_quota_query() 415 return (status); in smb_quota_query() 426 uint32_t status; in smb_quota_set() local 438 return (status); in smb_quota_set() 607 return (status); in smb_quota_zfs_set_quotas() 659 return (status); in smb_quota_zfs_set_quotas() 912 uint32_t status; in smb_quota_tree_populate() local 924 return (status); in smb_quota_tree_populate() 960 return (status); in smb_quota_zfs_get_quotas() [all …]
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Lockable.cc | 90 int status; in lock() local 94 status = pthread_mutex_trylock(myMutex); in lock() 95 if (status) { in lock() 119 cerr << "Lock failed: " <<strerror(status) << endl; in lock() 127 } while (status); in lock()
|