/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_main.c | 685 int ret = 0; local 724 ret = vmxnet3_alloc_dma_mem_1(dp, &newMfTable, allocSize, 726 ASSERT(ret == 0); 775 return (ret); 815 int ret; local 838 if ((ret = mac_maxsdu_update(dp->mac, new_mtu)) != 0) 840 new_mtu, ret); 842 return (ret); 851 int ret = 0; local 861 ret 872 int ret; local 923 int ret = EINVAL; local 1031 boolean_t ret; local 1066 int ret; local 1250 int ret, err; local 1507 int ret; local 1596 int ret; local 1611 int ret; local [all...] |
H A D | vmxnet3_tx.c | 75 int ret = 0; local 132 ret = ol->hlen; 141 return (ret); 160 int ret = VMXNET3_TX_OK; local 191 ret = VMXNET3_TX_FAILURE; 215 ret = VMXNET3_TX_PULLUP; 222 ret = VMXNET3_TX_RINGFULL; 275 ret = VMXNET3_TX_FAILURE; 311 return (ret); 433 boolean_t ret local [all...] |
H A D | vmxnet3_utils.c | 215 int ret = def; local 222 ret = props[dp->instance]; 230 if (ret < min || ret > max) { 233 name, min, ret, max); 234 ret = def; 237 VMXNET3_DEBUG(dp, 2, "getprop(%s) -> %d\n", name, ret); 239 return (ret);
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | acquire-lock.c | 44 int ret, i; local 54 ret = fcntl(fd, cmd, &fl); 55 if (ret == -1) { 69 ret = fcntl(fd, cmd, &fl); 70 if (ret == -1) { 79 int ret, i; local 88 ret = flock(fd, mode); 89 if (ret == -1) { 101 ret = flock(fd, LOCK_UN); 102 if (ret [all...] |
H A D | runtests.c | 280 int ret = pipe(fds); local 281 if (ret == -1) { 290 ret = dup2(fds[1], 0); 291 if (ret == -1) { 294 ret = dup2(fds[1], 1); 295 if (ret == -1) {
|
H A D | util.c | 52 int ret = poll(&pfd, 1, 1000); local 54 if (ret == -1) { 58 return (ret == 0); 66 int ret = 0; local 67 while (ret < 1) { 68 ret = read(fd, buf, 1); 69 if (ret == -1) { 81 int ret = 0; local 82 while (ret < 1) { 83 ret [all...] |
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 3116 uintptr_t ret; local 3142 ret = mstate->dtms_scratch_ptr; 3144 return (ret); 9186 * 5. The last instruction must be a "ret" instruction 9469 "expected 'ret' as last DIF instruction\n");
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 121 int ret; local 123 if ((ret = s->sst_ndx[type]) != 0) 124 return (ret); 126 ret = s->sst_ndx[type] = s->sst_cur; 129 return (ret);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client.c | 3030 int ret = 0; local 3043 ret = 1; 3056 return (ret); 3059 return (ret);
|
H A D | nfs4_vnops.c | 14638 int ret, error; local 14712 ret = VOP_FRLOCK(vp, F_SETLK, &ld, flag, offset, NULL, 14715 if (ret != 0) { 14724 " %p: error %d.\n", (void *)vp, ret));
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 1610 prsecflags_t ret; local 1620 prgetsecflags(p, &ret); 1623 return (pr_uioread(&ret, sizeof (ret), uiop)); 5726 int ret; local 5739 ret = vnodetopath(vrootp, pnp->pr_realvp, buf, size, cr); 5748 return (ret); 5771 if (ret != 0) { 5774 ret = vnodetopath(vrootp, execvp, buf, size, cr); 5777 return (ret); 5841 int ret = EINVAL; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vnode.c | 414 int ret; local 419 ret = -1; 421 ret = 1; 423 ret = 0; 426 return (ret); 3169 int ret; local 3194 ret = (*(*(vpp))->v_op->vop_open)(vpp, mode, cr, ct); 3196 if (ret) { 3229 return (ret); 3439 int ret; local 3483 int ret; local 3605 int ret; local 3793 int ret; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | arc.c | 2418 boolean_t fill, arc_buf_t **ret) 2426 ASSERT3P(ret, !=, NULL); 2427 ASSERT3P(*ret, ==, NULL); 2429 buf = *ret = kmem_cache_alloc(buf_cache, KM_PUSHPAGE); 2417 arc_buf_alloc_impl(arc_buf_hdr_t *hdr, void *tag, boolean_t compressed, boolean_t fill, arc_buf_t **ret) argument
|
H A D | dsl_dataset.c | 3587 boolean_t ret; local 3611 ret = dsl_dataset_is_before(origin, earlier, earlier_txg); 3613 return (ret);
|
H A D | spa.c | 805 int ret; local 807 ret = bcmp(&sa->se_bookmark, &sb->se_bookmark, 810 if (ret < 0) 812 else if (ret > 0)
|
H A D | zfs_ioctl.c | 324 boolean_t ret; local 325 ret = (dmu_objset_id(os) == spa_bootfs(dmu_objset_spa(os))); 327 return (ret); 1620 int ret = 0; local 1626 ret = put_nvlist(zc, config); 1636 ret = error; 1639 return (ret);
|
H A D | zfs_vfsops.c | 1831 int ret; local 1833 ret = secpolicy_fs_unmount(cr, vfsp); 1834 if (ret) { 1837 return (ret); 1853 (ret = zfsctl_umount_snapshots(vfsp, fflag, cr)) != 0) { 1854 return (ret);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 3451 int ret; local 3468 if ((ret = ill_init_common(ill, q, B_FALSE, B_FALSE, B_TRUE)) != 0) { 3470 return (ret); 16377 int err = 0, ret; local 16460 ret = ill_relink_usesrc_ills(usesrc_cli_ill, usesrc_ill, 0); 16461 if (ret != 0) { 16489 ret = ill_relink_usesrc_ills(usesrc_cli_ill, usesrc_ill, 16491 if (ret != 0) 18717 int ret = 0; local 18733 ret [all...] |
/illumos-gate/usr/src/uts/common/inet/ipnet/ |
H A D | ipnet.c | 245 int ret = 0; local 250 if ((ret = ipnet_populate_if(ips->ips_ndv4, ips, B_FALSE)) == 0) 251 ret = ipnet_populate_if(ips->ips_ndv6, ips, B_TRUE); 253 if (ret != 0) 257 return (ret); 266 int ret; local 284 ret = ENOMEM; 291 if ((ret = ipnetif_init()) == 0) 292 ret = mod_install(&modlinkage); 294 if (ret ! 330 int ret; local 399 int ret = 0; local 1776 int ret; local [all...] |
/illumos-gate/usr/src/uts/common/io/axf/ |
H A D | axf_usbgem.c | 993 int ret; local 1005 ret = USB_SUCCESS; 1067 ret = USB_FAILURE; 1086 return (ret); 1238 int ret; local 1393 int ret; local 1396 ret = usbgem_do_detach(dip); 1397 if (ret != DDI_SUCCESS) {
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_chip2.c | 2133 int ret = 0; local 2188 ret = -1; 2191 return (ret);
|
H A D | bge_main2.c | 4365 int i, flag, ret; local 4370 ret = ddi_intr_get_nintrs(dip, intr_type, &count); 4371 if ((ret != DDI_SUCCESS) || (count == 0)) { 4372 bge_error(bgep, "ddi_intr_get_nintrs() failure, ret: %d, " 4373 "count: %d", ret, count); 4379 ret = ddi_intr_get_navail(dip, intr_type, &avail); 4380 if ((ret != DDI_SUCCESS) || (avail == 0)) { 4382 "ret: %d, avail: %d\n", ret, avail); 4408 ret [all...] |
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwn.c | 650 int ret; local 663 ret = ddi_intr_alloc(sc->sc_dip, sc->sc_intr_htable, intr_type, 0, 1, 665 if (ret != DDI_SUCCESS) { 670 ret = ddi_intr_get_pri(sc->sc_intr_htable[0], &sc->sc_intr_pri); 671 if (ret != DDI_SUCCESS) { 676 ret = ddi_intr_add_handler(sc->sc_intr_htable[0], iwn_intr, (caddr_t)sc, 678 if (ret != DDI_SUCCESS) { 683 ret = ddi_intr_get_cap(sc->sc_intr_htable[0], &sc->sc_intr_cap); 684 if (ret != DDI_SUCCESS) { 690 ret 710 int ret; local 4409 int totlen, ret; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | lofi.c | 815 int ret; local 870 ret = crypto_encrypt(&lsp->ls_iv_mech, &cdata, &lsp->ls_key, 872 if (ret != CRYPTO_SUCCESS) { 874 lblkno, ret); 878 return (ret); 902 int ret; local 919 ret = lofi_blk_mech(lsp, lblkno); 920 if (ret != CRYPTO_SUCCESS) 924 ret = crypto_encrypt(&lsp->ls_mech, &cdata, 928 ret 2413 int ret; local [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac.c | 1331 int i, ret = 0; local 1341 ret = ENOTSUP; 1348 ret = EINVAL; 1352 ret = EBUSY; 1363 ret = ENOSPC; 1375 return (ret); 4414 int ret = 0; local 4501 if ((ret = mac_start_ring(ring)) != 0) { 4514 return (ret);
|