Home
last modified time | relevance | path

Searched refs:nresults (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/sparc/os/
H A Dobpsym_1275.c73 unsigned int nargs, nresults; in ieee_sym_to_value() local
78 nresults = p1275_cell2uint(cif[2]); in ieee_sym_to_value()
80 if (nresults == 0) in ieee_sym_to_value()
107 if (nresults > 1) { in ieee_sym_to_value()
120 u_int nargs, nresults; in ieee_value_to_sym() local
127 nresults = p1275_cell2uint(cif[2]); in ieee_value_to_sym()
129 if (nresults == 0) in ieee_value_to_sym()
163 if (nresults > 1) { in ieee_value_to_sym()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_ops.c238 cp->nresults = fc_int2cell(1); in fco_getproplen()
295 cp->nresults = fc_int2cell(1); in fco_getprop()
314 cp->nresults = fc_int2cell(1); in fco_ap_phandle()
346 cp->nresults = fc_int2cell(1); in fco_child()
378 cp->nresults = fc_int2cell(1); in fco_peer()
410 cp->nresults = fc_int2cell(1); in fco_parent()
444 cp->nresults = fc_int2cell(1); in fco_alloc_phandle()
636 cp->nresults = fc_int2cell(0); in fco_new_device()
680 cp->nresults = fc_int2cell(0); in fco_finish_device()
754 cp->nresults = fc_int2cell(0); in fco_create_property()
[all …]
H A Dfcode.c621 int nresults, nargs, error; in fc_run_priv() local
655 nresults = fc_cell2int(tc.nresults); /* save me for later */ in fc_run_priv()
692 name, fc_cell2int(cp->nargs), fc_cell2int(cp->nresults)); in fc_run_priv()
712 cp->nresults = fc_int2cell(0); in fc_run_priv()
714 error |= copyout(&cp->nresults, &ap->nresults, in fc_run_priv()
730 cp->nresults = fc_int2cell(0); in fc_run_priv()
734 error |= copyout(&cp->nresults, &ap->nresults, in fc_run_priv()
752 if (fc_cell2int(cp->nresults) > nresults) in fc_run_priv()
756 error = copyout(&cp->nresults, &ap->nresults, sizeof (fc_cell_t)); in fc_run_priv()
759 if ((error == 0) && cp->nresults) in fc_run_priv()
[all …]
H A Dfcpci.c363 cp->nresults = fc_int2cell(1); in pfc_dma_map_in()
431 cp->nresults = fc_int2cell(0); in pfc_dma_sync()
491 cp->nresults = fc_int2cell(0); in pfc_dma_map_out()
539 cp->nresults = fc_int2cell(0); in pfc_dma_cleanup()
590 cp->nresults = fc_int2cell(1); in pfc_map_in()
651 cp->nresults = fc_int2cell(0); in pfc_map_out()
735 cp->nresults = fc_int2cell(1); in pfc_register_fetch()
822 cp->nresults = fc_int2cell(0); in pfc_register_store()
951 cp->nresults = fc_int2cell(1); in pfc_config_fetch()
1082 cp->nresults = fc_int2cell(0); in pfc_config_store()
[all …]
H A Dfc_subr.c394 cp->nresults = fc_int2cell(0); in fc_syntax_error()
404 cp->nresults = fc_int2cell(0); in fc_priv_error()
429 cp->nresults = fc_int2cell(0); in fc_fail_op()
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldo.c300 int luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall() argument
314 ci->nresults = nresults; in luaD_precall()
345 ci->nresults = nresults; in luaD_precall()
360 return luaD_precall(L, func, nresults); /* now it must be a function */ in luaD_precall()
379 wanted = ci->nresults; in luaD_poscall()
422 adjustresults(L, ci->nresults); in finishCcall()
571 LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_CFunction k) { in lua_yieldk() argument
573 luai_userstateyield(L, nresults); in lua_yieldk()
575 api_checknelems(L, nresults); in lua_yieldk()
590 ci->func = L->top - nresults - 1; /* protect stack below results */ in lua_yieldk()
H A Dlapi.c888 LUA_API void lua_callk (lua_State *L, int nargs, int nresults, int ctx, in lua_callk() argument
896 checkresults(L, nargs, nresults); in lua_callk()
901 luaD_call(L, func, nresults, 1); /* do the call */ in lua_callk()
904 luaD_call(L, func, nresults, 0); /* just do the call */ in lua_callk()
905 adjustresults(L, nresults); in lua_callk()
916 int nresults; member
922 luaD_call(L, c->func, c->nresults, 0); in f_call()
937 checkresults(L, nargs, nresults); in lua_pcallk()
947 c.nresults = nresults; /* do a 'conventional' protected call */ in lua_pcallk()
961 luaD_call(L, c.func, nresults, 1); /* do the call */ in lua_pcallk()
[all …]
H A Dlua.h250 LUA_API void (lua_callk) (lua_State *L, int nargs, int nresults, int ctx,
256 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
270 LUA_API int (lua_yieldk) (lua_State *L, int nresults, int ctx,
H A Dldo.h32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
H A Dlcode.h67 LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults);
H A Dlstate.h73 short nresults; /* expected number of results from this function */ member
H A Dlcode.c358 void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) { in luaK_setreturns() argument
360 SETARG_C(getcode(fs, e), nresults+1); in luaK_setreturns()
363 SETARG_B(getcode(fs, e), nresults+1); in luaK_setreturns()
H A Dlvm.c774 int nresults = GETARG_C(i) - 1; in luaV_execute()
776 if (luaD_precall(L, ra, nresults)) { /* C function? */ in luaV_execute()
777 if (nresults >= 0) L->top = ci->top; /* adjust results */ in luaV_execute()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dopl_cfg.c1311 cp->nresults = fc_int2cell(1); in opl_map_in()
1373 cp->nresults = fc_int2cell(0); in opl_map_out()
1484 cp->nresults = fc_int2cell(1); in opl_register_fetch()
1605 cp->nresults = fc_int2cell(0); in opl_register_store()
1663 cp->nresults = fc_int2cell(1); in opl_claim_memory()
1728 cp->nresults = fc_int2cell(0); in opl_release_memory()
1776 cp->nresults = fc_int2cell(2); in opl_vtop()
1797 cp->nresults = fc_int2cell(1); in opl_config_child()
1851 cp->nresults = fc_int2cell(1); in opl_get_fcode()
1891 cp->nresults = fc_int2cell(1); in opl_get_fcode_size()
[all …]
/illumos-gate/usr/src/lib/libadutils/common/
H A Daddisc.c829 int nresults; in ldap_lookup_domains_in_forest() local
853 nresults = ldap_count_entries(*ld, result); in ldap_lookup_domains_in_forest()
854 domains = calloc(nresults + 1, sizeof (*domains)); in ldap_lookup_domains_in_forest()
907 if (ndomains < nresults) { in ldap_lookup_domains_in_forest()
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfcode.h145 fc_cell_t nresults; member