Lines Matching defs:return_val
250 td_err_e return_val;
329 if ((return_val = td_read_uberdata(ta_p)) != TD_OK)
330 return (return_val);
348 td_err_e return_val = TD_OK;
381 return_val = td_read_bootstrap_data(ta_p);
389 if (return_val == TD_OK && ps_kill != NULL && ps_lrolltoaddr != NULL) {
396 return_val = TD_DBERR;
413 if (return_val == TD_OK)
419 return (return_val);
546 td_err_e return_val;
552 if ((*ph_pp = ph_lock_ta(ta_p, &return_val)) == NULL)
553 return (return_val);
583 td_err_e return_val;
608 if ((ph_p = ph_lock_ta(ta_p, &return_val)) == NULL)
609 return (return_val);
611 return_val = TD_DBERR;
613 return_val = TD_DBERR;
615 if (return_val == TD_OK)
617 return (return_val);
653 td_err_e return_val;
683 return_val = __td_ta_thr_iter(ta_p,
687 if (return_val == TD_OK) {
689 return_val = TD_NOTHR;
694 return (return_val);
705 td_err_e return_val;
712 if ((ph_p = ph_lock_ta(ta_p, &return_val)) == NULL)
713 return (return_val);
746 td_err_e return_val;
755 if ((ph_p = ph_lock_ta(ta_p, &return_val)) == NULL)
756 return (return_val);
768 return_val = TD_DBERR;
783 return_val = TD_DBERR;
792 return_val = TD_DBERR;
796 if (return_val != TD_OK || numkeys <= 0) {
799 return (return_val);
803 return_val = TD_MALLOC;
807 return_val = TD_DBERR;
823 return_val = TD_DBERR;
840 return (return_val);
900 td_err_e return_val;
910 if ((ph_p = ph_lock_ta(ta_p, &return_val)) == NULL)
911 return (return_val);
992 return_val = TD_DBERR;
1016 return_val = TD_DBERR;
1032 return_val = TD_ERR;
1081 return (return_val);
1093 td_err_e return_val;
1096 if ((ph_p = ph_lock_ta(ta_p, &return_val)) == NULL)
1097 return (return_val);
1109 return_val = TD_DBERR;
1115 return (return_val);
1134 td_err_e return_val;
1146 if ((ph_p = ph_lock_ta(ta_p, &return_val)) == NULL)
1147 return (return_val);
1154 return_val = TD_DBERR;
1167 return_val = TD_MALLOC;
1176 return_val = TD_DBERR;
1186 return_val = TD_DBERR;
1191 return_val = TD_ERR;
1200 return_val = TD_DBERR;
1213 return_val = TD_DBERR;
1233 return (return_val);
1370 td_err_e return_val;
1377 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1378 return (return_val);
1396 return_val = TD_DBERR;
1407 return_val = TD_DBERR;
1411 return_val = TD_ERR;
1417 return (return_val);
1473 td_err_e return_val = TD_OK;
1479 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1480 return (return_val);
1501 return_val = TD_DBERR;
1509 return_val = TD_DBERR;
1516 return_val = TD_DBERR;
1522 return (return_val);
1570 td_err_e return_val;
1572 if ((ph_p = ph_lock_ta(ta_p, &return_val)) == NULL)
1573 return (return_val);
1580 return_val = TD_DBERR;
1588 return_val = TD_DBERR;
1592 return (return_val);
1640 td_err_e return_val = TD_OK;
1643 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1644 return (return_val);
1655 return_val = TD_DBERR;
1657 return_val = TD_NOEVENT;
1667 return_val = TD_DBERR;
1676 return_val = TD_DBERR;
1678 return_val = TD_NOEVENT;
1688 return_val = TD_DBERR;
1691 return_val = TD_ERR;
1697 return (return_val);
1740 td_err_e return_val;
1749 if ((return_val = __td_ta_thr_iter(ta_p, event_msg_cb, msg,
1752 return (return_val);
1802 td_err_e return_val;
1804 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1805 return (return_val);
1807 return_val = TD_DBERR;
1809 return (return_val);
1821 td_err_e return_val;
1823 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1824 return (return_val);
1826 return_val = TD_DBERR;
1828 return (return_val);
1864 td_err_e return_val;
1866 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1867 return (return_val);
1874 return_val = TD_DBERR;
1878 return (return_val);
1889 td_err_e return_val;
1891 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1892 return (return_val);
1899 return_val = TD_DBERR;
1903 return (return_val);
1914 td_err_e return_val;
1916 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1917 return (return_val);
1924 return_val = TD_DBERR;
1928 return (return_val);
1939 td_err_e return_val;
1941 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1942 return (return_val);
1949 return_val = TD_DBERR;
1953 return (return_val);
1967 td_err_e return_val;
1969 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
1970 return (return_val);
1977 return_val = TD_DBERR;
1981 return (return_val);
1997 td_err_e return_val;
1999 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
2000 return (return_val);
2007 return_val = TD_DBERR;
2011 return (return_val);
2027 td_err_e return_val;
2029 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
2030 return (return_val);
2037 return_val = TD_DBERR;
2041 return (return_val);
2081 td_err_e return_val;
2097 return_val = __td_ta_thr_iter(th_p->th_ta_p,
2102 if (return_val == TD_OK && searcher_data.status == 0)
2103 return_val = TD_NOTHR;
2105 return (return_val);
2119 td_err_e return_val;
2127 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
2128 return (return_val);
2143 return_val = TD_DBERR;
2146 return_val = TD_DBERR;
2149 return_val = TD_DBERR;
2167 return_val = TD_DBERR;
2170 return_val = TD_DBERR;
2173 return_val = TD_DBERR;
2185 return_val = TD_ERR;
2189 if (return_val == TD_OK && (key < 1 || key >= maxkey))
2190 return_val = TD_NOTSD;
2191 if (return_val != TD_OK || key >= nkey) {
2195 return (return_val);
2206 return_val = TD_DBERR;
2215 return_val = TD_DBERR;
2223 return (return_val);
2236 td_err_e return_val;
2241 if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL)
2242 return (return_val);
2258 return_val = TD_DBERR;
2260 return_val = TD_NOTLS;
2265 return_val = TD_DBERR;
2267 return_val = TD_NOTLS;
2272 return_val = TD_DBERR;
2274 return_val = TD_TLSDEFER;
2278 return_val = TD_DBERR;
2280 return_val = TD_TLSDEFER;
2293 return_val = TD_DBERR;
2295 return_val = TD_NOTLS;
2300 return_val = TD_DBERR;
2302 return_val = TD_NOTLS;
2307 return_val = TD_DBERR;
2309 return_val = TD_TLSDEFER;
2313 return_val = TD_DBERR;
2315 return_val = TD_TLSDEFER;
2319 return_val = TD_ERR;
2325 return (return_val);
2387 td_err_e return_val;
2393 if (ph_lock_th((td_thrhandle_t *)th_p, &return_val) == NULL)
2394 return (return_val);
2413 td_err_e return_val = TD_OK;
2418 if ((ph_p = ph_lock_th((td_thrhandle_t *)th_p, &return_val)) == NULL)
2419 return (return_val);
2429 return_val = TD_DBERR;
2437 return_val = TD_DBERR;
2440 return_val = TD_ERR;
2444 if (return_val != TD_OK || wchan == NULL) {
2447 if (return_val == TD_OK)
2448 return_val = TD_ERR;
2455 return (return_val);
2591 td_err_e return_val;
2596 if ((ph_p = ph_lock_sh(sh_p, &return_val)) == NULL)
2597 return (return_val);
2603 return_val = sync_get_info_common(sh_p, ph_p, si_p);
2607 return (return_val);
2674 td_err_e return_val;
2683 if ((ph_p = ph_lock_sh(sh_p, &return_val)) == NULL)
2684 return (return_val);
2691 if ((return_val = sync_get_info_common(sh_p, ph_p, &ss_p->ss_info))
2693 if (return_val != TD_BADSH)
2700 return_val = TD_OK;
2704 return_val = TD_DBERR;
2717 return_val = TD_DBERR;
2727 return_val = TD_DBERR;
2732 return_val = TD_ERR;
2738 return_val = TD_BADSH;
2740 return_val = read_sync_stats(ta_p, hashaddr,
2742 if (return_val != TD_OK)
2849 return_val = TD_BADSH;
2856 return (return_val);
2873 td_err_e return_val;
2878 if ((ph_p = ph_lock_sh(sh_p, &return_val)) == NULL)
2879 return (return_val);
2909 return_val = TD_DBERR;
2915 return_val = TD_DBERR;
2921 return_val = TD_DBERR;
2927 return_val = TD_DBERR;
2931 return_val = TD_ERR;
2936 return_val = TD_DBERR;
2947 return_val = TD_DBERR;
2951 return_val = TD_BADSH;
2957 return (return_val);
3022 td_err_e return_val;
3024 if ((ph_p = ph_lock_sh(sh_p, &return_val)) == NULL)
3025 return (return_val);
3048 return_val = __td_ta_thr_iter(sh_p->sh_ta_p, waiters_cb, &wcb,
3052 if (return_val != TD_OK)
3053 return (return_val);