Home
last modified time | relevance | path

Searched refs:ci (Results 1 – 25 of 153) sorted by relevance

1234567

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_prop.c62 cell_t ci[4]; in prom_asr_export_len() local
79 cell_t ci[4]; in prom_asr_list_keys_len() local
97 cell_t ci[5]; in prom_asr_export() local
118 cell_t ci[5]; in prom_asr_list_keys() local
140 cell_t ci[5]; in prom_asr_disable() local
161 cell_t ci[5]; in prom_asr_enable() local
184 cell_t ci[6]; in prom_getproplen() local
205 cell_t ci[8]; in prom_getprop() local
240 cell_t ci[8]; in prom_bounded_getprop() local
261 cell_t ci[7]; in prom_nextprop() local
[all …]
H A Dprom_io.c35 cell_t ci[5]; in prom_open() local
55 ci[2] = (cell_t)1; /* #result cells */ in prom_open()
59 (void) p1275_cif_handler(&ci); in prom_open()
76 cell_t ci[7]; in prom_seek() local
87 (void) p1275_cif_handler(&ci); in prom_seek()
97 cell_t ci[7]; in prom_read() local
121 (void) p1275_cif_handler(&ci); in prom_read()
145 cell_t ci[7]; in prom_write() local
226 (void) p1275_cif_handler(&ci); in prom_write()
243 cell_t ci[4]; in prom_close() local
[all …]
H A Dprom_node.c38 cell_t ci[5]; in prom_nextnode() local
41 ci[1] = (cell_t)1; /* #argument cells */ in prom_nextnode()
42 ci[2] = (cell_t)1; /* #result cells */ in prom_nextnode()
47 (void) p1275_cif_handler(&ci); in prom_nextnode()
56 cell_t ci[5]; in prom_childnode() local
60 ci[2] = (cell_t)1; /* #result cells */ in prom_childnode()
65 (void) p1275_cif_handler(&ci); in prom_childnode()
195 cell_t ci[5]; in prom_parentnode() local
204 (void) p1275_cif_handler(&ci); in prom_parentnode()
213 cell_t ci[5]; in prom_finddevice() local
[all …]
H A Dprom_test.c37 cell_t ci[5]; in prom_test() local
40 ci[1] = (cell_t)1; /* #argument cells */ in prom_test()
41 ci[2] = (cell_t)1; /* #result cells */ in prom_test()
46 (void) p1275_cif_handler(&ci); in prom_test()
55 cell_t ci[6]; in prom_test_method() local
62 ci[2] = (cell_t)1; /* #result cells */ in prom_test_method()
63 ci[3] = p1275_dnode2cell(node); in prom_test_method()
64 ci[4] = p1275_ptr2cell(method); in prom_test_method()
65 ci[5] = (cell_t)-1; in prom_test_method()
68 (void) p1275_cif_handler(&ci); in prom_test_method()
[all …]
H A Dprom_handler.c35 cell_t ci[5]; in prom_set_callback() local
38 ci[1] = (cell_t)1; /* #argument cells */ in prom_set_callback()
39 ci[2] = (cell_t)1; /* #return cells */ in prom_set_callback()
40 ci[3] = p1275_ptr2cell(handler); /* Arg1: New handler */ in prom_set_callback()
41 ci[4] = (cell_t)-1; /* Res1: Prime result */ in prom_set_callback()
44 (void) p1275_cif_handler(&ci); in prom_set_callback()
47 return (p1275_cell2ptr(ci[4])); /* Res1: Old handler */ in prom_set_callback()
53 cell_t ci[5]; in prom_set_symbol_lookup() local
56 ci[1] = (cell_t)2; /* #argument cells */ in prom_set_symbol_lookup()
57 ci[2] = (cell_t)0; /* #return cells */ in prom_set_symbol_lookup()
[all …]
H A Dprom_key.c45 cell_t ci[7]; in prom_set_security_key() local
91 ci[1] = 3; in prom_set_security_key()
92 ci[2] = 1; in prom_set_security_key()
94 ci[4] = p1275_ptr2cell(buf); in prom_set_security_key()
98 rv = p1275_cif_handler(ci); in prom_set_security_key()
111 result = p1275_cell2int(ci[6]); in prom_set_security_key()
127 cell_t ci[7]; in prom_get_security_key() local
167 ci[1] = 3; in prom_get_security_key()
168 ci[2] = 1; in prom_get_security_key()
170 ci[4] = p1275_ptr2cell(buf); in prom_get_security_key()
[all …]
H A Dprom_interp.c36 cell_t ci[9]; in prom_interpret() local
58 ci[0] = p1275_ptr2cell("interpret"); /* Service name */ in prom_interpret()
59 ci[1] = (cell_t)6; /* #argument cells */ in prom_interpret()
60 ci[2] = (cell_t)0; /* #return cells */ in prom_interpret()
61 ci[3] = p1275_ptr2cell(string); /* Arg1: Interpreted string */ in prom_interpret()
62 ci[4] = p1275_uintptr2cell(arg1); /* Arg2: stack arg 1 */ in prom_interpret()
63 ci[5] = p1275_uintptr2cell(arg2); /* Arg3: stack arg 2 */ in prom_interpret()
64 ci[6] = p1275_uintptr2cell(arg3); /* Arg4: stack arg 3 */ in prom_interpret()
65 ci[7] = p1275_uintptr2cell(arg4); /* Arg5: stack arg 4 */ in prom_interpret()
66 ci[8] = p1275_uintptr2cell(arg5); /* Arg6: stack arg 5 */ in prom_interpret()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_fio.c35 cell_t ci[10]; in prom_fopen() local
61 (void) p1275_cif_handler(&ci); in prom_fopen()
82 cell_t ci[10]; in prom_volopen() local
108 (void) p1275_cif_handler(&ci); in prom_volopen()
129 cell_t ci[10]; in prom_fseek() local
140 (void) p1275_cif_handler(&ci); in prom_fseek()
156 cell_t ci[10]; in prom_fread() local
179 (void) p1275_cif_handler(&ci); in prom_fread()
199 cell_t ci[8]; in prom_fsize() local
225 cell_t ci[10]; in prom_compinfo() local
[all …]
H A Dprom_cpuctl.c35 cell_t ci[5]; in prom_stopcpu_bycpuid() local
43 (void) p1275_cif_handler(&ci); in prom_stopcpu_bycpuid()
53 cell_t ci[6]; in prom_startcpu() local
63 (void) p1275_cif_handler(&ci); in prom_startcpu()
72 cell_t ci[7]; in prom_startcpu_bycpuid() local
91 cell_t ci[5]; in prom_wakeupcpu() local
100 rv = p1275_cif_handler(&ci); in prom_wakeupcpu()
112 cell_t ci[5]; in prom_cpuoff() local
121 rv = p1275_cif_handler(&ci); in prom_cpuoff()
133 cell_t ci[5]; in prom_hotaddcpu() local
[all …]
H A Dprom_mmu.c66 cell_t ci[11]; in prom_map_phys() local
85 rv = p1275_cif_handler(&ci); in prom_map_phys()
107 cell_t ci[9]; in prom_allocate_virt() local
126 rv = p1275_cif_handler(&ci); in prom_allocate_virt()
142 cell_t ci[10]; in prom_claim_virt() local
159 rv = p1275_cif_handler(&ci); in prom_claim_virt()
175 cell_t ci[7]; in prom_free_virt() local
200 cell_t ci[7]; in prom_unmap_virt() local
256 cell_t ci[11]; in prom_translate_virt() local
275 rv = p1275_cif_handler(&ci); in prom_translate_virt()
[all …]
H A Dprom_mem.c66 cell_t ci[10]; in prom_allocate_phys() local
78 ci[2] = (cell_t)3; /* #result cells */ in prom_allocate_phys()
85 rv = p1275_cif_handler(&ci); in prom_allocate_phys()
93 *physaddr = p1275_cells2ull(ci[8], ci[9]); in prom_allocate_phys()
108 cell_t ci[10]; in prom_claim_phys() local
117 ci[2] = (cell_t)1; /* #result cells */ in prom_claim_phys()
120 ci[5] = 0; /* Arg3: SA1: align */ in prom_claim_phys()
126 rv = p1275_cif_handler(&ci); in prom_claim_phys()
145 cell_t ci[8]; in prom_free_phys() local
153 ci[2] = (cell_t)0; /* #return cells */ in prom_free_phys()
[all …]
H A Dprom_efcode.c42 cell_t ci[5]; in prom_get_fcode_size() local
50 ci[1] = (cell_t)1; /* 1 input arg: str */ in prom_get_fcode_size()
52 ci[3] = p1275_ptr2cell(str); in prom_get_fcode_size()
53 ci[4] = (cell_t)0; in prom_get_fcode_size()
56 rv = p1275_cif_handler(&ci); in prom_get_fcode_size()
60 return (p1275_cell2int(ci[4])); in prom_get_fcode_size()
70 cell_t ci[6]; in prom_get_fcode() local
77 ci[0] = p1275_ptr2cell("SUNW,get-fcode"); in prom_get_fcode()
82 ci[5] = (cell_t)0; in prom_get_fcode()
85 rv = p1275_cif_handler(&ci); in prom_get_fcode()
[all …]
H A Dprom_getunum.c42 cell_t ci[12]; in prom_get_unum() local
50 ci[0] = p1275_ptr2cell("call-method"); /* Service name */ in prom_get_unum()
51 ci[1] = (cell_t)7; /* #argument cells */ in prom_get_unum()
52 ci[2] = (cell_t)2; /* #result cells */ in prom_get_unum()
55 ci[5] = p1275_uint2cell(buflen); /* Arg3: buflen */ in prom_get_unum()
56 ci[6] = p1275_ptr2cell(buf); /* Arg4: buf */ in prom_get_unum()
58 ci[8] = p1275_ull2cell_low(physaddr); /* Arg6: physlo */ in prom_get_unum()
59 ci[9] = p1275_int2cell(syn_code); /* Arg7: bit # */ in prom_get_unum()
60 ci[10] = (cell_t)-1; /* ret1: catch result */ in prom_get_unum()
61 ci[11] = (cell_t)-1; /* ret2: length */ in prom_get_unum()
[all …]
H A Dprom_alloc.c111 cell_t ci[7]; in prom_malloc() local
115 ci[1] = (cell_t)3; /* #argument cells */ in prom_malloc()
116 ci[2] = (cell_t)1; /* #result cells */ in prom_malloc()
117 ci[3] = p1275_ptr2cell(virt); /* Arg1: virt */ in prom_malloc()
118 ci[4] = p1275_size2cell(size); /* Arg2: size */ in prom_malloc()
122 rv = p1275_cif_handler(&ci); in prom_malloc()
134 cell_t ci[5]; in prom_free() local
137 ci[1] = (cell_t)2; /* #argument cells */ in prom_free()
138 ci[2] = (cell_t)0; /* #result cells */ in prom_free()
139 ci[3] = p1275_ptr2cell(virt); /* Arg1: virt */ in prom_free()
[all …]
H A Dprom_retain.c40 cell_t ci[11]; in prom_retain() local
47 ci[0] = p1275_ptr2cell("call-method"); /* Service name */ in prom_retain()
48 ci[1] = (cell_t)5; /* #argument cells */ in prom_retain()
49 ci[2] = (cell_t)3; /* #result cells */ in prom_retain()
50 ci[3] = p1275_ptr2cell("SUNW,retain"); /* Arg1: Method name */ in prom_retain()
52 ci[5] = p1275_uint2cell(align); /* Arg2: SA1: align */ in prom_retain()
53 ci[6] = p1275_size2cell(size); /* Arg3: SA2: size */ in prom_retain()
54 ci[7] = p1275_ptr2cell(id); /* Arg4: SA3: id name */ in prom_retain()
57 rv = p1275_cif_handler(&ci); in prom_retain()
62 if (ci[8] != 0) /* Res1: catch-result */ in prom_retain()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_serengeti.c37 cell_t ci[5]; in prom_serengeti_set_console_input() local
46 rv = p1275_cif_handler(&ci); in prom_serengeti_set_console_input()
61 cell_t ci[6]; in prom_serengeti_attach_board() local
71 rv = p1275_cif_handler(&ci); in prom_serengeti_attach_board()
85 cell_t ci[6]; in prom_serengeti_detach_board() local
95 rv = p1275_cif_handler(&ci); in prom_serengeti_detach_board()
109 cell_t ci[6]; in prom_serengeti_tunnel_switch() local
119 rv = p1275_cif_handler(&ci); in prom_serengeti_tunnel_switch()
133 cell_t ci[5]; in prom_serengeti_cpu_off() local
161 cell_t ci[12]; in prom_serengeti_get_ecacheunum() local
[all …]
H A Dprom_opl.c44 cell_t ci[5]; in prom_opl_get_tod() local
56 *stickval = ci[3]; in prom_opl_get_tod()
57 *time = ci[4]; in prom_opl_get_tod()
69 cell_t ci[4]; in prom_opl_set_diff() local
85 cell_t ci[5]; in prom_attach_notice() local
88 ci[1] = (cell_t)1; in prom_attach_notice()
89 ci[2] = (cell_t)1; in prom_attach_notice()
103 cell_t ci[5]; in prom_detach_notice() local
106 ci[1] = (cell_t)1; in prom_detach_notice()
107 ci[2] = (cell_t)1; in prom_detach_notice()
[all …]
H A Dprom_tlb.c40 cell_t ci[9]; in prom_itlb_load() local
48 ci[1] = (cell_t)5; /* #argument cells */ in prom_itlb_load()
49 ci[2] = (cell_t)1; /* #result cells */ in prom_itlb_load()
52 ci[5] = p1275_ptr2cell(virt); /* Arg3: SA1: virt */ in prom_itlb_load()
57 rv = p1275_cif_handler(&ci); in prom_itlb_load()
62 if (ci[8] != 0) /* Res1: Catch result */ in prom_itlb_load()
70 cell_t ci[9]; in prom_dtlb_load() local
78 ci[1] = (cell_t)5; /* #argument cells */ in prom_dtlb_load()
79 ci[2] = (cell_t)1; /* #result cells */ in prom_dtlb_load()
87 rv = p1275_cif_handler(&ci); in prom_dtlb_load()
[all …]
H A Dprom_sunfire.c36 cell_t ci[3]; in prom_sunfire_cpu_off() local
40 ci[1] = (cell_t)0; /* #argument cells */ in prom_sunfire_cpu_off()
41 ci[2] = (cell_t)0; /* #result cells */ in prom_sunfire_cpu_off()
50 (void) p1275_cif_handler(&ci); in prom_sunfire_cpu_off()
61 cell_t ci[5]; in prom_sunfire_attach_board() local
66 ci[2] = (cell_t)1; /* #result cells */ in prom_sunfire_attach_board()
67 ci[3] = p1275_uint2cell(board); in prom_sunfire_attach_board()
70 rv = p1275_cif_handler(&ci); in prom_sunfire_attach_board()
84 cell_t ci[5]; in prom_sunfire_detach_board() local
90 ci[3] = p1275_uint2cell(board); in prom_sunfire_detach_board()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4v/
H A Dprom_sun4v_api_version.c40 cell_t ci[8]; in prom_set_sun4v_api_version() local
47 ci[2] = (cell_t)2; /* #result cells */ in prom_set_sun4v_api_version()
51 ci[6] = (cell_t)-1; /* Res1: status */ in prom_set_sun4v_api_version()
55 (void) p1275_cif_handler(&ci); in prom_set_sun4v_api_version()
58 *supported_minor = (uint64_t)(ci[7]); in prom_set_sun4v_api_version()
59 return ((uint64_t)(ci[6])); in prom_set_sun4v_api_version()
70 cell_t ci[7]; in prom_get_sun4v_api_version() local
84 (void) p1275_cif_handler(&ci); in prom_get_sun4v_api_version()
87 *major = (uint64_t)(ci[5]); in prom_get_sun4v_api_version()
88 *minor = (uint64_t)(ci[6]); in prom_get_sun4v_api_version()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldo.c152 for (ci = L->ci; ci != NULL; ci = ci->previous) { in correctstack()
201 for (ci = L->ci; ci != NULL; ci = ci->previous) { in stackinuse()
203 if (lim < ci->top) lim = ci->top; in stackinuse()
224 CallInfo *ci = L->ci; in luaD_hook() local
369 CallInfo *ci = L->ci; in luaD_poscall() local
380 L->ci = ci = ci->previous; /* back to caller */ in luaD_poscall()
413 CallInfo *ci = L->ci; in finishCcall() local
457 for (ci = L->ci; ci != NULL; ci = ci->previous) { /* search for a pcall */ in findpcall()
473 L->ci = ci; in recover()
503 CallInfo *ci = L->ci; in resume_cb() local
[all …]
H A Dldebug.c38 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc()
43 return getfuncline(ci_func(ci)->p, currentpc(ci)); in currentline()
51 ci->func = restorestack(L, ci->extra); in swapextra()
95 for (ci = L->ci; level > 0 && ci != &L->base_ci; ci = ci->previous) in lua_getstack()
116 if (n >= ci->u.l.base - ci->func - nparams) in findvararg()
140 StkId limit = (ci == L->ci) ? L->top : ci->next->func; in findlocal()
237 ar->currentline = (ci && isLua(ci)) ? currentline(ci) : -1; in auxgetinfo()
258 if (ci && !(ci->callstatus & CIST_TAIL) && isLua(ci->previous)) in auxgetinfo()
507 for (p = ci->u.l.base; p < ci->top; p++) in isinstack()
528 CallInfo *ci = L->ci; in luaG_typeerror() local
[all …]
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_version.c39 cell_t *ci = (cell_t *)p; in promif_set_sun4v_api_version() local
46 ASSERT(ci[1] == 3); in promif_set_sun4v_api_version()
47 ASSERT(ci[2] == 2); in promif_set_sun4v_api_version()
50 major = (uint64_t)p1275_cell2int(ci[4]); in promif_set_sun4v_api_version()
55 ci[6] = p1275_int2cell(status); in promif_set_sun4v_api_version()
64 cell_t *ci = (cell_t *)p; in promif_get_sun4v_api_version() local
70 ASSERT(ci[1] == 1); in promif_get_sun4v_api_version()
71 ASSERT(ci[2] == 3); in promif_get_sun4v_api_version()
77 ci[4] = p1275_int2cell(status); in promif_get_sun4v_api_version()
78 ci[5] = p1275_int2cell(major); in promif_get_sun4v_api_version()
[all …]
H A Dpromif_node.c55 cell_t *ci = (cell_t *)p; in promif_finddevice() local
58 ASSERT(ci[1] == 1); in promif_finddevice()
60 path = p1275_cell2ptr(ci[3]); in promif_finddevice()
79 cell_t *ci = (cell_t *)p; in promif_finddevice() local
82 ASSERT(ci[1] == 1); in promif_finddevice()
105 cell_t *ci = (cell_t *)p; in promif_nextnode() local
108 ASSERT(ci[1] == 1); in promif_nextnode()
120 cell_t *ci = (cell_t *)p; in promif_childnode() local
123 ASSERT(ci[1] == 1); in promif_childnode()
135 cell_t *ci = (cell_t *)p; in promif_parentnode() local
[all …]
H A Dpromif_prop.c239 cell_t *ci = (cell_t *)p; in promif_setprop() local
245 ASSERT(ci[1] == 4); in promif_setprop()
251 len = p1275_cell2int(ci[6]); in promif_setprop()
260 ci[7] = p1275_int2cell(len); in promif_setprop()
270 cell_t *ci = (cell_t *)p; in promif_getprop() local
276 ASSERT(ci[1] == 4); in promif_getprop()
284 ci[7] = p1275_int2cell(len); in promif_getprop()
292 cell_t *ci = (cell_t *)p; in promif_getproplen() local
297 ASSERT(ci[1] == 2); in promif_getproplen()
312 cell_t *ci = (cell_t *)p; in promif_nextprop() local
[all …]

1234567