/illumos-gate/usr/src/uts/common/io/cxgbe/shared/ |
H A D | shared.c | 106 int rc = ENOMEM; local 113 rc = ddi_dma_alloc_handle(p->dip, &p->dma_attr_rx, callback, 0, 115 if (rc != DDI_SUCCESS) 116 return (rc == DDI_DMA_BADATTR ? EINVAL : ENOMEM); 118 rc = ddi_dma_mem_alloc(rxb->dhdl, p->buf_size, &p->acc_attr_rx, 120 if (rc != DDI_SUCCESS) { 121 rc = ENOMEM; 125 rc = ddi_dma_addr_bind_handle(rxb->dhdl, NULL, rxb->va, p->buf_size, 127 if (rc != DDI_DMA_MAPPED) { 128 if (rc [all...] |
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | adapter.c | 116 int rc; local 119 rc = t4_wrq_tx_locked(sc, wrq, m); 121 return (rc);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap_if.c | 85 int rc = 0; local 88 rc = (snapops.fssnap_is_candidate)(snapshot_id, off); 90 return (rc);
|
/illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp_mod.c | 250 int rc; local 255 rc = DDI_FAILURE; 258 rc = DDI_SUCCESS; 263 rc = DDI_SUCCESS; 266 rc = DDI_FAILURE; 269 return (rc);
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_rpc_handle.c | 195 int rc; local 209 rc = cv_wait_sig(&hostp->nh_rpcb_cv, &hostp->nh_lock); 210 if (rc == 0) { 250 rc = refresh_nlm_rpc(hostp, rpcp); 251 if (rc != 0) { 252 if (rc == ESTALE) { 266 return (rc);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_create.c | 390 int rc; local 391 rc = krb5_ldap_delete_krbcontainer(context, 393 krb5_set_error_message(context, rc,
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils_threadfuncs.c | 84 int rc; local 87 if ((rc = pthread_key_create_once_np(&adutils_lderrno_key, 91 strerror(rc)); 92 rc = -1; 93 return (rc); 97 rc = ldap_set_option(ld, LDAP_OPT_THREAD_FN_PTRS, 99 if (rc != LDAP_SUCCESS) { 102 return (rc); 105 rc = ldap_set_option(ld, LDAP_OPT_EXTRA_THREAD_FN_PTRS, 107 if (rc ! 123 int rc; local 186 int rc; local [all...] |
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 40 ssize_t sfpkrd(int fd, Void_t* argbuf, size_t n, int rc, long tm, int action) argument 42 ssize_t sfpkrd(fd, argbuf, n, rc, tm, action) 46 int rc; /* record character */ 48 int action; /* >0: peeking, if rc>=0, get action records, 49 <0: no peeking, if rc>=0, get -action records, 50 =0: no peeking, if rc>=0, must get a single record 58 if(rc < 0 && tm < 0 && action <= 0) 61 t = (action > 0 || rc >= 0) ? (STREAM_PEEK|SOCKET_PEEK) : 0; 110 ((t&STREAM_PEEK) && rc >= 0) || 193 { if(action <= 0 && rc < [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | opl_kdi.c | 71 int rc, i; local 73 for (rc = 0, i = 0; i < NCPU; i++) { 75 rc += cb(i, arg); 78 return (rc);
|
H A D | spitfire_kdi.c | 72 int rc, i; local 74 for (rc = 0, i = 0; i < NCPU; i++) { 76 rc += cb(i, arg); 79 return (rc);
|
H A D | us3_kdi.c | 72 int rc, i; local 74 for (rc = 0, i = 0; i < NCPU; i++) { 76 rc += cb(i, arg); 79 return (rc);
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_waitq.c | 327 int rc = FALSE; local 355 return (rc); 375 return (rc); 407 rc = TRUE; 414 return (rc);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | faults.c | 165 dial_problem(register PSTATUS *pps, RSTATUS *prs, int rc) argument 190 if (p->dial_error == rc) 199 } else if (pps->last_dial_rc != rc) { 201 pps->last_dial_rc = (short)rc; 205 pps->last_dial_rc = (short)rc;
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_share_doorsvc.c | 147 uint32_t rc; local 176 rc = smb_shr_count(); 178 smb_dr_put_uint32(enc_ctx, rc); 189 rc = smb_shr_remove(sharename); 191 smb_dr_put_uint32(enc_ctx, rc); 205 rc = smb_shr_rename(sharename, sharename2); 207 smb_dr_put_uint32(enc_ctx, rc); 217 rc = smb_shr_add(&lmshr_info); 219 smb_dr_put_uint32(enc_ctx, rc); 229 rc [all...] |
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_match.c | 71 int rc; local 98 rc = smb_strcasecmp(p, s, 0); 100 rc = strcmp(p, s); 101 return (rc == 0); 109 rc = smb_match_private(p, s, &priv); 110 return (rc == 1); 144 int rc; local 189 rc = smb_match_private(pat, str, priv); 191 if (rc != 0) 192 return (rc); /* matc [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | thread.c | 55 int rc; local 72 rc = thr_create(NULL, 0, thr_func, arg, thr_flags, &newtid); 73 if (rc != 0) 74 cmn_err(CE_PANIC, "thread_create failed, rc=%d", rc);
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_kdoor.c | 88 int rc; local 111 if ((rc = smb_kdoor_encode(&da)) != 0) 118 if ((rc = (*func)(&da)) != 0) 121 rc = smb_kdoor_decode(&da); 125 return (rc);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_print.c | 64 int rc; local 68 rc = smbsr_decode_vwv(sr, "ww", &setup, &mode); 69 if (rc == 0) 70 rc = smbsr_decode_data(sr, "%S", sr, &identifier); 72 if (rc == 0) { 84 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 100 * rc 0 SDRC_SUCCESS 101 * rc non-zero SDRC_ERROR 107 int rc; local 119 if ((rc 157 int rc; local 185 smb_sdrc_t rc; local 250 int rc; local 276 int rc; local [all...] |
H A D | smb_thread.c | 140 int rc = 0; local 159 rc = -1; 163 rc = -1; 167 return (rc);
|
H A D | smb2_ioctl.c | 61 int rc = 0; local 68 rc = smb_mbc_decodef( 83 if (rc || StructSize != 57) 148 rc = MBC_SHADOW_CHAIN(&in_mbc, &sr->smb_data, 150 if (rc) { 186 rc = smb_mbc_encodef( 201 return ((rc) ? SDRC_ERROR : SDRC_SUCCESS);
|
H A D | smb2_lock.c | 51 int rc = 0; local 56 rc = smb_mbc_decodef( 63 if (rc || StructSize != 48) 88 rc = smb_mbc_decodef( 94 if (rc) { 160 int rc = 0; local 167 rc = smb_mbc_decodef( 174 if (rc || StructSize != 48) 216 int rc; local 232 rc [all...] |
H A D | smb2_negotiate.c | 97 int rc; local 151 rc = smb2_negotiate_common(sr, smb2_version); 152 if (rc != 0) 176 int i, rc; local 183 rc = smb2_decode_header(sr); 184 if (rc != 0) 185 return (rc); 194 rc = smb_mbc_decodef( 203 if (rc != 0) 204 return (rc); 251 int rc; local 352 int rc; local [all...] |
H A D | smb2_qinfo_fs.c | 125 int rc; local 130 rc = smb_fssize(sr, &fssize); 131 if (rc) 132 return (smb_errno2status(rc)); 152 int rc; local 157 rc = smb_fssize(sr, &fssize); 158 if (rc) 159 return (smb_errno2status(rc));
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | lock_update.c | 71 int iiter, rc; local 78 if ((rc = mutex_init(&(shmupdatearray->updatenode[iiter]), 80 if (rc == EBUSY) { 85 "error=%d", rc); 227 int rc; local 232 rc = mutex_lock(&(shmupdatearray->updatenode[hashval])); 233 while (rc != 0) { 234 switch (rc) { 240 rc = mutex_consistent( 242 if (rc ! 283 int rc; local 346 int rc; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_util.c | 109 int rc; local 243 rc = smbrdr_logon(dxi.d_dci.dc_name, di->di_nbname, machine_name); 244 if (rc != 0) { 247 strerror(rc)); 257 rc = smb_setdomainprops(NULL, dxi.d_dci.dc_name, machine_pw); 258 if (rc != 0) { 316 int rc; local 321 rc = samr_open(server, di->di_nbname, admin_user, 323 if (rc != 0) {
|