/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | debug.c | 57 rtld_stat_t status; in dbg_setup() local 143 (void) rtld_fstat(dbg_fd, &status); in dbg_setup() 144 dbg_dev = status.st_dev; in dbg_setup() 145 dbg_ino = status.st_ino; in dbg_setup() 217 rtld_stat_t status; in dbg_print() local 240 if ((rtld_fstat(dbg_fd, &status) == -1) || in dbg_print() 241 (status.st_dev != dbg_dev) || in dbg_print() 242 (status.st_ino != dbg_ino)) { in dbg_print() 264 (void) rtld_fstat(dbg_fd, &status); in dbg_print() 265 dbg_dev = status.st_dev; in dbg_print() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_cq.c | 88 ibt_status_t status; in ibt_alloc_cq() local 108 status = IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_alloc_cq( in ibt_alloc_cq() 113 if (status != IBT_SUCCESS) { in ibt_alloc_cq() 115 "CI CQ handle allocation failed: status = %d", status); in ibt_alloc_cq() 118 return (status); in ibt_alloc_cq() 146 ibt_status_t status; in ibt_free_cq() local 153 status = ((IBTL_CQ2CIHCAOPS_P(ibt_cq))->ibc_free_cq) in ibt_free_cq() 156 if (status != IBT_SUCCESS) { in ibt_free_cq() 158 "CI CQ handle de-allocation failed: status = %d", status); in ibt_free_cq() 159 return (status); in ibt_free_cq() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | faults.c | 78 pps->status |= PS_FAULTED; in printer_fault() 89 else if (!(pps->status & PS_LATER) && !pps->request) { in printer_fault() 110 pps->status |= PS_SHOW_FAULT; in printer_fault() 112 pps->status &= ~PS_SHOW_FAULT; in printer_fault() 117 pps->status, shortWhy); in printer_fault() 119 if (pps->status & PS_SHOW_FAULT) in printer_fault() 137 pps->status &= ~PS_FAULTED; in clear_printer_fault() 146 pps->status |= PS_SHOW_FAULT; in clear_printer_fault() 148 pps->status &= ~PS_SHOW_FAULT; in clear_printer_fault() 150 if (pps->status & PS_SHOW_FAULT) in clear_printer_fault() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | runcmd.c | 99 int status = 0; in esystem() local 173 pid = waitpid(pid, &status, 0); in esystem() 180 switch (status & 0177) { in esystem() 183 status = status >> 8; in esystem() 188 status = status & 0177; in esystem() 191 if (status == 0) { in esystem() 195 return (status); in esystem() 312 int status; in e_ExecCmdArray() local 473 resultPid = waitpid(pid, &status, 0L); in e_ExecCmdArray() 496 *r_status = WIFEXITED(status) ? WEXITSTATUS(status) : -1; in e_ExecCmdArray()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_cm.c | 72 ibt_cm_status_t status; in srpt_cm_req_hdlr() local 152 status = IBT_CM_ACCEPT; in srpt_cm_req_hdlr() 157 status = IBT_CM_REJECT; in srpt_cm_req_hdlr() 160 return (status); in srpt_cm_req_hdlr() 208 ibt_cm_status_t status = IBT_CM_ACCEPT; in srpt_cm_conn_closed_hdlr() local 258 status = IBT_CM_DEFAULT; in srpt_cm_conn_closed_hdlr() 261 return (status); in srpt_cm_conn_closed_hdlr() 318 status = srpt_cm_conn_est_hdlr( in srpt_cm_hdlr() 324 status = srpt_cm_conn_closed_hdlr( in srpt_cm_hdlr() 330 status = srpt_cm_failure_hdlr(event); in srpt_cm_hdlr() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yppoll.c | 61 static int status = 0; /* exit status */ variable 117 return (status); 307 if (m->status == YP_TRUE && o->status == YP_TRUE) { 311 } else if (o->status == YP_TRUE) { 315 yperr_string(ypprot_err(m->status))); 316 status = 1; 317 } else if (m->status == YP_TRUE) { 320 yperr_string(ypprot_err(o->status))); 322 status = 1; 327 yperr_string(ypprot_err(o->status))); [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | eepro100.c | 230 volatile s16 status; member 243 volatile s16 status; member 264 s16 status; member 394 unsigned short status; in eepro100_transmit() local 411 txfd.status = 0; in eepro100_transmit() 484 unsigned int status; in eepro100_poll() local 487 if (!ACCESS(rxfd)status) in eepro100_poll() 514 ACCESS(rxfd)status = 0; in eepro100_poll() 651 ACCESS(rxfd)status = 0; in eepro100_probe() 666 txfd.status = 0x0000; in eepro100_probe() [all …]
|
/illumos-gate/usr/src/cmd/fruadm/ |
H A D | fruadm.c | 78 int i, j, match, status; in validate_fieldnames() local 108 fru_strerror(status)); in validate_fieldnames() 505 int status; in create_segment() local 529 if (status != FRU_SUCCESS) in create_segment() 531 fru_strerror(status)); in create_segment() 639 int status; in update_field() local 771 int status = 0; in update_node_data() local 776 status = 1; in update_node_data() 782 return (status); in update_node_data() 832 update_status = status; in walk_tree() [all …]
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nfs_prot.x | 153 union attrstat switch (nfsstat status) { 181 union diropres switch (nfsstat status) { 188 union readlinkres switch (nfsstat status) { 213 union readres switch (nfsstat status) { 276 union readdirres switch (nfsstat status) { 291 union statfsres switch (nfsstat status) { 719 union READ3res switch (nfsstat3 status) { 754 union WRITE3res switch (nfsstat3 status) { 818 union MKDIR3res switch (nfsstat3 status) { 889 union MKNOD3res switch (nfsstat3 status) { [all …]
|
H A D | nfs_acl.x | 102 union GETACL2res switch (enum nfsstat status) { 122 union SETACL2res switch (enum nfsstat status) { 145 union GETATTR2res switch (enum nfsstat status) { 177 union ACCESS2res switch (enum nfsstat status) { 198 union GETXATTRDIR2res switch (enum nfsstat status) { 223 union GETACL3res switch (nfsstat3 status) { 247 union SETACL3res switch (nfsstat3 status) { 268 union GETXATTRDIR3res switch (nfsstat3 status) { 302 union GETACL4res switch (nfsstat3 status) { 326 union SETACL4res switch (nfsstat3 status) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 103 ibt_status_t status; in rdma_ib_destroy_id() local 126 status); in rdma_ib_destroy_id() 509 ibt_status_t status; in ibcma_fini_root_chan() local 516 status); in ibcma_fini_root_chan() 559 status); in ibcma_fini_ep_chan() 861 status); in rdma_ib_disconnect() 1078 status); in ibcma_tcp_connect() 1131 status); in ibcma_udp_connect() 2048 return (status); in ibcma_rc_hdlr() 2104 return (status); in ibcma_rc_hdlr() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_main.c | 908 status)); in nxge_attach() 910 return (status); in nxge_attach() 975 status)); in nxge_detach() 977 return (status); in nxge_detach() 1727 status)); in nxge_init() 5436 int status; in _init() local 5472 int status; in _fini() local 5484 status)); in _fini() 5506 int status; in _info() local 6447 int status; in nxge_intrs_enable() local [all …]
|
H A D | nxge_fzc.c | 127 return (status); in nxge_fzc_intr_init() 147 return (status); in nxge_fzc_intr_init() 328 status = NXGE_OK; in nxge_init_fzc_rdc() 337 return (status); in nxge_init_fzc_rdc() 345 return (status); in nxge_init_fzc_rdc() 371 return (status); in nxge_init_fzc_rdc() 445 return (status); in nxge_init_fzc_rxdma_channel() 706 return (status); in nxge_init_fzc_tdc() 756 return (status); in nxge_init_fzc_txdma_channel() 818 return (status); in nxge_init_fzc_rx_common() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/ |
H A D | tst.depth.ksh | 66 status=$? 67 if [ "$status" -ne 0 ]; then 69 exit $status 97 status=$? 102 status=1 106 if [ "$status" -eq 0 ]; then 110 exit $status
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | libefi.c | 68 EFI_STATUS status; in efi_get_protocol_handles() local 76 status = BS->LocateHandle(ByProtocol, protocolguid, in efi_get_protocol_handles() 78 if (status != EFI_BUFFER_TOO_SMALL) in efi_get_protocol_handles() 79 return (status); in efi_get_protocol_handles() 89 status = BS->LocateHandle(ByProtocol, protocolguid, in efi_get_protocol_handles() 91 if (EFI_ERROR(status)) { in efi_get_protocol_handles() 97 return (status); in efi_get_protocol_handles()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid_server.c | 102 result.status = NFSMAPID_INVALID; in nfsmapid_str_uid() 135 result.status = NFSMAPID_NUMSTR; in nfsmapid_str_uid() 155 result.status = NFSMAPID_OK; in nfsmapid_str_uid() 180 result.status = NFSMAPID_OK; in nfsmapid_str_uid() 211 resp->status = NFSMAPID_BADID; in nfsmapid_uid_str() 322 resp->status = NFSMAPID_OK; in nfsmapid_uid_str() 385 result.status = NFSMAPID_NUMSTR; in nfsmapid_str_gid() 405 result.status = NFSMAPID_OK; in nfsmapid_str_gid() 429 result.status = NFSMAPID_OK; in nfsmapid_str_gid() 461 resp->status = NFSMAPID_BADID; in nfsmapid_gid_str() [all …]
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 374 papi_status_t status; in submit_job() local 395 if (status != PAPI_OK) { in submit_job() 402 return (status); in submit_job() 491 papi_status_t status = PAPI_OK; in berkeley_receive_files() local 548 return (status); in berkeley_receive_files() 555 papi_status_t status; in berkeley_transfer_files() local 577 return (status); in berkeley_transfer_files() 632 papi_status_t status; in main() local 723 if (status != PAPI_OK) { in main() 725 verbose_papi_message(svc, status)); in main() [all …]
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | qfe.c | 71 int status; in _init() local 74 if ((status = mod_install(&modlinkage)) != 0) { in _init() 77 return (status); in _init() 83 int status; in _fini() local 85 if ((status = mod_remove(&modlinkage)) == 0) { in _fini() 88 return (status); in _fini()
|
/illumos-gate/usr/src/cmd/chgrp/ |
H A D | chgrp.c | 97 status += Perror(f); \ 101 status += Perror(f); \ 219 status += Perror(argv[c]); in main() 233 status += Perror(argv[c]); in main() 274 status += Perror( in main() 321 status += Perror(argv[c]); in main() 336 return (status); in main() 373 status += Perror(dir); in chgrpr() 377 status += Perror(dir); in chgrpr() 386 status += Perror(dp->d_name); in chgrpr() [all …]
|
/illumos-gate/usr/src/cmd/chown/ |
H A D | chown.c | 95 status += Perror(f); \ 98 status += Perror(f); \ 254 status += Perror(argv[c]); in main() 269 status += Perror(argv[c]); in main() 303 status += Perror( in main() 339 status += Perror(argv[c]); in main() 347 return (status); in main() 383 status += Perror(dir); in chownr() 387 status += Perror(dir); in chownr() 396 status += Perror(dp->d_name); in chownr() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_dma.c | 310 uchar_t status; in ata_pciide_status_clear() local 317 tmp = status & PCIIDE_BMISX_MASK; in ata_pciide_status_clear() 321 bmaddr, status)); in ata_pciide_status_clear() 337 return (status); in ata_pciide_status_clear() 344 uchar_t status; in ata_pciide_status_dmacheck_clear() local 349 status = ata_pciide_status_clear(ata_ctlp); in ata_pciide_status_dmacheck_clear() 352 ata_ctlp->ac_bmaddr, status)); in ata_pciide_status_dmacheck_clear() 356 if (status & PCIIDE_BMISX_IDERR) { in ata_pciide_status_dmacheck_clear() 373 uchar_t status; in ata_pciide_status_pending() local 377 ata_ctlp->ac_bmaddr, status)); in ata_pciide_status_pending() [all …]
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | listen.c | 54 listen_chk_status(vntsd_group_t *groupp, int status) in listen_chk_status() argument 60 "tcp=%lld group status = %x\n", thr_self(), status, in listen_chk_status() 61 groupp->group_name, groupp->tcp_port, groupp->status); in listen_chk_status() 68 switch (status) { in listen_chk_status() 78 assert(groupp->status & VNTSD_GROUP_SIG_WAIT); in listen_chk_status() 86 if (groupp->status & VNTSD_GROUP_SIG_WAIT) { in listen_chk_status() 91 groupp->status &= ~VNTSD_GROUP_SIG_WAIT; in listen_chk_status() 105 groupp->status |= VNTSD_GROUP_CLEAN_CONS; in listen_chk_status() 112 if (status != VNTSD_STATUS_NO_CONS) in listen_chk_status() 113 vntsd_log(status, err_msg); in listen_chk_status() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vcc.c | 378 if ((vport->status & status) == status) { in i_vcc_wait_port_status() 403 vport->status |= status; in i_vcc_set_port_status() 860 vport->status = 0; in i_vcc_delete_port() 975 vport->status |= VCC_PORT_AVAIL; in vcc_attach() 1185 vport->status |= VCC_PORT_OPEN; in vcc_open() 1244 vport->status &= ~VCC_PORT_OPEN; in i_vcc_close_port() 1353 vport->status |= VCC_PORT_ADDED; in i_vcc_cons_tbl() 1369 vport->status &= ~VCC_PORT_ADDED; in i_vcc_cons_tbl() 1438 if (vport->status & port_status) { in i_vcc_turn_off_event() 1481 vport->status &= ~VCC_PORT_ADDED; in i_vcc_cons_info() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | ppd.c | 86 papi_status_t status = PAPI_OK; in PPDFileToAttributesList() local 98 while ((status == PAPI_OK) && in PPDFileToAttributesList() 137 status = papiAttributeListAddString(attributes, in PPDFileToAttributesList() 141 status = papiAttributeListAddString(attributes, in PPDFileToAttributesList() 145 status = papiAttributeListAddString(attributes, in PPDFileToAttributesList() 149 status = papiAttributeListAddString(attributes, in PPDFileToAttributesList() 153 status = papiAttributeListAddString(attributes, in PPDFileToAttributesList() 160 return (status); in PPDFileToAttributesList()
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcGetFcpTargetMapping.cc | 70 HBA_STATUS status; in Sun_fcGetFcpTargetMapping() local 89 status = Sun_fcGetAdapterAttributes(handle,&attributes); in Sun_fcGetFcpTargetMapping() 90 if (status != HBA_STATUS_OK) { in Sun_fcGetFcpTargetMapping() 103 status = Sun_fcGetFcpTargetMappingV2(handle, in Sun_fcGetFcpTargetMapping() 107 if (status != HBA_STATUS_OK && status != HBA_STATUS_ERROR_MORE_DATA) { in Sun_fcGetFcpTargetMapping() 109 return status; in Sun_fcGetFcpTargetMapping() 128 return (status); in Sun_fcGetFcpTargetMapping()
|