Searched refs:rc (Results 1 - 25 of 1416) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddone.c39 void done (rc)
40 int rc;
43 exit (rc);
/illumos-gate/usr/src/cmd/mail/
H A Dpckrcvspot.c43 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 Dpckaffspot.c44 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 Dsetsig.c35 rc -> former signal
41 register void (*rc)();
43 if ((rc = signal(i, SIG_IGN)) != (void (*)()) SIG_IGN)
45 return(rc);
H A Dsel_disp.c47 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 Dcma_page_arch.c36 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 Drefcount.c59 zfs_refcount_create(zfs_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 zfs_refcount_create_tracked(zfs_refcount_t *rc) argument
74 zfs_refcount_create(rc);
75 rc
79 zfs_refcount_create_untracked(zfs_refcount_t *rc) argument
86 zfs_refcount_destroy_many(zfs_refcount_t *rc, uint64_t number) argument
107 zfs_refcount_destroy(zfs_refcount_t *rc) argument
113 zfs_refcount_is_zero(zfs_refcount_t *rc) argument
119 zfs_refcount_count(zfs_refcount_t *rc) argument
125 zfs_refcount_add_many(zfs_refcount_t *rc, uint64_t number, void *holder) argument
147 zfs_refcount_add(zfs_refcount_t *rc, void *holder) argument
153 zfs_refcount_remove_many(zfs_refcount_t *rc, uint64_t number, void *holder) argument
201 zfs_refcount_remove(zfs_refcount_t *rc, void *holder) argument
239 zfs_refcount_transfer_ownership_many(zfs_refcount_t *rc, uint64_t number, void *current_holder, void *new_holder) argument
265 zfs_refcount_transfer_ownership(zfs_refcount_t *rc, void *current_holder, void *new_holder) argument
278 zfs_refcount_held(zfs_refcount_t *rc, void *holder) argument
306 zfs_refcount_not_held(zfs_refcount_t *rc, void *holder) argument
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dbuiltin-overflow.c6 int rc = 0; local
9 rc += __builtin_add_overflow(i, i, &i);
10 rc += __builtin_add_overflow(l, i, &i);
11 rc += __builtin_add_overflow(i, l, &i);
12 rc += __builtin_add_overflow(i, i, &l);
13 rc += __builtin_add_overflow(ll, i, &i);
14 rc += __builtin_add_overflow(i, ll, &i);
15 rc += __builtin_add_overflow(i, i, &ll);
17 rc += __builtin_add_overflow_p(i, i, i);
18 rc
[all...]
H A Dkill-phi-ttsbb2.c7 int rc = 0; local
24 rc = 1;
26 return rc;
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_init.c60 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/test/libc-tests/tests/threads/
H A Dthread_name.c51 int rc; local
57 rc = pthread_getname_np(pthread_self(), name, sizeof (name));
59 if (rc != 0 || strcmp(name, "") != 0)
60 errx(EXIT_FAILURE, "test %d failed with %d", test, rc);
66 rc = pthread_setname_np(pthread_self(), name);
68 if (rc != 0)
69 errx(EXIT_FAILURE, "test %d failed with %d", test, rc);
71 rc = pthread_getname_np(pthread_self(), name, sizeof (name));
73 if (rc != 0 || strcmp(name, "main") != 0)
74 errx(EXIT_FAILURE, "test %d failed with %d", test, rc);
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dkind.c39 Elf_Kind rc; local
43 rc = elf->ed_kind;
45 return (rc);
H A Dflag.c40 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 Dgetbase.c37 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 Dndxscn.c39 size_t rc; local
46 rc = scn->s_index;
48 return (rc);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_init.c123 int rc; local
126 if ((rc = fksmbsrv_vfs_init()) != 0) {
127 cmn_err(CE_WARN, "fksmbsrv_vfs_init, rc=%d", rc);
128 return (rc);
130 if ((rc = smb_server_g_init()) != 0) {
131 cmn_err(CE_WARN, "smb_server_g_init, rc=%d", rc);
132 return (rc);
137 rc
145 int rc; local
167 int rc = 0; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/
H A Derr.invalidtype.ksh32 rc=`$dtrace -n "BEGIN{ trace(pid$pid`$t)0); }"`
34 exit $rc
H A Derr.invalidtype2.ksh33 rc=`$dtrace -n "BEGIN{ trace(pid`$t)0); }"` -p $pid
35 exit $rc
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_reparse.c90 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/uts/common/fs/zfs/sys/
H A Drefcount.h93 #define zfs_refcount_create(rc) ((rc)->rc_count = 0)
94 #define zfs_refcount_create_untracked(rc) ((rc)->rc_count = 0)
95 #define zfs_refcount_create_tracked(rc) ((rc)->rc_count = 0)
96 #define zfs_refcount_destroy(rc) ((rc)->rc_count = 0)
97 #define zfs_refcount_destroy_many(rc, number) ((rc)
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c109 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/cmd/dtrace/test/tst/common/pid/
H A Dtst.killonerror.ksh39 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 Dsmb2_ofile.c26 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 Dilb_hc.c43 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 Dsfxge_dma.c39 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...]

Completed in 91 milliseconds

1234567891011>>