/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecah.c | 541 boolean_t rc = B_TRUE; local 682 rc = B_FALSE; 686 return (rc); 781 int rc; local 937 rc = sadb_common_add(ahstack->ah_pfkey_q, mp, 942 if (rc == 0) { 945 rc = !taskq_dispatch(ah_taskq, inbound_task, 982 } else if (rc != 0) { 995 return (rc); 1901 int rc, diagnosti local [all...] |
H A D | ipsecesp.c | 1366 int rc, diagnostic; local 1437 rc = EEXIST; 1442 * if there's a colliding entry, rc will be set 1445 rc = sadb_insertassoc(newbie, inbound); 1457 if (rc != 0) { 1460 sadb_pfkey_error(espstack->esp_pfkey_q, mp, rc, 3310 int rc; local 3461 rc = sadb_common_add(espstack->esp_pfkey_q, 3466 if (rc == 0) { 3469 rc [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vnops.c | 5351 int rc; local 5381 if (rc = flk_convert_lock_data(vp, bfp, &start, &end, offset)) 5382 return (rc); 5383 if (rc = flk_check_lock_data(start, end, MAXEND)) 5384 return (rc); 5416 rc = EAGAIN; 5442 rc = EINTR; 5451 if (rc != 0) 5462 rc = ENOLCK; 5475 rc [all...] |
H A D | nfs_dlinet.c | 295 int rc; local 312 rc = getfile(name, args->hostname, args->addr, path); 313 } while (rc == ETIMEDOUT); 315 if (rc) { 317 return (rc); 325 rc = mountnfs(args->addr, args->hostname, path, 329 rc = mountnfs3(args->addr, args->hostname, path, 338 rc = 0; 346 rc = EPROTONOSUPPORT; 349 rc 641 int rc; local 959 int rc, i; local 1304 int rc; local 1430 int rc; local 1457 int rc; local 1497 int rc; local 1526 int rc; local 1603 int rc; local 1698 int rc; local 1952 int rc; local 2104 int rc; local 2130 int rc; local [all...] |
H A D | nfs_subr.c | 3806 rddir_cache *rc; local 3808 rc = kmem_alloc(sizeof (*rc), flags); 3809 if (rc != NULL) { 3810 rc->entries = NULL; 3811 rc->flags = RDDIR; 3812 cv_init(&rc->cv, NULL, CV_DEFAULT, NULL); 3813 mutex_init(&rc->lock, NULL, MUTEX_DEFAULT, NULL); 3814 rc->count = 1; 3819 return (rc); 3823 rddir_cache_free(rddir_cache *rc) argument 3842 rddir_cache_hold(rddir_cache *rc) argument 3851 rddir_cache_rele(rddir_cache *rc) argument 3867 char *rc; local [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/ |
H A D | audiohd.c | 4968 int rc; local 5061 rc = ddi_dma_alloc_handle(dip, &dma_attr, DDI_DMA_SLEEP, 5063 if (rc != DDI_SUCCESS) { 5065 rc); 5079 rc = ddi_dma_mem_alloc(port->samp_dmah, port->bufsize, 5083 if (rc == DDI_FAILURE) { 5096 rc = ddi_dma_addr_bind_handle(port->samp_dmah, NULL, 5099 if ((rc != DDI_DMA_MAPPED) || (count != 1)) { 5101 "ddi_dma_addr_bind_handle failed: %d", rc); 5111 rc [all...] |
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 311 int rc; local 318 rc = alloc_fwq(sc); 319 if (rc != 0) 320 return (rc); 326 rc = alloc_mgmtq(sc); 328 return (rc); 349 int rc = T4_EXTRA_INTR, i; local 362 rc += p->nrxq + p->nofldrxq; 364 rc += max(p->nrxq, p->nofldrxq); 372 rc 428 int rc = 0, i, intr_idx, j, iqid; local 934 int rc, coalescing; local 1101 int rc, cntxt_id; local 1231 int rc; local 1288 int rc, intr_idx; local 1314 int rc; local 1332 int rc; local 1347 int rc; local 1366 int rc; local 1379 int rc; local 1393 int rc, cntxt_id; local 1437 int rc, cntxt_id; local 1480 int rc, cntxt_id; local 1523 int rc; local 1571 int rc; local 1622 int rc; local 1643 int rc; local 1656 int rc, i; local 1787 int rc; local 2159 int rc; local 2359 int rc; local 3032 int i, rc; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | bridge.c | 3071 int rc = EINVAL; local 3094 (rc = miocpullup(mp, sizeof (bridge_newbridge_t))) != 0) 3099 rc = bridge_create(bnb->bnb_linkid, bnb->bnb_name, &bip, cr); 3100 if (rc != 0) 3107 rc = EBUSY; 3113 rc = 0; 3120 (rc = miocpullup(mp, sizeof (datalink_id_t))) != 0) 3135 (rc = miocpullup(mp, sizeof (datalink_id_t))) != 0) 3152 (rc = miocpullup(mp, sizeof (*bss))) != 0) 3157 rc 3428 int rc; local [all...] |
H A D | gld.c | 1301 int rc = DDI_FAILURE; local 1307 rc = DDI_SUCCESS; 1317 rc = DDI_FAILURE; 1322 rc = DDI_SUCCESS; 1328 rc = DDI_SUCCESS; 1334 return (rc); 1705 int rc; local 1769 rc = (multidata) ? gld_start_mdt(q, mp, GLD_WPUT) : 1776 if (rc == GLD_NORESOURCES) 2045 int rc; local 4841 int i, rc; local 5369 int rc; local 5472 int rc; local [all...] |
H A D | pcic.c | 5417 uint_t rc = DDI_INTR_UNCLAIMED; local 5425 rc = DDI_INTR_CLAIMED; 5431 return (rc);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | lgrp.c | 564 int rc; local 599 rc = lpl_topo_verify(cp->cpu_part); 600 if (rc != LPL_TOPO_CORRECT) { 601 panic("lpl_topo_verify failed: %d", rc); 612 rc = lpl_topo_verify(cp->cpu_part); 613 if (rc != LPL_TOPO_CORRECT) { 614 panic("lpl_topo_verify failed: %d", rc); 623 rc = lpl_topo_verify(cp->cpu_part); 624 if (rc != LPL_TOPO_CORRECT) { 625 panic("lpl_topo_verify failed: %d", rc); [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 961 int rc = 0; local 1001 rc = ENOMEM; 1017 rc = ENOMEM; 1034 rc = ENOMEM; 1043 rc = ENOMEM; 1280 return (rc); 3361 int rc = 0; local 3375 rc = 1; 3391 rc = 1; 3397 rc [all...] |
/illumos-gate/usr/src/uts/common/io/rtw/ |
H A D | rtw.c | 595 int rc; local 597 rc = rtw_chip_reset(&rsc->sc_regs, "rtw"); 598 if (rc != 0) 599 return (rc); 793 int rc; local 865 if ((rc = rtw_recall_eeprom(regs, dvname)) != 0) 866 return (rc); 1569 int rc; local 1579 rc = rtw_rf_pwrstate(rsc->sc_rf, power); 1593 if (rc 1603 int rc; local 1731 int rc = 0; local 1766 int rc; local 1806 int rc = 0; local 2037 int ack, rc; local [all...] |
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/ |
H A D | ahci.c | 8133 int i, rc; local 8139 rc = ddi_intr_get_nintrs(dip, intr_type, &count); 8140 if ((rc != DDI_SUCCESS) || (count == 0)) { 8143 "rc %d count %d\n", rc, count); 8148 rc = ddi_intr_get_navail(dip, intr_type, &avail); 8149 if ((rc != DDI_SUCCESS) || (avail == 0)) { 8152 "rc %d avail %d\n", rc, avail); 8185 rc [all...] |
/illumos-gate/usr/src/uts/common/io/sata/adapters/nv_sata/ |
H A D | nv_sata.c | 2814 int rc, i; local 2837 rc = ddi_dma_alloc_handle(dip, &nv_prd_dma_attr, 2840 if (rc != DDI_SUCCESS) { 2846 rc = ddi_dma_mem_alloc(nvp->nvp_sg_dma_hdl[i], prd_size, 2851 if (rc != DDI_SUCCESS) { 2857 rc = ddi_dma_addr_bind_handle(nvp->nvp_sg_dma_hdl[i], NULL, 2862 if (rc != DDI_DMA_MAPPED) { 3784 int x, y, rc, inum = 0; local 3791 rc = ddi_intr_get_nintrs(devinfo, DDI_INTR_TYPE_FIXED, &count); 3792 if ((rc ! 3891 int x, y, rc, inum = 0; local [all...] |
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | jtag.c | 1294 jtag_phys_comp *rc; local 1319 rc = find_chip(rd, &chip_ac, 0); 1320 if (rc != NULL) { 1321 sc->ac_compid = jtag_get_comp_id(jreg, rc); 1325 rc = find_chip(rd, &chip_fhc, 0); 1326 if (rc != NULL) { 1327 sc->fhc_compid = jtag_get_comp_id(jreg, rc); 1371 rc = find_chip(rd, &chip_spitfire, 0); 1372 if (rc != NULL) { 1374 jtag_get_comp_id(jreg, rc); 1642 jtag_phys_comp *rc; local 1957 int rc = JTAG_OK; local 2035 int rc = JTAG_OK; local 2121 int rc = JTAG_OK; local [all...] |
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 788 int bus_range[2], rc = PCICFG_FAILURE, rc1, max_devs = 0; local 804 if ((rc = ndi_prop_update_int(DDI_DEV_T_NONE, new_device, 822 return (rc); 846 return (rc); 860 rc = ndi_devi_online(new_device, NDI_ONLINE_ATTACH|NDI_CONFIG); 861 if (rc != NDI_SUCCESS) { 864 rc = PCICFG_FAILURE; 865 return (rc); 872 rc = PCICFG_FAILURE; 877 rc 1218 int rc = PCICFG_SUCCESS; local 1301 int k, rc = DDI_FAILURE; local 1340 int rc = DDI_SUCCESS; local 1365 int len, val, rc = DDI_FAILURE; local [all...] |
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 2397 int rc, count; local 2418 rc = ddi_intr_get_nintrs(dev_info, intr_type, &count); 2419 if ((rc != DDI_SUCCESS) || (count == 0)) { 2421 "no interrupts of type %s, rc=0x%x, count=%d", 2422 type_str, rc, count); 2427 rc = ddi_intr_alloc(dev_info, acb->phandle, intr_type, 0, 2429 if ((rc != DDI_SUCCESS) || (acb->intr_count == 0)) { 2431 type_str, rc);
|
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 4055 int rc; local 4062 rc = dcd_make_devid_from_serial(un); 4064 if (rc != DDI_SUCCESS) { 4099 int rc = DDI_SUCCESS; local 4116 rc = DDI_FAILURE; 4121 rc = DDI_FAILURE; 4137 rc = ddi_devid_init(DCD_DEVINFO, DEVID_ATA_SERIAL, total_len, 4143 out: return (rc);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cmi_hw.c | 228 cmi_errno_t rc = -1; local 234 (*func)(arg1, arg2, (xc_arg_t)&rc); 248 xc_priority(arg1, arg2, (xc_arg_t)&rc, 250 if (rc != -1) 259 return (rc != -1 ? rc : CMIERR_DEADLOCK); 848 int rc; local 856 rc = p_online_internal_locked(cpuid, new_status, old_status); 859 return (rc); 1094 int op, rc, statu local 1334 int rc = 0; local [all...] |
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 780 int32_t rc; local 818 if ((rc = dnet_detach_hacked_interrupt(devinfo)) != DDI_SUCCESS) 819 return (rc);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfc.c | 5529 uint32_t rc; local 5534 rc = emlxs_set_parm(hba, index, new_value); 5536 if (rc) { 5539 emlxs_dfc_xlate(dfc->cmd), rc); 5541 switch (rc) { 10837 uint32_t rc = 0; local 10882 rc = EMLXS_SLI_ISSUE_MBOX_CMD(hba, mbq, MBX_WAIT, 0); 10883 if (rc == MBX_SUCCESS) { 10892 emlxs_mb_cmd_xlate(mb->mbxCommand), rc); 10894 if ((rc [all...] |
H A D | emlxs_dhchap.c | 787 uint32_t i, j, rc = 1; local 807 rc = 2; 816 if (rc == 2) { 822 rc = 1; 824 if (rc == 2) { 826 return (rc); 840 rc = 0; 847 if (rc == 0) { 854 rc = 1; 861 return (rc); 1003 uint32_t rc; local 4365 uint32_t rc, i, hs_id[2], dh_id[5]; local 4706 uint32_t rc, i, hs_id[2], dh_id[5]; local 9652 uint32_t rc; local [all...] |
H A D | emlxs_sli4.c | 798 uint32_t rc; local 800 rc = emlxs_fw_download(hba, 802 if ((rc != FC_SUCCESS) && 803 (rc != EMLXS_REBOOT_REQUIRED)) { 2181 int rc; local 2222 rc = emlxs_init_bootstrap_mb(hba); 2223 if (rc) { 2224 return (rc); 2256 uint32_t rc; local 2280 rc 3371 uint32_t rc; local 3767 uint32_t rc; local 4902 int rc = 0; local 4935 int rc = 0; local 5197 int rc; local 7021 int rc; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 1544 int kind, rc, d; local 1714 rc = printfuncs[kind - 1](type, name, id, base, off, pap); 1716 if (rc != 0) 1721 return (rc);
|