/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_snap.c | 527 int status; local 546 status = topo_walk_bottomup(wp, flag); 548 status = topo_walk_step(wp, flag); 550 return (status); 556 int status; local 575 status = topo_walk_bottomup(wp, flag); 577 status = topo_walk_step(wp, flag); 579 return (status); 585 int status; local 596 status 608 int status; local 627 int status; local 695 int status; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses_facility.c | 50 * sensor=status 317 uint64_t status; local 335 if (nvlist_lookup_uint64(props, SES_PROP_STATUS_CODE, &status) != 0) 336 status = SES_ESC_UNSUPPORTED; 343 if (status == SES_ESC_UNRECOVERABLE) 345 else if (status == SES_ESC_CRITICAL) 385 * Read the status of a PSU. This is such a specialized operation that it has 731 if ((tn = ses_add_sensor_common(mod, pnode, nodeid, "status", 828 * sensors, we lump them together into a 'status' sensor of 830 * appropriate status flag [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 623 int status = 0; local 638 status = chip_status_smbios_get(mod, (id_t)smbios_id); 639 if (!status) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dummy/mech/ |
H A D | dmech.c | 395 OM_uint32 status; local 463 status = GSS_S_CONTINUE_NEEDED; 465 status = GSS_S_COMPLETE; 468 status = GSS_S_COMPLETE; 471 if ((status == GSS_S_COMPLETE) && src_name) { 474 status = dummy_gss_import_name(ct, minor_status, &name, 476 if (status != GSS_S_COMPLETE) { 479 return (status); 484 if (status == GSS_S_COMPLETE) { 489 sprintf(token_string, "%d", status); 800 OM_uint32 status = GSS_S_COMPLETE; local 845 OM_uint32 status; local 1105 OM_uint32 status; local [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 399 int status; local 421 if ((status = read_extvtoc(fd, &vtoc)) >= 0) { 423 } else if (status == VT_ENOTSUP && efi_alloc_and_read(fd, &efip) >= 0) { 619 int status; local 634 if ((status = read_extvtoc(fd, &vtoc)) >= 0) { 636 } else if (status == VT_ENOTSUP && efi_alloc_and_read(fd, &efip) >= 0) { 764 int status; local 767 if ((status = read_extvtoc(fd, &vtoc)) >= 0) { 769 } else if (status == VT_ENOTSUP && 819 int status; local [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlvnic.c | 108 dladm_status_t status = DLADM_STATUS_OK; local 131 status = dladm_errno2status(errno); 133 if (status != DLADM_STATUS_OK) { 135 status = dladm_vnic_diag2status(ioc.vc_diag); 137 if (status != DLADM_STATUS_OK) 138 return (status); 150 return (status); 163 dladm_status_t status = DLADM_STATUS_OK; local 171 status = dladm_errno2status(errno); 188 return (status); 196 dladm_status_t status; local 308 dladm_status_t status = DLADM_STATUS_OK; local 410 dladm_status_t status; local 592 dladm_status_t status; local 667 dladm_status_t status; local 758 dladm_status_t status; member in struct:dladm_vnic_up_arg_s 766 dladm_status_t status; local [all...] |
H A D | propfuncs.c | 122 dladm_status_t status; local 147 status = DLADM_STATUS_NOMEM; 179 status = DLADM_STATUS_NOMEM; 196 *statusp = status; 261 dladm_status_t status = DLADM_STATUS_OK; local 285 status = (*lsp->ls_initop)(handle, lsp->ls_name, lip->li_name, 293 if (status != DLADM_STATUS_OK) 294 *statusp = status; 473 dladm_status_t status = DLADM_STATUS_OK; local 488 cont = process_prop_line(handle, lsp, buf, &status); 521 dladm_status_t status; local 583 dladm_status_t status; local 626 dladm_status_t status = DLADM_STATUS_OK; local [all...] |
/illumos-gate/usr/src/lib/libeti/menu/inc/ |
H A D | menu.h | 67 int status; member in struct:ITEM 112 int status; member in struct:MENU
|
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 480 FCOE_STATUS status; local 544 if ((status = openFcoe(OPEN_FCOE, &fcoe_fd)) != FCOE_STATUS_OK) { 545 return (status); 558 status = FCOE_STATUS_ERROR_INVAL_ARG; 562 status = FCOE_STATUS_ERROR_BUSY; 566 status = FCOE_STATUS_ERROR_ALREADY; 570 status = FCOE_STATUS_ERROR_PWWN_CONFLICTED; 574 status = FCOE_STATUS_ERROR_NWWN_CONFLICTED; 578 status = FCOE_STATUS_ERROR_CREATE_MAC; 582 status 617 FCOE_STATUS status = FCOE_STATUS_OK; local 719 FCOE_STATUS status = FCOE_STATUS_OK; local [all...] |
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | probe_cntl.c | 320 thr_exit(void * status) argument 372 ((*real_thr_exit)(status)); 376 pthread_exit(void * status) argument 387 ((*real_pthread_exit)(status));
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_list.c | 502 int status = UU_WALK_NEXT; local 517 while (status == UU_WALK_NEXT && 519 status = (*func)(e, private); 524 status == UU_WALK_NEXT && np != &lp->ul_null_node; 526 status = (*func)(NODE_TO_ELEM(lp, np), private); 530 status == UU_WALK_NEXT && np != &lp->ul_null_node; 532 status = (*func)(NODE_TO_ELEM(lp, np), private); 536 if (status >= 0)
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 191 res->status = internal_db.lookup(query, &num_answers, &ans); 197 res->status = internal_db.add(query, content); 201 res->status = internal_db.remove(query); 206 res->status = internal_db.first(&where, &single); 207 if (res->status == DB_SUCCESS) 210 res->status = internal_db.first(query, 213 if (res->status == DB_SUCCESS) 216 if (res->status == DB_SUCCESS) { 235 res->status = internal_db.next(prev, &where, 237 if (res->status 513 bool_t status = TRUE; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svcauth_des.c | 125 int status; local 272 status = cbc_crypt((char *)sessionkey, (char *)cryptbuf, 276 status = ecb_crypt((char *)sessionkey, (char *)cryptbuf, 279 if (DES_FAILED(status)) { 400 status = ecb_crypt((char *)sessionkey, (char *)cryptbuf, 402 if (DES_FAILED(status)) {
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | verify.c | 147 struct stat status; /* file status buffer */ local 159 if (stat(path, &status) < 0) { 169 cinfo->modtime = status.st_mtime; 170 } else if (status.st_mtime != cinfo->modtime) { 186 localtime(&status.st_mtime)) == 0) { 195 cinfo->size = status.st_size; 196 } else if (status.st_size != cinfo->size) { 200 reperr(pkg_gt(ERR_SIZE), cinfo->size, status.st_size); 331 static struct stat status; /* fil variable in typeref:struct:stat [all...] |
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | setproject.c | 444 pool_status_t status; local 451 if (ioctl(fd, POOL_STATUSQ, &status) < 0) { 456 return (status.ps_io_state);
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 504 * (has a 'status' property) 531 * the current one which is failed. (has a 'status' property) 568 * is defined by having a status property containing the token 'fail'. 577 node_status(Prom_node *node, char *status) argument 581 if (status == NULL) 585 if ((value = get_prop_val(find_prop(node, "status"))) != NULL) { 586 if ((value != NULL) && strstr((char *)value, status))
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-io.c | 385 struct ldap_x_hostlist_status *status; local 406 &status ); 408 parse_err = ldap_x_hostlist_next( &host, &port, status )) { 448 ldap_x_hostlist_statusfree( status );
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 49 static struct stat status; variable in typeref:struct:stat 378 if (stat(argvk, &status) != -1) { 384 (void) fstat(infile, &status); 385 if (status.st_nlink != 1) { 390 if ((outfile = creat(argvk, status.st_mode)) == -1) { 440 u_times.actime = status.st_atime; 441 u_times.modtime = status.st_mtime; 449 if (chmod(argvk, status.st_mode) != 0) { 453 argv0, (uint_t)status.st_mode, 458 status [all...] |
/illumos-gate/usr/src/head/ |
H A D | ieeefp.h | 240 sw, /* status word after fnclex-not useful */ 247 unsigned int status; /* status word saved at exception */ member in struct:_fpstate 249 unsigned int xstatus; /* status word saved at exception */ 261 * The structure of the 80*87 status and control words, and the mxcsr
|
/illumos-gate/usr/src/cmd/pack/ |
H A D | pack.c | 53 struct stat status, ostatus; variable in typeref:struct:stat 434 (void) fstat(infile, &status); 435 if (S_ISDIR(status.st_mode)) { 441 if (status.st_size == 0) { 447 if (status.st_nlink != 1) { 459 if ((outfile = creat(filename, status.st_mode | O_RDONLY)) 553 u_times.actime = status.st_atime; 554 u_times.modtime = status.st_mtime; 563 if (chmod(filename, status.st_mode) != 0) { 568 status [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | conf.c | 103 * (status == MEXIT), other status is non-fatal. 293 int status = 0; local 318 wp = waitpid(pid, &status, 0); 324 return (wp == -1 || status != 0); 378 * (checkup) matches conftab status. 381 (checkup == NULL || checkup == cip->status))); 383 cip ? cip->status->set : "none", selected); 418 if (cip->status->perm) 425 * When perm and update status ar [all...] |
H A D | sys-suspend.c | 135 pm_audit_event(adt_session_data_t *ah, au_event_t event_id, int status) argument 145 status == PAM_SUCCESS ? ADT_SUCCESS : ADT_FAILURE, 146 status == PAM_SUCCESS ? ADT_SUCCESS : ADT_FAIL_PAM + status); 451 int status; local 469 (void) wait(&status);
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 374 papi_status_t status; local 393 status = papiJobSubmit(svc, printer, list, NULL, files, &job); 394 syslog(LOG_DEBUG, "submit: %s", papiStatusString(status)); 395 if (status != PAPI_OK) { 402 return (status); 491 papi_status_t status = PAPI_OK; local 521 status = submit_job(svc, ifp, printer, rid, cf, 544 status = submit_job(svc, ifp, printer, rid, cf, files); 548 return (status); 555 papi_status_t status; local 632 papi_status_t status; local [all...] |
H A D | lpc.c | 55 papi_status_t status; local 61 status = papiPrinterQuery(svc, destination, pattrs, NULL, &p); 62 if (status == PAPI_OK) { 99 verbose_papi_message(svc, status)); 111 papi_status_t status; local 119 status = papiPrinterPause(svc, destination, "paused via lpc abort"); 120 if (status == PAPI_OK) { 125 verbose_papi_message(svc, status)); 134 papi_status_t status; local 143 status 166 papi_status_t status; local 187 papi_status_t status; local 219 papi_status_t status; local 240 papi_status_t status; local 261 papi_status_t status; local 401 papi_status_t status = PAPI_OK; local 427 papi_status_t status; local [all...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | NS.c | 285 int status = 0; local 314 status = ns_printer_put(printer); 315 if (status != 0) { 317 return (status); 327 status = ns_printer_put(printer); 328 if (status != 0) { 330 return (status); 358 status = ns_printer_put(printer); 359 if (status != 0) { 362 return (status); 464 int status; local [all...] |