Home
last modified time | relevance | path

Searched refs:ci (Results 26 – 50 of 157) sorted by relevance

1234567

/illumos-gate/usr/src/uts/sun4v/promif/
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 …]
H A Dpromif_cpu.c40 cell_t *ci = (cell_t *)p; in promif_set_mmfsa_traptable() local
46 ASSERT(ci[1] == 2); in promif_set_mmfsa_traptable()
51 rtba = va_to_pa(p1275_cell2ptr(ci[3])); in promif_set_mmfsa_traptable()
65 tba = p1275_cell2ptr(ci[3]); in promif_set_mmfsa_traptable()
66 mmfsa_ra = (uint64_t)p1275_cell2ptr(ci[4]); in promif_set_mmfsa_traptable()
87 cell_t *ci = (cell_t *)p; in promif_start_cpu() local
95 ASSERT(ci[1] == 3); in promif_start_cpu()
97 cpuid = p1275_cell2int(ci[3]); in promif_start_cpu()
98 pc = p1275_cell2ptr(ci[4]); in promif_start_cpu()
99 arg = p1275_cell2int(ci[5]); in promif_start_cpu()
[all …]
H A Dpromif_io.c104 cell_t *ci = (cell_t *)p; in promif_instance_to_package() local
217 cell_t *ci = (cell_t *)p; in promif_write() local
223 ASSERT(ci[1] == 3); in promif_write()
225 fd = p1275_cell2uint(ci[3]); in promif_write()
226 buf = p1275_cell2ptr(ci[4]); in promif_write()
243 cell_t *ci = (cell_t *)p; in promif_read() local
249 ASSERT(ci[1] == 3); in promif_read()
253 buf = p1275_cell2ptr(ci[4]); in promif_read()
312 cell_t *ci = (cell_t *)p; in promif_instance_to_path() local
324 buf = p1275_cell2ptr(ci[4]); in promif_instance_to_path()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlvm.c61 CallInfo *ci = L->ci; in traceexec() local
81 L->oldpc = ci->u.l.savedpc; in traceexec()
484 CallInfo *ci = L->ci; in luaV_finishOp() local
562 #define dojump(ci,i,e) \ argument
568 #define donextjump(ci) { i = *ci->u.l.savedpc; dojump(ci, i, 1); } argument
595 CallInfo *ci = L->ci; in luaV_execute() local
600 lua_assert(ci == L->ci); in luaV_execute()
603 base = ci->u.l.base; in luaV_execute()
781 ci = L->ci; in luaV_execute()
810 ci = L->ci = oci; /* remove new frame */ in luaV_execute()
[all …]
H A Dlstate.c113 L->ci->next = ci; in luaE_extendCI()
114 ci->previous = L->ci; in luaE_extendCI()
115 ci->next = NULL; in luaE_extendCI()
116 return ci; in luaE_extendCI()
121 CallInfo *ci = L->ci; in luaE_freeCI() local
123 ci->next = NULL; in luaE_freeCI()
125 next = ci->next; in luaE_freeCI()
141 ci = &L1->base_ci; in stack_init()
142 ci->next = ci->previous = NULL; in stack_init()
147 L1->ci = ci; in stack_init()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dwansung_to_utf.c40 short ci, v, cf; in _wansung_to_utf8() local
80 ci = (l + h) / 2; in _wansung_to_utf8()
83 if (wcode < cmp_srchtbl[ci][0]) in _wansung_to_utf8()
84 h = ci - 1; in _wansung_to_utf8()
85 else if (wcode < cmp_srchtbl[ci + 1][0]) in _wansung_to_utf8()
88 l = ci + 1; in _wansung_to_utf8()
93 if (wcode < cmp_srchtbl[ci][v]) in _wansung_to_utf8()
95 while (!cmp_srchtbl[ci][--v]) in _wansung_to_utf8()
104 disp = wcode - cmp_srchtbl[ci][v]; in _wansung_to_utf8()
105 if (((short)(cmp_srchtbl[ci][v] & BYTE_MASK) + disp) > 0xfe) in _wansung_to_utf8()
[all …]
H A Djohap_to_wansung.c33 unsigned short _johap_to_wansung(unsigned short ci, unsigned short v, in _johap_to_wansung() argument
40 if (ci <= 18 && v == CVC_FILL && cf == CVC_FILL) in _johap_to_wansung()
41 return(0xA4A0 + Y19_32[ci + 1]); in _johap_to_wansung()
42 else if (ci == CVC_FILL && v <= 20 && cf == CVC_FILL) in _johap_to_wansung()
44 else if (ci != CVC_FILL && ci <= 18 && v != CVC_FILL && v <= 20) in _johap_to_wansung()
49 cfbit = cmp_bitmap[ci][v]; in _johap_to_wansung()
59 code = cmp_srchtbl[ci][v] + disp; in _johap_to_wansung()
60 mask = cmp_srchtbl[ci][v] & 0xFF; in _johap_to_wansung()
H A Deuc_to_johap92.c138 short ci, v, cf; in _wansung_to_johap92() local
149 ci = (l + h) / 2; in _wansung_to_johap92()
152 if (code < cmp_srchtbl[ci][0]) in _wansung_to_johap92()
153 h = ci - 1; in _wansung_to_johap92()
154 else if (code < cmp_srchtbl[ci + 1][0]) in _wansung_to_johap92()
157 l = ci + 1; in _wansung_to_johap92()
162 if (code < cmp_srchtbl[ci][v]) in _wansung_to_johap92()
164 while (!cmp_srchtbl[ci][--v]) in _wansung_to_johap92()
173 disp = code - cmp_srchtbl[ci][v]; in _wansung_to_johap92()
174 if (((short)(cmp_srchtbl[ci][v] & BYTE_MASK) + disp) > 0xfe) in _wansung_to_johap92()
[all …]
H A Djohap92_to_UTF2.c91 unsigned long ci, v, cf; in _icv_iconv() local
105 if ((result = _johap92_to_utf8(&ci, &v, &cf, in _icv_iconv()
116 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
117 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
118 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
137 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
138 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
139 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
H A Deuc_to_UTF2.c91 unsigned long ci, v, cf; in _icv_iconv() local
113 if ((result = _wansung_to_utf8(&ci, &v, &cf, in _icv_iconv()
124 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
125 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
126 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
145 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
146 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
147 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
/illumos-gate/usr/src/cmd/connstat/
H A Dconnstat_tcp.c173 ci->ce_in_data_inorder_bytes + ci->ce_in_data_unorder_bytes; in tcp_ci2buf()
175 ci->ce_in_data_inorder_segs + ci->ce_in_data_unorder_segs; in tcp_ci2buf()
182 fields_buf.t_suna = ci->ce_snxt - ci->ce_suna; in tcp_ci2buf()
183 fields_buf.t_unsent = ci->ce_unsent; in tcp_ci2buf()
184 fields_buf.t_swnd = ci->ce_swnd; in tcp_ci2buf()
185 fields_buf.t_cwnd = ci->ce_cwnd; in tcp_ci2buf()
186 fields_buf.t_rwnd = ci->ce_rwnd; in tcp_ci2buf()
187 fields_buf.t_mss = ci->ce_mss; in tcp_ci2buf()
188 fields_buf.t_rto = ci->ce_rto; in tcp_ci2buf()
189 fields_buf.t_rtt = (ci->ce_out_data_segs == 0 ? 0 : ci->ce_rtt_sa); in tcp_ci2buf()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_heartbeat.c39 cell_t ci[5]; in prom_heartbeat() local
41 ci[0] = p1275_ptr2cell("SUNW,heartbeat"); /* Service name */ in prom_heartbeat()
42 ci[1] = (cell_t)1; /* #argument cells */ in prom_heartbeat()
43 ci[2] = (cell_t)1; /* #result cells */ in prom_heartbeat()
44 ci[3] = p1275_int2cell(msecs); /* Arg1: msecs */ in prom_heartbeat()
45 ci[4] = (cell_t)0; /* Prime the result */ in prom_heartbeat()
48 (void) p1275_cif_handler(&ci); in prom_heartbeat()
51 return (p1275_cell2int(ci[4])); /* Res1: abort-flag */ in prom_heartbeat()
H A Dprom_set_traptable.c40 cell_t ci[4]; in prom_set_traptable() local
42 ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */ in prom_set_traptable()
43 ci[1] = (cell_t) 1; /* #argument cells */ in prom_set_traptable()
44 ci[2] = (cell_t) 0; /* #result cells */ in prom_set_traptable()
45 ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */ in prom_set_traptable()
48 (void) p1275_cif_handler(&ci); in prom_set_traptable()
H A Dprom_power_off.c39 cell_t ci[3]; in prom_power_off() local
41 ci[0] = p1275_ptr2cell("SUNW,power-off"); /* Service name */ in prom_power_off()
42 ci[1] = (cell_t) 0; /* #argument cells */ in prom_power_off()
43 ci[2] = (cell_t) 0; /* #result cells */ in prom_power_off()
46 (void) p1275_cif_handler(&ci); in prom_power_off()
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_phandle.c35 cell_t ci[5]; in prom_getphandle() local
37 ci[0] = p1275_ptr2cell("instance-to-package"); /* Service name */ in prom_getphandle()
38 ci[1] = (cell_t)1; /* #argument cells */ in prom_getphandle()
39 ci[2] = (cell_t)1; /* #result cells */ in prom_getphandle()
40 ci[3] = p1275_ihandle2cell(i); /* Arg1: instance */ in prom_getphandle()
41 ci[4] = p1275_dnode2cell(OBP_BADNODE); /* Res1: Prime result */ in prom_getphandle()
44 (void) p1275_cif_handler(&ci); in prom_getphandle()
47 return (p1275_cell2phandle(ci[4])); /* Res1: package */ in prom_getphandle()
H A Dprom_2path.c49 cell_t ci[7]; in token2path() local
65 ci[0] = p1275_ptr2cell(service); /* Service name */ in token2path()
66 ci[1] = 3; /* #argument cells */ in token2path()
67 ci[2] = 1; /* #return cells */ in token2path()
68 ci[3] = p1275_uint2cell(token); /* Arg1: ihandle/phandle */ in token2path()
69 ci[4] = p1275_ptr2cell(buf); /* Arg2: Result buffer */ in token2path()
70 ci[5] = p1275_uint2cell(len); /* Arg3: Buffer len */ in token2path()
71 rv = p1275_cif_handler(&ci); in token2path()
84 return (p1275_cell2int(ci[6])); /* Res1: Actual length */ in token2path()
H A Dprom_gettime.c42 cell_t ci[4]; in prom_gettime() local
44 ci[0] = p1275_ptr2cell("milliseconds"); /* Service name */ in prom_gettime()
45 ci[1] = (cell_t)0; /* #argument cells */ in prom_gettime()
46 ci[2] = (cell_t)1; /* #return cells */ in prom_gettime()
49 (void) p1275_cif_handler(&ci); in prom_gettime()
52 return (p1275_cell2uint(ci[3])); /* Res0: time in ms. */ in prom_gettime()
H A Dprom_reboot.c38 cell_t ci[4]; in prom_reboot() local
40 ci[0] = p1275_ptr2cell("boot"); /* Service name */ in prom_reboot()
41 ci[1] = (cell_t)1; /* #argument cells */ in prom_reboot()
42 ci[2] = (cell_t)0; /* #result cells */ in prom_reboot()
43 ci[3] = p1275_ptr2cell(bootstr); /* Arg1: bootspec */ in prom_reboot()
44 (void) p1275_cif_handler(&ci); in prom_reboot()
H A Dprom_path.c65 cell_t ci[7]; in prom_pathname() local
98 ci[0] = p1275_ptr2cell("canon"); /* Service name */ in prom_pathname()
99 ci[1] = (cell_t)3; /* #argument cells */ in prom_pathname()
100 ci[2] = (cell_t)1; /* #result cells */ in prom_pathname()
101 ci[3] = p1275_ptr2cell(from); /* Arg1: token */ in prom_pathname()
102 ci[4] = p1275_ptr2cell(to); /* Arg2: buffer address */ in prom_pathname()
103 ci[5] = p1275_uint2cell(OBP_MAXPATHLEN); /* Arg3: buffer length */ in prom_pathname()
105 (void) p1275_cif_handler(&ci); in prom_pathname()
H A Dprom_exit.c38 cell_t ci[3]; in prom_exit_to_mon() local
40 ci[0] = p1275_ptr2cell("exit"); /* Service name */ in prom_exit_to_mon()
41 ci[1] = (cell_t)0; /* #argument cells */ in prom_exit_to_mon()
42 ci[2] = (cell_t)0; /* #return cells */ in prom_exit_to_mon()
45 (void) p1275_cif_handler(&ci); in prom_exit_to_mon()
/illumos-gate/usr/src/psm/promif/ieee1275/sun4v/
H A Dprom_set_mmfsa_traptable.c41 cell_t ci[5]; in prom_set_mmfsa_traptable() local
43 ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */ in prom_set_mmfsa_traptable()
44 ci[1] = (cell_t)2; /* #argument cells */ in prom_set_mmfsa_traptable()
45 ci[2] = (cell_t)0; /* #result cells */ in prom_set_mmfsa_traptable()
46 ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */ in prom_set_mmfsa_traptable()
47 ci[4] = p1275_ptr2cell(mmfsa_ra); /* Arg2: mmfsa RA */ in prom_set_mmfsa_traptable()
50 (void) p1275_cif_handler(&ci); in prom_set_mmfsa_traptable()
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_svc.c46 callb_cpr_t ci; in eib_events_handler() local
78 CALLB_CPR_EXIT(&ci); in eib_events_handler()
308 callb_cpr_t ci; in eib_refill_rwqes() local
336 CALLB_CPR_EXIT(&ci); in eib_refill_rwqes()
386 callb_cpr_t ci; in eib_vnic_creator() local
520 CALLB_CPR_EXIT(&ci); in eib_vnic_creator()
540 callb_cpr_t ci; in eib_monitor_tx_wqes() local
572 CALLB_CPR_EXIT(&ci); in eib_monitor_tx_wqes()
604 CALLB_CPR_EXIT(&ci); in eib_monitor_tx_wqes()
637 callb_cpr_t ci; in eib_monitor_lso_bufs() local
[all …]
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c262 cinfo_t *ci; in get_device_info() local
281 ci->ci.dev = -1; in get_device_info()
282 ci->ci.ctrl = i; in get_device_info()
284 if (ioctl(fd, SNDCTL_MIX_EXTINFO, &ci->ci) < 0) { in get_device_info()
289 if (ci->ci.type == MIXT_ENUM) { in get_device_info()
290 ci->enump = calloc(1, sizeof (*ci->enump)); in get_device_info()
292 ci->enump->ctrl = ci->ci.ctrl; in get_device_info()
522 cinfop->ci.minvalue, cinfop->ci.maxvalue); in print_control()
526 cinfop->ci.minvalue, cinfop->ci.maxvalue, in print_control()
527 cinfop->ci.minvalue, cinfop->ci.maxvalue); in print_control()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c95 fma_cap_cpu_info(cpu_tbl_t *ci) in fma_cap_cpu_info() argument
128 (void) snprintf(ci->vendor, X86_VENDOR_STRLEN, "%s", ven); in fma_cap_cpu_info()
129 ci->family = family; in fma_cap_cpu_info()
130 ci->model = model; in fma_cap_cpu_info()
145 cpu_tbl_t *cl, ci; in get_cap_conf() local
147 if (fma_cap_cpu_info(&ci) == 0) { in get_cap_conf()
149 "model=%d\n", ci.vendor, ci.family, ci.model); in get_cap_conf()
151 if (strncmp(ci.vendor, cl->vendor, in get_cap_conf()
153 ci.family == cl->family && in get_cap_conf()
154 ci.model == cl->model) { in get_cap_conf()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_checksum.c296 if (ci->ci_tmpl_init == NULL) in zio_checksum_template_init()
301 VERIFY(ci->ci_tmpl_free != NULL); in zio_checksum_template_init()
340 zio_checksum_info_t *ci; in zio_checksum_compute() local
346 ci = &zio_checksum_table[checksum]; in zio_checksum_compute()
347 ASSERT(ci->ci_func[0] != NULL); in zio_checksum_compute()
412 zio_checksum_info_t *ci; in zio_checksum_error_impl() local
420 ci = &zio_checksum_table[checksum]; in zio_checksum_error_impl()
422 if (ci->ci_func[0] == NULL) in zio_checksum_error_impl()
478 ci->ci_func[byteswap](abd, size, in zio_checksum_error_impl()
491 ci->ci_func[byteswap](abd, size, in zio_checksum_error_impl()
[all …]

1234567