/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | malloc.c | 54 int status; member 114 if (block->status == BUSY) in defrag() 117 block2->status == FREE; block2 = block2->next) { in defrag() 144 newblock->status = FREE; in split() 171 if ((block->status == FREE) && (block->size >= size)) in malloc() 193 block->status = FREE; in malloc() 202 block->status = BUSY; in malloc() 248 if (block->next && block->next->status == FREE) { in realloc() 266 block->status = FREE; in realloc() 298 block->status = FREE; in free() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckpath.c | 160 struct stat64 status; in ckpath_val() local 172 if (stat64(path, &status)) { in ckpath_val() 203 if ((status.st_mode & S_IFMT) == S_IFREG) { in ckpath_val() 205 if ((pflags & P_NONZERO) && (status.st_size < 1)) { in ckpath_val() 210 if ((pflags & P_CHR) && ((status.st_mode & S_IFMT) != S_IFCHR)) { in ckpath_val() 214 if ((pflags & P_BLK) && ((status.st_mode & S_IFMT) != S_IFBLK)) { in ckpath_val() 218 if ((pflags & P_DIR) && ((status.st_mode & S_IFMT) != S_IFDIR)) { in ckpath_val() 222 if ((pflags & P_REG) && ((status.st_mode & S_IFMT) != S_IFREG)) { in ckpath_val() 226 if ((pflags & P_READ) && !(status.st_mode & S_IREAD)) { in ckpath_val() 230 if ((pflags & P_WRITE) && !(status.st_mode & S_IWRITE)) { in ckpath_val() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_dma.c | 59 int status; in ghd_dma_buf_bind_attr() local 71 status = ddi_dma_alloc_handle(cccp->ccc_hba_dip, sg_attrp, callback, in ghd_dma_buf_bind_attr() 74 if (status != DDI_SUCCESS) { in ghd_dma_buf_bind_attr() 79 status = ddi_dma_buf_bind_handle(gcmdp->cmd_dma_handle, bp, dma_flags, in ghd_dma_buf_bind_attr() 83 "c 0x%d\n", (void *)gcmdp, status, (void *)gcmdp->cmd_dma_handle, in ghd_dma_buf_bind_attr() 86 switch (status) { in ghd_dma_buf_bind_attr() 202 int status; in ghd_dmaget_attr() local 225 status = ddi_dma_getwin(gcmdp->cmd_dma_handle, in ghd_dmaget_attr() 228 if (status != DDI_SUCCESS) in ghd_dmaget_attr()
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_exp_sec_context.c | 79 OM_uint32 status; local 86 status = val_exp_sec_ctx_args(minor_status, 88 if (status != GSS_S_COMPLETE) 89 return (status); 103 status = mech->gss_export_sec_context(mech->context, minor_status, 105 if (status != GSS_S_COMPLETE) { 107 return (status);
|
H A D | g_rel_cred.c | 44 OM_uint32 status, temp_status; local 72 status = GSS_S_COMPLETE; 88 status = GSS_S_NO_CRED; 91 status = GSS_S_UNAVAILABLE; 93 status = GSS_S_DEFECTIVE_CREDENTIAL; 101 return (status);
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_pname.c | 45 uu_die_internal(int status, const char *format, va_list alist) __NORETURN; 115 uu_die_internal(int status, const char *format, va_list alist) in uu_die_internal() argument 129 exit(status); in uu_die_internal() 149 uu_vxdie(int status, const char *format, va_list alist) in uu_vxdie() argument 151 uu_die_internal(status, format, alist); in uu_vxdie() 156 uu_xdie(int status, const char *format, ...) in uu_xdie() argument 160 uu_die_internal(status, format, alist); in uu_xdie()
|
/illumos-gate/usr/src/cmd/time/ |
H A D | time.c | 67 int status; in main() local 116 while (wait(&status) != p); in main() 117 if ((status & 0377) != '\0') in main() 133 return ((status & 0xff00) in main() 134 ? (status >> 8) in main() 135 : ((status & 0x00ff) ? ((status & ~WCOREFLG) | 0200) : 0)); in main()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | output.c | 56 short status; local 97 status = MOKMORE; 98 while (status == MOKMORE) { 123 rc = getmessage(buffer, type, &status); 127 rc = getmessage(buffer, type, &status, &dummy); 142 return (status);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_setinfo_quota.c | 49 uint32_t status = NT_STATUS_SUCCESS; in smb2_setinfo_quota() local 80 status = smb_quota_decode_quotas(&si->si_data, quota_list); in smb2_setinfo_quota() 81 if (status == NT_STATUS_SUCCESS) { in smb2_setinfo_quota() 84 status = NT_STATUS_INTERNAL_ERROR; in smb2_setinfo_quota() 86 status = reply; in smb2_setinfo_quota() 95 return (status); in smb2_setinfo_quota()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | key_prot.c | 130 if (!xdr_keystatus(xdrs, &objp->status)) in xdr_cryptkeyres() 132 if (objp->status != KEY_SUCCESS) in xdr_cryptkeyres() 140 if (!xdr_keystatus(xdrs, &objp->status)) in xdr_cryptkeyres3() 142 if (objp->status != KEY_SUCCESS) in xdr_cryptkeyres3() 174 if (!xdr_keystatus(xdrs, &objp->status)) in xdr_getcredres() 176 if (objp->status != KEY_SUCCESS) in xdr_getcredres() 184 if (!xdr_keystatus(xdrs, &objp->status)) in xdr_getcredres3() 186 if (objp->status != KEY_SUCCESS) in xdr_getcredres3() 220 if (!xdr_keystatus(xdrs, &objp->status)) in xdr_key_netstres() 222 switch (objp->status) { in xdr_key_netstres() [all …]
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 540 if (res->status == GSS_S_COMPLETE) { 645 res->status); 1440 if (GSS_ERROR(res->status)) 1509 if (res->status == GSS_S_COMPLETE) { 1621 if (res->status == GSS_S_COMPLETE) { 1724 if (res->status == GSS_S_COMPLETE) { 1836 if (res->status == GSS_S_COMPLETE) { 1904 if (GSS_ERROR(res->status)) 1980 if (res->status == GSS_S_COMPLETE) { 2061 if (res->status == GSS_S_COMPLETE) { [all …]
|
H A D | gssd.c | 56 static void daemonize_ready(unsigned char status); 239 unsigned char status = 1; in daemonize_start() local 262 (void) read(pipe_fds[0], &status, sizeof (status)); in daemonize_start() 263 exit(status); in daemonize_start() 272 daemonize_ready(unsigned char status) in daemonize_ready() argument 277 (void) write(write_pipe_fd, &status, sizeof (status)); in daemonize_ready()
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_async.c | 151 int status; in hci1394_async_init() local 636 int status; in hci1394_async_arresp_process() local 813 int status; in hci1394_async_arreq_process() local 1066 int status; in hci1394_async_arresp_read() local 1307 int status; in hci1394_async_arreq_read() local 2009 int status; in hci1394_async_phy() local 2063 int status; in hci1394_async_write() local 2169 int status; in hci1394_async_read() local 2273 int status; in hci1394_async_lock() local 2376 int status; in hci1394_async_write_response() local [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ioctl.c | 139 int status; in tavor_ioctl() local 155 status = 0; in tavor_ioctl() 208 *rvalp = status; in tavor_ioctl() 220 int status = 0; in tavor_ioctl_flash_read() local 294 status = EIO; in tavor_ioctl_flash_read() 333 int status = 0; in tavor_ioctl_flash_write() local 410 status = EIO; in tavor_ioctl_flash_write() 425 int status = 0; in tavor_ioctl_flash_erase() local 481 status = EIO; in tavor_ioctl_flash_erase() 1182 int status; in tavor_ioctl_reg_read() local [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_rmpp.c | 94 int status; in ibmf_i_rmpp_sender_active_flow() local 202 if (status != IBMF_SUCCESS) { in ibmf_i_rmpp_sender_active_flow() 262 if (status != IBMF_SUCCESS) { in ibmf_i_rmpp_sender_active_flow() 373 int status; in ibmf_i_rmpp_sender_switch_flow() local 460 int status; in ibmf_i_rmpp_recvr_flow_main() local 1095 int status; in ibmf_i_rmpp_recvr_active_flow() local 1207 int status; in ibmf_i_rmpp_recvr_term_flow() local 1379 int status; in ibmf_i_handle_rmpp() local 1650 int status; in ibmf_i_send_rmpp() local 1685 "unable to send packet", tnf_uint, status, status); in ibmf_i_send_rmpp() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpc_subr.c | 443 enum clnt_stat status; in portmap_getport() local 482 if (status != RPC_SUCCESS) in portmap_getport() 495 return (status); in portmap_getport() 512 enum clnt_stat status; in rpcbind_getaddr() local 556 status = RPC_UNKNOWNPROTO; in rpcbind_getaddr() 585 status = RPC_TLIERROR; in rpcbind_getaddr() 608 if (status != RPC_SUCCESS) in rpcbind_getaddr() 624 status = RPC_UNKNOWNADDR; in rpcbind_getaddr() 632 status = RPC_UNKNOWNADDR; in rpcbind_getaddr() 645 if (status != RPC_SUCCESS && in rpcbind_getaddr() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_auth.c | 168 DWORD status; in netlogon_auth() local 177 if (status != 0) { in netlogon_auth() 179 xlate_nt_status(status)); in netlogon_auth() 180 return (status); in netlogon_auth() 263 DWORD status; in netr_open() local 269 return (status); in netr_open() 278 DWORD status; in netr_open_secure() local 297 return (status); in netr_open_secure() 333 if (arg.status != 0) { in netr_server_req_challenge() 429 if (arg.status != 0) { in netr_server_authenticate2() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_wr.c | 125 status = IBT_QP_FULL; in hermon_post_send_ud() 417 return (status); in hermon_post_send_ud() 435 int status; in hermon_post_send_rc() local 766 return (status); in hermon_post_send_rc() 794 int status; in hermon_post_send() local 1098 return (status); in hermon_post_send() 1120 int status; in hermon_post_recv() local 1214 return (status); in hermon_post_recv() 1229 int status; in hermon_post_srq() local 1292 return (status); in hermon_post_srq() [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_ioctl_lrp.c | 172 upath->status, MSU_ACTIVE); in oplmsu_lrioctl_termios() 191 lpath->status = MSU_EXT_NOTUSED; in oplmsu_lrioctl_termios() 214 stp_upath->status, trad_sts); in oplmsu_lrioctl_termios() 319 upath->status, MSU_FAIL); in oplmsu_lrioctl_termios() 411 lpath->status = MSU_EXT_NOTUSED; in oplmsu_lrioctl_termios() 431 lpath->status = MSU_EXT_NOTUSED; in oplmsu_lrioctl_termios() 445 switch (upath->status) { in oplmsu_lrioctl_termios() 538 upath->status, MSU_FAIL); in oplmsu_lrmsg_error() 571 upath->status, MSU_FAIL); in oplmsu_lrmsg_error() 701 lpath->status = MSU_EXT_VOID; in oplmsu_lrdata_xoffxon() [all …]
|
/illumos-gate/usr/src/cmd/gss/gsscred/ |
H A D | gsscred.c | 362 status = 0; in listUsers() 416 status = 0; in listUsers() 464 if (!status) in listUsers() 491 status = 0; in listUsers() 499 return (status); in listUsers() 583 status = 0; in removeUsers() 596 status = 0; in removeUsers() 617 status = 0; in removeUsers() 641 status = 0; in removeUsers() 673 if (!status) in removeUsers() [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.c | 948 xge_hal_status_e status; in xgell_ring_tx() local 984 switch (status) { in xgell_ring_tx() 1307 xge_hal_status_e status; in xgell_remmac() local 1538 xge_hal_status_e status; in xgell_maddr_set() local 1588 xge_hal_status_e status; in xgell_rx_ring_open() local 1753 xge_hal_status_e status; in xgell_tx_ring_open() local 1851 xge_hal_status_e status; in xgell_initiate_start() local 1937 xge_hal_status_e status; in xgell_initiate_stop() local 2086 xge_hal_status_e status; in xgell_m_multicst() local 2103 status = (add) ? in xgell_m_multicst() [all …]
|
/illumos-gate/usr/src/cmd/hal/tools/sunos/ |
H A D | hal-system-lcd-get-brightness-sunos.c | 31 struct acpi_drv_output_status status; in main() local 53 bzero(&status, sizeof (status)); in main() 54 if (ioctl(fd, ACPI_DRV_IOC_STATUS, &status) < 0) { in main() 59 return (status.cur_level_index); in main()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_rxdma.c | 214 return (status); in nxge_init_rxdma_channel() 225 return (status); in nxge_init_rxdma_channel() 241 return (status); in nxge_init_rxdma_channel() 301 return (status); in nxge_reset_rxdma_channel() 359 return (status); in nxge_dump_rxdma_channel() 379 return (status); in nxge_init_rxdma_channel_event_mask() 400 return (status); in nxge_init_rxdma_channel_cntl_stat() 684 return (status); in nxge_rxdma_channel_rcrflush() 1246 return (status); in nxge_rxdma_hw_mode() 2308 status)); in nxge_receive_packet() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 738 switch (lp->status) { 740 status = "ABORT"; 743 status = "ERROR"; 746 status = "FREE"; 749 status = "HELD"; 752 status = "NONE"; 755 status = "WAIT"; 758 status = "PENDING"; 761 status = "UNKNOWN"; 882 db_status_t status; [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5sp.c | 16 DbgBreakIf(iscsi->hdr.status != STATE_STATUS_INIT_CONTEXT); in lm_sc_post_init_request() 36 DbgBreakIf(iscsi->hdr.status != STATE_STATUS_NORMAL); in lm_sc_post_update_request() 93 request->status = lm_status; in lm_sc_post_slow_path_request() 115 iscsi->hdr.status = STATE_STATUS_INIT; in lm_sc_init_iscsi_state() 142 DbgBreakIf(iscsi->hdr.status >= STATE_STATUS_OFFLOAD_PENDING && in lm_sc_del_iscsi_state() 143 iscsi->hdr.status < STATE_STATUS_UPLOAD_DONE); in lm_sc_del_iscsi_state() 156 DbgBreakIf(iscsi->hdr.status != STATE_STATUS_UPLOAD_DONE && in lm_sc_del_iscsi_state() 157 iscsi->hdr.status != STATE_STATUS_INIT_OFFLOAD_ERR); in lm_sc_del_iscsi_state() 159 if (iscsi->hdr.status == STATE_STATUS_INIT_OFFLOAD_ERR) { in lm_sc_del_iscsi_state() 210 fcoe->hdr.status = STATE_STATUS_INIT; in lm_fc_init_fcoe_state()
|