/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 221 int rc; local 225 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr); 226 if (rc == 0) 227 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); 232 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 249 int rc; local 296 rc = smb_node_getattr(sr, of->f_node, of->f_cr, of, &attr); 297 if (rc != 0) { 298 smbsr_errno(sr, rc); 302 rc 332 int rc; local 381 int rc; local 486 int rc; local [all...] |
H A D | smb_rename.c | 66 int rc; local 68 if ((rc = smbsr_decode_vwv(sr, "w", &src_fqi->fq_sattr)) == 0) { 69 rc = smbsr_decode_data(sr, "%SS", sr, &src_fqi->fq_path.pn_path, 78 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 138 int rc; local 140 rc = smbsr_decode_vwv(sr, "wwl", &src_fqi->fq_sattr, 142 if (rc == 0) { 143 rc = smbsr_decode_data(sr, "%SS", sr, 152 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
|
H A D | smb_tree_connect.c | 92 int rc; local 97 rc = smbsr_decode_data(sr, "%AAA", sr, &tcon->path, 106 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 119 int rc; local 127 rc = smbsr_encode_result(sr, 2, 0, "bwww", 133 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 277 int rc; local 279 rc = smbsr_decode_vwv(sr, "b.www", &sr->andx_com, &sr->andx_off, 281 if (rc == 0) { 285 rc 312 int rc; local [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_lsa.c | 78 int rc; local 86 rc = smb_lookup_sid(sid, &acct); 87 if (rc != 0) { 152 int rc; local 170 rc = smb_lookup_name(namedom, SidTypeUnknown, &acct); 171 if (rc != 0) { 193 rc = smb_sid_splitstr(acct.a_sid, ret_rid); 194 assert(rc == 0);
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | userdel.c | 78 int rc; local 229 rc = edit_project(logname, (char *)0, (projid_t **)0, 1); 230 if (rc != EX_SUCCESS) { 232 exit(rc);
|
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/ |
H A D | fksmbd_kmod.c | 101 int rc; local 108 rc = fksmbsrv_drv_open(); 109 if (rc == 0) 112 return (rc); 127 int rc; local 137 rc = fksmbsrv_drv_ioctl(cmd, ioc); 138 return (rc); 146 int rc; local 160 rc = smb_kmod_ioctl(SMB_IOC_START, &ioc.hdr, sizeof (ioc)); 161 return (rc); [all...] |
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_token_xdr.c | 48 bool_t rc; local 54 if (!xdr_bool(xdrs, &rc)) 60 rc = xdr_setpos(xdrs, pos); 62 if (rc == FALSE) 132 bool_t rc; local 137 if (!xdr_bool(xdrs, &rc)) 143 rc = xdr_setpos(xdrs, pos); 144 if (rc == FALSE)
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_port.c | 40 efx_rc_t rc; local 47 rc = EINVAL; 58 if ((rc = efx_mac_select(enp)) != 0) 71 if ((rc = epop->epo_power(enp, B_TRUE)) != 0) 74 if ((rc = epop->epo_reset(enp)) != 0) 81 if ((rc = epop->epo_reconfigure(enp)) != 0) 91 EFSYS_PROBE1(fail1, efx_rc_t, rc); 95 return (rc); 106 efx_rc_t rc; local 117 if ((rc 139 efx_rc_t rc; local [all...] |
H A D | hunt_nic.c | 57 efx_rc_t rc; local 59 if ((rc = efx_mcdi_get_port_assignment(enp, &port)) != 0) 68 if ((rc = ef10_external_port_mapping(enp, port, 78 if ((rc = efx_mcdi_get_function_info(enp, &pf, &vf)) != 0) 86 rc = efx_mcdi_get_mac_address_pf(enp, mac_addr); 87 if ((rc == 0) && (mac_addr[0] & 0x02)) { 94 rc = EINVAL; 97 rc = efx_mcdi_get_mac_address_vf(enp, mac_addr); 99 if (rc != 0) 105 rc [all...] |
H A D | hunt_phy.c | 42 efx_rc_t rc; local 44 if ((rc = efx_mcdi_bist_enable_offline(enp)) != 0) 50 EFSYS_PROBE1(fail1, efx_rc_t, rc); 52 return (rc); 60 efx_rc_t rc; local 62 if ((rc = efx_mcdi_bist_start(enp, type)) != 0) 68 EFSYS_PROBE1(fail1, efx_rc_t, rc); 70 return (rc); 90 efx_rc_t rc; local 103 rc [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_sram.c | 60 int rc; local 67 rc = ENOSPC; 76 DTRACE_PROBE1(fail1, int, rc); 80 return (rc); 105 int rc; local 111 if ((rc = efx_sram_buf_tbl_set(sp->s_enp, id, esmp, n)) != 0) 121 DTRACE_PROBE1(fail1, int, rc); 125 return (rc);
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | tsol_getrhent.c | 98 nss_status_t rc; local 119 rc = _nss_files_XY_all(be, argp, 1, 126 return (rc);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | dig_mgr.c | 449 CK_RV rc; local 455 rc = object_mgr_find_in_map1(sess->hContext, key_handle, &key_obj); 456 if (rc != CKR_OK) { 459 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); 460 if (rc == FALSE) 468 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); 469 if (! rc) 472 rc = digest_mgr_digest_update(sess, 474 return (rc);
|
H A D | mech_md5.c | 338 CK_RV rc; local 363 rc = object_mgr_find_in_map1(sess->hContext, ctx->key, &key_obj); 364 if (rc != CKR_OK) 365 return (rc); 366 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); 367 if (rc == FALSE) { 380 rc = digest_mgr_init(sess, &digest_ctx, &digest_mech); 381 if (rc != CKR_OK) { 383 return (rc); 387 rc 495 CK_RV rc; local [all...] |
H A D | mech_sha.c | 72 CK_RV rc; local 96 rc = object_mgr_find_in_map1(sess->hContext, ctx->key, &key_obj); 97 if (rc != CKR_OK) { 98 return (rc); 100 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); 101 if (rc == FALSE) { 112 rc = digest_mgr_init(sess, &digest_ctx, &digest_mech); 113 if (rc != CKR_OK) { 115 return (rc); 119 rc 225 CK_RV rc; local [all...] |
H A D | sign_mgr.c | 43 CK_RV rc; local 52 rc = object_mgr_find_in_map1(sess->hContext, key, &key_obj); 53 if (rc != CKR_OK) { 56 rc = template_attribute_find(key_obj->template, CKA_SIGN, &attr); 57 if (rc == FALSE) { 69 rc = template_attribute_find(key_obj->template, 71 if (rc == FALSE) { 102 rc = template_attribute_find(key_obj->template, 104 if (rc == FALSE) { 142 rc [all...] |
H A D | verify_mgr.c | 42 CK_RV rc; local 54 rc = object_mgr_find_in_map1(sess->hContext, key, &key_obj); 55 if (rc != CKR_OK) { 60 rc = template_attribute_find(key_obj->template, CKA_VERIFY, &attr); 61 if (rc == FALSE) { 73 rc = template_attribute_find(key_obj->template, 75 if (rc == FALSE) { 104 rc = template_attribute_find(key_obj->template, 106 if (rc == FALSE) { 140 rc [all...] |
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | print-job.c | 51 ssize_t rc; local 160 while ((status == PAPI_OK) && ((rc = iread(fd, buf, sizeof (buf))) > 0)) 161 status = papiJobStreamWrite(svc, s, buf, rc);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_seq.c | 50 int rc; local 64 else if ((rc = ap_suspend_query(a, c, &check)) != CFGA_OK) 65 return (rc); 224 cfga_err_t rc; local 245 rc = ap_platopts_check(a, first, last); 247 if (rc != CFGA_OK) { 273 rc = ap_suspend_check(a, cmd, 277 if (suspend && ((rc = ap_rcm_ctl(a, c)) == CFGA_OK)) { 295 rc = ap_rcm_ctl(a, c); 339 rc 416 cfga_err_t rc; local [all...] |
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_util.c | 61 int rc; local 69 rc = 1; 75 rc = 0; 79 return (rc);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/hostbridge/ |
H A D | hb_i86pc.c | 59 tnode_t *rc; local 66 if ((rc = pciexrc_declare(mod, hb, bn, hbi)) == NULL) 69 rc, PCI_BUS, PCIEX_BUS, 0, MAX_HB_BUSES, (void *)hbdid) < 0) { 71 topo_node_unbind(rc);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | oid.c | 229 int rc; local 242 if (rc = __OID_copy(&s->elements, oid)) { 244 return (rc);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | init_color.c | 127 float rc, gc, bc, h, l, s; local 152 rc = (max - r) / (max - min); 159 h = 2 + rc - bc; 161 h = 4 + gc - rc;
|
H A D | mbaddch.c | 151 char *wch, rc[2]; local 159 rc[nc++] = (char)(LBYTE(c)|MBIT); 162 rc[nc++] = (char)RBYTE(c); 168 wc = RBYTE(rc[n]);
|
H A D | vidupdate.c | 138 int rc = 0; local 213 return (rc); 233 rc = -1; 263 rc = -1; 272 rc = -1; 287 rc = -1; 305 return (rc);
|