Lines Matching refs:ret
745 bool ret; in ctl_init() local
757 ret = true; in ctl_init()
781 ret = true; in ctl_init()
793 ret = false; in ctl_init()
796 return (ret); in ctl_init()
803 int ret; in ctl_lookup() local
813 ret = ENOENT; in ctl_lookup()
838 ret = ENOENT; in ctl_lookup()
848 ret = ENOENT; in ctl_lookup()
855 ret = ENOENT; in ctl_lookup()
871 ret = ENOENT; in ctl_lookup()
882 ret = ENOENT; in ctl_lookup()
891 ret = 0; in ctl_lookup()
893 return (ret); in ctl_lookup()
900 int ret; in ctl_byname() local
907 ret = EAGAIN; in ctl_byname()
912 ret = ctl_lookup(name, nodes, mib, &depth); in ctl_byname()
913 if (ret != 0) in ctl_byname()
918 ret = node->ctl(mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname()
921 ret = ENOENT; in ctl_byname()
925 return(ret); in ctl_byname()
931 int ret; in ctl_nametomib() local
934 ret = EAGAIN; in ctl_nametomib()
938 ret = ctl_lookup(name, NULL, mibp, miblenp); in ctl_nametomib()
940 return(ret); in ctl_nametomib()
947 int ret; in ctl_bymib() local
952 ret = EAGAIN; in ctl_bymib()
964 ret = ENOENT; in ctl_bymib()
975 ret = ENOENT; in ctl_bymib()
983 ret = node->ctl(mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
986 ret = ENOENT; in ctl_bymib()
990 return(ret); in ctl_bymib()
1031 ret = EPERM; \
1038 ret = EPERM; \
1046 ret = EPERM; \
1057 ret = EINVAL; \
1067 ret = EINVAL; \
1083 int ret; \
1094 ret = 0; \
1098 return (ret); \
1106 int ret; \
1116 ret = 0; \
1119 return (ret); \
1127 int ret; \
1135 ret = 0; \
1138 return (ret); \
1150 int ret; \
1159 ret = 0; \
1161 return (ret); \
1169 int ret; \
1176 ret = 0; \
1178 return (ret); \
1186 int ret; \
1197 ret = 0; \
1199 return (ret); \
1207 int ret; \
1214 ret = 0; \
1216 return (ret); \
1227 int ret; in CTL_RO_NL_GEN() local
1236 ret = 0; in CTL_RO_NL_GEN()
1239 return (ret); in CTL_RO_NL_GEN()
1293 int ret; in CTL_RO_BOOL_CONFIG_GEN() local
1312 ret = EFAULT; in CTL_RO_BOOL_CONFIG_GEN()
1319 ret = EAGAIN; in CTL_RO_BOOL_CONFIG_GEN()
1333 ret = 0; in CTL_RO_BOOL_CONFIG_GEN()
1336 return (ret); in CTL_RO_BOOL_CONFIG_GEN()
1352 int ret; in CTL_TSD_RO_NL_CGEN() local
1361 ret = EINVAL; in CTL_TSD_RO_NL_CGEN()
1368 ret = 0; in CTL_TSD_RO_NL_CGEN()
1370 return (ret); in CTL_TSD_RO_NL_CGEN()
1377 int ret; in thread_tcache_flush_ctl() local
1387 ret = 0; in thread_tcache_flush_ctl()
1389 return (ret); in thread_tcache_flush_ctl()
1396 int ret; in thread_prof_name_ctl() local
1407 ret = EINVAL; in thread_prof_name_ctl()
1413 if ((ret = prof_thread_name_set(tsd, *(const char **)newp)) != in thread_prof_name_ctl()
1421 ret = 0; in thread_prof_name_ctl()
1423 return (ret); in thread_prof_name_ctl()
1430 int ret; in thread_prof_active_ctl() local
1439 ret = EINVAL; in thread_prof_active_ctl()
1443 ret = EAGAIN; in thread_prof_active_ctl()
1449 ret = 0; in thread_prof_active_ctl()
1451 return (ret); in thread_prof_active_ctl()
1460 int ret; in tcache_create_ctl() local
1472 ret = EFAULT; in tcache_create_ctl()
1477 ret = 0; in tcache_create_ctl()
1480 return (ret); in tcache_create_ctl()
1487 int ret; in tcache_flush_ctl() local
1500 ret = EFAULT; in tcache_flush_ctl()
1505 ret = 0; in tcache_flush_ctl()
1507 return (ret); in tcache_flush_ctl()
1514 int ret; in tcache_destroy_ctl() local
1527 ret = EFAULT; in tcache_destroy_ctl()
1532 ret = 0; in tcache_destroy_ctl()
1534 return (ret); in tcache_destroy_ctl()
1574 int ret; in arena_i_purge_ctl() local
1582 ret = 0; in arena_i_purge_ctl()
1584 return (ret); in arena_i_purge_ctl()
1591 int ret; in arena_i_dss_ctl() local
1612 ret = EINVAL; in arena_i_dss_ctl()
1621 ret = EFAULT; in arena_i_dss_ctl()
1628 ret = EFAULT; in arena_i_dss_ctl()
1637 ret = 0; in arena_i_dss_ctl()
1640 return (ret); in arena_i_dss_ctl()
1647 int ret; in arena_i_lg_dirty_mult_ctl() local
1653 ret = EFAULT; in arena_i_lg_dirty_mult_ctl()
1663 ret = EINVAL; in arena_i_lg_dirty_mult_ctl()
1667 ret = EFAULT; in arena_i_lg_dirty_mult_ctl()
1672 ret = 0; in arena_i_lg_dirty_mult_ctl()
1674 return (ret); in arena_i_lg_dirty_mult_ctl()
1681 int ret; in arena_i_chunk_hooks_ctl() local
1699 ret = EFAULT; in arena_i_chunk_hooks_ctl()
1702 ret = 0; in arena_i_chunk_hooks_ctl()
1705 return (ret); in arena_i_chunk_hooks_ctl()
1711 const ctl_named_node_t * ret; in arena_i_index() local
1715 ret = NULL; in arena_i_index()
1719 ret = super_arena_i_node; in arena_i_index()
1722 return (ret); in arena_i_index()
1731 int ret; in arenas_narenas_ctl() local
1737 ret = EINVAL; in arenas_narenas_ctl()
1743 ret = 0; in arenas_narenas_ctl()
1746 return (ret); in arenas_narenas_ctl()
1753 int ret; in arenas_initialized_ctl() local
1759 ret = EINVAL; in arenas_initialized_ctl()
1763 ret = 0; in arenas_initialized_ctl()
1772 return (ret); in arenas_initialized_ctl()
1779 int ret; in arenas_lg_dirty_mult_ctl() local
1787 ret = EINVAL; in arenas_lg_dirty_mult_ctl()
1791 ret = EFAULT; in arenas_lg_dirty_mult_ctl()
1796 ret = 0; in arenas_lg_dirty_mult_ctl()
1798 return (ret); in arenas_lg_dirty_mult_ctl()
1844 int ret; in arenas_extend_ctl() local
1850 ret = EAGAIN; in arenas_extend_ctl()
1856 ret = 0; in arenas_extend_ctl()
1859 return (ret); in arenas_extend_ctl()
1868 int ret; in prof_thread_active_init_ctl() local
1876 ret = EINVAL; in prof_thread_active_init_ctl()
1884 ret = 0; in prof_thread_active_init_ctl()
1886 return (ret); in prof_thread_active_init_ctl()
1893 int ret; in prof_active_ctl() local
1901 ret = EINVAL; in prof_active_ctl()
1909 ret = 0; in prof_active_ctl()
1911 return (ret); in prof_active_ctl()
1918 int ret; in prof_dump_ctl() local
1928 ret = EFAULT; in prof_dump_ctl()
1932 ret = 0; in prof_dump_ctl()
1934 return (ret); in prof_dump_ctl()
1941 int ret; in prof_gdump_ctl() local
1949 ret = EINVAL; in prof_gdump_ctl()
1957 ret = 0; in prof_gdump_ctl()
1959 return (ret); in prof_gdump_ctl()
1966 int ret; in prof_reset_ctl() local
1982 ret = 0; in prof_reset_ctl()
1984 return (ret); in prof_reset_ctl()
2111 const ctl_named_node_t * ret; in stats_arenas_i_index() local
2115 ret = NULL; in stats_arenas_i_index()
2119 ret = super_stats_arenas_i_node; in stats_arenas_i_index()
2122 return (ret); in stats_arenas_i_index()