/illumos-gate/usr/src/cmd/chown/ |
H A D | chown.c | 64 static int status = 0; /* total number of errors received */ variable 116 status += Perror(f); \ 119 status += Perror(f); \ 268 status += Perror(argv[c]); 283 status += Perror(argv[c]); 317 status += Perror( 353 status += Perror(argv[c]); 361 return (status); 373 * through the global "status" variable. 397 status [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | script_handler.c | 283 script_callback_t *callback, void *arg, int *status) 363 if (status != NULL) 364 *status = n; 282 script_start(dhcp_smach_t *dsmp, const char *event, script_callback_t *callback, void *arg, int *status) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | pclose.c | 148 int status; local 157 while ((pid = wait(&status)) != child && pid != (pid_t)-1)
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd.c | 96 int status; local 145 status = EXIT_FAILURE; 146 (void) write(pfd, &status, sizeof (status)); 154 status = 0; 155 (void) write(pfd, &status, sizeof (status)); 209 * be used to report startup status to the parent process. 214 int status; local 223 * notified the parent of its startup status [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | update.c | 70 * and update it if so. Returns the yp status, which is zero 80 int status; local 82 union wait status; local 133 (void) wait(&status); 135 if (WEXITSTATUS(status) != 0) { 137 if (status.w_retcode != 0) { 225 * and update it if so. Returns the status, which is zero
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | malloc.c | 54 int status; member in struct:block 114 if (block->status == BUSY) 117 block2->status == FREE; block2 = block2->next) { 144 newblock->status = FREE; 171 if ((block->status == FREE) && (block->size >= size)) 193 block->status = FREE; 202 block->status = BUSY; 248 if (block->next && block->next->status == FREE) { 266 block->status = FREE; 298 block->status [all...] |
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_find.c | 235 * are returned, regardless of the hash status. 256 int status = -1; local 270 status = 0; 274 if (status == 0) {
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarndtest.c | 136 OM_UINT32 status; local 156 status = kwarn_add_warning(argv[0], exptime); 158 if (status == 0) { 164 status, gettext("add warning error")); 174 OM_UINT32 status; local 181 status = kwarn_del_warning(argv[0]); 183 if (status == 0) {
|
/illumos-gate/usr/src/cmd/lms/ |
H A D | LMEConnectionCompat.cpp | 72 void LMEConnection::CompatCloseConnection(int connID, int status) argument 83 msg.ClosingReason = status; 176 conn.status = LMS_CONNECTION_STATUS_FAILED; 200 if (_compatPendingConnections[currReqID].status != LMS_CONNECTION_STATUS_OK) { 217 int status = 1; local 256 _cb(_cbParam, rxBuffer, bytesRead, &status); 270 (*itr).second.status = repMsg->Status; 280 _cb(_cbParam, rxBuffer, bytesRead, &status); 282 if (IsInitialized() && (status == 1)) { 286 _cb(_cbParam, rxBuffer, bytesRead, &status); [all...] |
H A D | glue.cpp | 328 int glue::postprocess(unsigned char *buff, int len, int status) argument 341 ret = funcs[i].post_funcs(buff, len, status);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | wait.c | 91 int status; local 94 if (waitpid(wi->wi_pid, &status, 0) == -1) { 100 if (WEXITSTATUS(status) != 0) { 102 "instance %s exited with status %d\n", wi->wi_fmri, 103 WEXITSTATUS(status)); 104 if (WEXITSTATUS(status) == SMF_EXIT_ERR_CONFIG) 123 utmpx_mark_dead(wi->wi_pid, status, B_FALSE);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 91 int status; local 102 /* obtain file status of source file */ 146 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); 174 if (status != 0) { 459 /* get the source file's status */
|
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | v831.c | 31 int status, pid; local 82 while ((pid = wait(&status)) != child && pid != -1) 84 if (status) {
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmhandler.c | 279 int status; local 297 /* construct status as returned from waitid() */ 298 status = info.si_status & 0377; 301 status <<= 8; 304 status |= WCOREFLG; 319 cleanut(pid, status); 322 cleanut(pid, status);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_sign.c | 91 int status; local 131 status = crypto_digest_init(&crypto_mech_md5, &crypto_ctx, 0); 132 if (status != CRYPTO_SUCCESS) 133 return (status); 142 status = crypto_digest_update(crypto_ctx, &key, 0); 143 if (status != CRYPTO_SUCCESS) 144 return (status); 153 status = crypto_digest_update(crypto_ctx, &data, 0); 154 if (status != CRYPTO_SUCCESS) 155 return (status); 197 int status; local 240 int fudge, rsn, status; local [all...] |
/illumos-gate/usr/src/ucbcmd/chown/ |
H A D | chown.c | 59 int status; variable 140 status += Perror(argv[c]); 144 status += chownr(argv[c], uid, gid); 148 status += Perror(argv[c]); 152 return (status); 229 fatal(int status, char *fmt, char *a) argument 234 exit(status);
|
/illumos-gate/usr/src/ucbcmd/test/ |
H A D | test.c | 49 int status; local 59 status = (exp() ? 0 : 1); 62 return (status);
|
/illumos-gate/usr/src/ucbcmd/touch/ |
H A D | touch.c | 44 int status; variable 156 status = 0; 191 status++; 193 return (status);
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_attach.c | 47 * Attach State Information. These states are used to track the status of the 86 int status; local 94 status = ddi_soft_state_zalloc(hci1394_statep, instance); 95 if (status != DDI_SUCCESS) { 118 status = hci1394_isr_init(soft_state); 119 if (status != DDI_SUCCESS) { 129 status = ddi_create_minor_node(dip, "devctl", S_IFCHR, 131 if (status != DDI_SUCCESS) { 141 status = hci1394_hardware_init(soft_state); 142 if (status ! 405 int status; local 488 int status; local 545 int status; local 704 int status; local 833 int status; local 854 int status; local [all...] |
H A D | hci1394_ioctl.c | 92 int status; local 113 status = 0; 117 status = hci1394_ioctl_wrreg(soft_state, (void *)arg, mode); 120 status = hci1394_ioctl_rdreg(soft_state, (void *)arg, mode); 123 status = hci1394_ioctl_rdvreg(soft_state, (void *)arg, mode); 126 status = hci1394_ioctl_wrvreg(soft_state, (void *)arg, mode); 129 status = hci1394_ohci_bus_reset(soft_state->ohci); 132 status = hci1394_ioctl_selfid_cnt(soft_state, (void *)arg, 136 status = hci1394_ioctl_busgen_cnt(soft_state, (void *)arg, 140 status 174 int status; local 202 int status; local 239 int status; local 277 int status; local 325 int status; local 356 int status; local 387 int status; local 423 int status; local 468 int status; local 504 int status; local 605 int status; local [all...] |
H A D | hci1394_isr.c | 63 int status; local 70 status = ddi_intr_hilevel(soft_state->drvinfo.di_dip, 0); 71 if (status != 0) { 81 status = ddi_get_iblock_cookie(soft_state->drvinfo.di_dip, 0, 83 if (status != DDI_SUCCESS) { 121 int status; local 126 status = ddi_add_intr(soft_state->drvinfo.di_dip, 0, NULL, NULL, 128 if (status != DDI_SUCCESS) { 201 uint_t status; local 204 status 349 int status; local 411 int status; local 762 int status; local 805 int status; local 844 int status; local 884 int status; local [all...] |
H A D | hci1394_s1394if.c | 152 int status; local 174 status = hci1394_async_phy(soft_state->async, cmd_id, cmd_private, 176 if (status != DDI_SUCCESS) { 200 int status; local 222 status = hci1394_async_write(soft_state->async, cmd_id, cmd_private, 224 if (status != DDI_SUCCESS) { 249 int status; local 271 status = hci1394_async_read(soft_state->async, cmd_id, cmd_private, 273 if (status != DDI_SUCCESS) { 299 int status; local 347 int status; local 396 int status; local 447 int status; local 520 int status; local 563 int status; local 620 int status; local 669 int status; local 726 int status; local 787 int status; local 831 int status; local 924 int status; local 1028 int status; local 1153 int status; local [all...] |
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiInquiry.c | 37 HBA_UINT32 status; local 59 status = send_uscsi_cmd(devpath, &ucmd_buf); 61 return (status); 75 HBA_STATUS status; local 106 log(LOG_DEBUG, ROUTINE, "NULL scsi status"); 121 status = verifyAdapter(hba_ptr); 122 if (status != HBA_STATUS_OK) { 126 return (status); 222 status = SendScsiInquiry( 236 return (status); [all...] |
H A D | Sun_sasScsiReadCapacity.c | 37 HBA_UINT32 status; local 57 status = send_uscsi_cmd(devpath, &ucmd_buf); 59 return (status); 72 HBA_STATUS status; local 102 log(LOG_DEBUG, ROUTINE, "NULL scsi status"); 117 status = verifyAdapter(hba_ptr); 118 if (status != HBA_STATUS_OK) { 122 return (status); 210 status = SendScsiReadCapacity( 223 return (status); [all...] |
H A D | Sun_sasSendSMPPassThru.c | 91 HBA_STATUS status; local 123 status = verifyAdapter(hba_ptr); 124 if (status != HBA_STATUS_OK) { 127 return (status); 214 status = SendSMPPassThru( 225 return (status);
|