/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | done.c | 39 void done (rc) 40 int rc; 43 exit (rc);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | pckrcvspot.c | 43 int rc; local 46 rc = -1; 48 rc = H_RECEIVED; 50 rc = H_AFWDFROM; 54 rc = H_DATE; 56 rc = H_EOH; 61 rc = H_EOH; 63 rc = H_CTYPE; 65 Dout(pn, 3, "'%s'\n", (rc == -1 ? "No Received: lines": header[rc] [all...] |
H A D | pckaffspot.c | 44 int rc; local 47 rc = -1; 49 rc = H_AFWDFROM; 53 rc = H_DATE; 55 rc = H_EOH; 60 rc = H_EOH; 62 rc = H_CTYPE; 64 Dout(pn, 3, "'%s'\n", (rc == -1 ? "No Auto-Forward-From lines" : header[rc].tag)); 65 return (rc); [all...] |
H A D | setsig.c | 35 rc -> former signal 41 register void (*rc)(); 43 if ((rc = signal(i, SIG_IGN)) != (void (*)()) SIG_IGN) 45 return(rc);
|
H A D | sel_disp.c | 47 int i, rc = 0; local 55 rc = sav_lastrc; 64 rc = -1; 69 rc = -1; 74 Dout(pn, 2, "type = %d, hdrtype = %d/'%s', rc = %d\n", 75 type, hdrtype, header[hdrtype].tag, rc); 76 sav_lastrc = rc; /* In case next one is H_CONT... */ 77 return (rc);
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_page_arch.c | 36 int rc; local 39 rc = fmd_agent_page_isretired(fa_hdl, nvl); 40 if (rc == FMD_AGENT_RETIRE_DONE) 41 rc = FMD_SERVICE_STATE_UNUSABLE; 42 else if (rc == FMD_AGENT_RETIRE_FAIL) 43 rc = FMD_SERVICE_STATE_OK; 44 else if (rc == FMD_AGENT_RETIRE_ASYNC) 45 rc = FMD_SERVICE_STATE_ISOLATE_PENDING; 47 return (rc); 58 int rc; local 74 int rc; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | refcount.c | 59 refcount_create(refcount_t *rc) argument 61 mutex_init(&rc->rc_mtx, NULL, MUTEX_DEFAULT, NULL); 62 list_create(&rc->rc_list, sizeof (reference_t), 64 list_create(&rc->rc_removed, sizeof (reference_t), 66 rc->rc_count = 0; 67 rc->rc_removed_count = 0; 68 rc->rc_tracked = reference_tracking_enable; 72 refcount_create_tracked(refcount_t *rc) argument 74 refcount_create(rc); 75 rc 79 refcount_create_untracked(refcount_t *rc) argument 86 refcount_destroy_many(refcount_t *rc, uint64_t number) argument 107 refcount_destroy(refcount_t *rc) argument 113 refcount_is_zero(refcount_t *rc) argument 119 refcount_count(refcount_t *rc) argument 125 refcount_add_many(refcount_t *rc, uint64_t number, void *holder) argument 147 refcount_add(refcount_t *rc, void *holder) argument 153 refcount_remove_many(refcount_t *rc, uint64_t number, void *holder) argument 201 refcount_remove(refcount_t *rc, void *holder) argument 238 refcount_transfer_ownership(refcount_t *rc, void *current_holder, void *new_holder) argument 268 refcount_held(refcount_t *rc, void *holder) argument 296 refcount_not_held(refcount_t *rc, void *holder) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | refcount.h | 63 void refcount_create(refcount_t *rc); 64 void refcount_create_untracked(refcount_t *rc); 65 void refcount_create_tracked(refcount_t *rc); 66 void refcount_destroy(refcount_t *rc); 67 void refcount_destroy_many(refcount_t *rc, uint64_t number); 68 int refcount_is_zero(refcount_t *rc); 69 int64_t refcount_count(refcount_t *rc); 70 int64_t refcount_add(refcount_t *rc, void *holder_tag); 71 int64_t refcount_remove(refcount_t *rc, void *holder_tag); 72 int64_t refcount_add_many(refcount_t *rc, uint64_ [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_init.c | 60 nscd_rc_t rc; local 71 if ((rc = _nscd_alloc_nsw_config()) != NSCD_SUCCESS || 72 (rc = _nscd_alloc_service_state_table()) != NSCD_SUCCESS || 73 (rc = _nscd_alloc_nsw_state_base()) != NSCD_SUCCESS || 74 (rc = _nscd_alloc_nsw_be_info_db()) != NSCD_SUCCESS || 75 (rc = _nscd_alloc_getent_ctx_base()) != NSCD_SUCCESS) 76 return (rc); 82 if ((rc = _nscd_alloc_switch_cfg()) != NSCD_SUCCESS || 83 (rc = _nscd_alloc_frontend_cfg()) != NSCD_SUCCESS || 84 (rc 200 nscd_rc_t rc; local [all...] |
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | kind.c | 39 Elf_Kind rc; local 43 rc = elf->ed_kind; 45 return (rc);
|
H A D | flag.c | 40 unsigned rc = 0; local 54 rc = d->db_uflags |= flags; 56 rc = d->db_uflags &= ~flags; 60 return (rc); 67 int rc; local 72 rc = elf->ed_ehflags |= flags; 74 return (rc); 78 rc = elf->ed_ehflags &= ~flags; 80 return (rc); 90 int rc; local 113 int rc; local 136 unsigned rc; local 163 unsigned rc; local [all...] |
H A D | getbase.c | 37 off_t rc; local 41 rc = elf->ed_baseoff; 43 return (rc); 57 off_t rc; local 66 rc = elf->ed_baseoff - sizeof (struct ar_hdr); 68 return (rc);
|
H A D | ndxscn.c | 39 size_t rc; local 46 rc = scn->s_index; 48 return (rc);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/ |
H A D | err.invalidtype.ksh | 32 rc=`$dtrace -n "BEGIN{ trace(pid$pid`$t)0); }"` 34 exit $rc
|
H A D | err.invalidtype2.ksh | 33 rc=`$dtrace -n "BEGIN{ trace(pid`$t)0); }"` -p $pid 35 exit $rc
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_init.c | 118 int rc; local 121 if ((rc = fksmbsrv_vfs_init()) != 0) { 122 cmn_err(CE_WARN, "fksmbsrv_vfs_init, rc=%d", rc); 123 return (rc); 125 if ((rc = smb_server_g_init()) != 0) { 126 cmn_err(CE_WARN, "smb_server_g_init, rc=%d", rc); 127 return (rc); 132 rc 139 int rc; local 159 int rc = 0; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | getgroups.c | 44 int rc; /* return code hold area */ local 46 rc = _syscall(SYS_getgroups, gidsetsize, glist); 47 if (rc > 0 && gidsetsize != 0) 48 for (i = 0; i < rc; i++) 50 return (rc);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_reparse.c | 90 int rc; local 92 if ((rc = smb_reparse_init(path, &nvl)) != 0) 93 return (rc); 95 if ((rc = reparse_add(nvl, svctype, svcdata)) != 0) { 97 return (rc); 100 rc = smb_reparse_set(path, nvl); 103 return (rc); 115 int rc; local 117 if ((rc = smb_reparse_init(path, &nvl)) != 0) 118 return (rc); 153 int rc; local 200 int rc; local 240 int rc; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | new_host.c | 109 rc = CKR_MECHANISM_INVALID; \ 118 CK_RV rc = CKR_OK; local 150 if ((rc = attach_shm()) != CKR_OK) 163 rc = token_specific.t_init((char *)Correlator, SlotNumber, 165 if (rc != 0) { 170 rc = CKR_OK; 178 rc = load_token_data(hContext, nv_token_data); 180 if (rc != CKR_OK) { 184 rc = load_public_token_objects(); 185 if (rc ! 204 CK_RV rc; local 251 CK_RV rc = CKR_OK; local 280 CK_RV rc = CKR_OK; local 332 CK_RV rc = CKR_OK; local 377 CK_RV rc = CKR_OK; local 451 CK_RV rc = CKR_OK; local 514 CK_RV rc = CKR_OK; local 553 CK_RV rc = CKR_OK; local 603 CK_RV rc = CKR_OK; local 632 CK_RV rc = CKR_OK; local 650 CK_RV rc = CKR_OK; local 681 CK_RV rc = CKR_OK; local 717 CK_RV rc = CKR_OK; local 748 CK_RV rc = CKR_OK; local 753 rc = pthread_mutex_lock(&login_mutex); local 847 CK_RV rc = CKR_OK; local 884 CK_RV rc = CKR_OK; local 919 CK_RV rc = CKR_OK; local 951 CK_RV rc = CKR_OK; local 983 CK_RV rc = CKR_OK; local 1010 CK_RV rc = CKR_OK; local 1037 CK_RV rc = CKR_OK; local 1063 CK_RV rc = CKR_OK; local 1102 CK_RV rc = CKR_OK; local 1147 CK_RV rc = CKR_OK; local 1186 CK_RV rc = CKR_OK; local 1233 CK_RV rc = CKR_OK; local 1369 CK_RV rc = CKR_OK; local 1416 CK_RV rc = CKR_OK; local 1460 CK_RV rc = CKR_OK; local 1506 CK_RV rc = CKR_OK; local 1550 CK_RV rc = CKR_OK; local 1590 CK_RV rc = CKR_OK; local 1625 CK_RV rc = CKR_OK; local 1668 CK_RV rc = CKR_OK; local 1714 CK_RV rc = CKR_OK; local 1757 CK_RV rc = CKR_OK; local 1797 CK_RV rc = CKR_OK; local 1840 CK_RV rc = CKR_OK; local 1885 CK_RV rc = CKR_OK; local 1928 CK_RV rc = CKR_OK; local 1972 CK_RV rc = CKR_OK; local 2010 CK_RV rc = CKR_OK; local 2049 CK_RV rc = CKR_OK; local 2088 CK_RV rc = CKR_OK; local 2133 CK_RV rc = CKR_OK; local 2181 CK_RV rc = CKR_OK; local 2227 CK_RV rc = CKR_OK; local 2275 CK_RV rc = CKR_OK; local 2332 CK_RV rc = CKR_OK; local [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_trap.c | 45 int rc; local 48 rc = nvlist_alloc(&attr_list, NV_UNIQUE_NAME_TYPE, KM_SLEEP); 49 if (rc != 0) { 52 rc = nvlist_add_int32(attr_list, "alertlevel", alertlevel); 53 if (rc != 0) { 56 rc = nvlist_add_string(attr_list, "messagevalue", trap_messages); 57 if (rc != 0) { 60 rc = nvlist_add_int32(attr_list, "errorno", errorno); 61 if (rc != 0) { 65 rc [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.killonerror.ksh | 39 rc=`$dtrace -c date -n jarod 2>/dev/null | /usr/bin/wc -l` 41 exit $rc
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_echo.c | 27 int rc; local 32 rc = smb_mbc_decodef( 36 if (rc)
|
H A D | smb2_ofile.c | 26 int rc; local 35 rc = smb_node_getattr(sr, of->f_node, of->f_cr, of, ap); 39 rc = smb_opipe_getattr(of, ap); 42 rc = ENOTTY; 45 if (rc) 46 return (smb_errno2status(rc)); 88 int rc; local 93 rc = smb_node_getshrpath(of->f_node, of->f_tree, 98 rc = smb_opipe_getname(of, qi->qi_name, MAXPATHLEN); 101 rc [all...] |
/illumos-gate/usr/src/lib/libilb/common/ |
H A D | ilb_hc.c | 43 ilb_status_t rc; local 57 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); 58 if (rc != ILB_STATUS_OK) 62 rc = *(ilb_status_t *)&ic->ic_data; 66 return (rc); 76 ilb_status_t rc; local 88 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); 89 if (rc != ILB_STATUS_OK) 93 rc = *(ilb_status_t *)&ic->ic_data; 97 return (rc); 106 ilb_status_t rc; local 145 ilb_status_t rc; local 191 ilb_status_t rc; local 226 ilb_status_t rc; local [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_dma.c | 39 int rc; local 42 rc = ddi_dma_unbind_handle(esmp->esm_dma_handle); 43 if (rc != DDI_SUCCESS) 49 DTRACE_PROBE1(fail1, int, rc); 51 return (rc); 73 int rc; local 86 rc = EINVAL; 90 rc = ENOMEM; 94 rc = EFAULT; 110 rc 176 int rc; local [all...] |