Home
last modified time | relevance | path

Searched refs:ci (Results 51 – 75 of 157) sorted by relevance

1234567

/illumos-gate/usr/src/psm/promif/ieee1275/sun4v/
H A Dprom_sun4v_soft_state_supported.c38 cell_t ci[3]; in prom_sun4v_soft_state_supported() local
43 ci[0] = p1275_ptr2cell("SUNW,soft-state-supported"); /* Service */ in prom_sun4v_soft_state_supported()
44 ci[1] = (cell_t)0; /* No Arguments */ in prom_sun4v_soft_state_supported()
45 ci[2] = (cell_t)0; /* No return values */ in prom_sun4v_soft_state_supported()
48 (void) p1275_cif_handler(&ci); in prom_sun4v_soft_state_supported()
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_enter.c35 cell_t ci[3]; in prom_enter_mon() local
38 ci[0] = p1275_ptr2cell("enter"); /* Service name */ in prom_enter_mon()
39 ci[1] = (cell_t)0; /* #argument cells */ in prom_enter_mon()
40 ci[2] = (cell_t)0; /* #return cells */ in prom_enter_mon()
44 (void) p1275_cif_handler(&ci); in prom_enter_mon()
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dutf_johap.h34 unsigned short ci, v, cf; member
39 cd->ci = cd->v = cd->cf = CVC_FILL; cd->prev_state = E;
53 if ((cd->ci <= 18 || cd->ci == CVC_FILL) &&\
57 code = (cd->ci == CVC_FILL) ? 9 :\
58 cd->ci + 0xA;\
H A Dutf_johap92.h45 unsigned short ci, v, cf; member
50 cd->ci = cd->v = cd->cf = CVC_FILL; cd->prev_state = E;
64 if ((cd->ci <= 18 || cd->ci == CVC_FILL) &&\
68 code = (cd->ci == CVC_FILL) ? 1 : cd->ci + 2;\
H A Diso2022-7_to_UTF2.c96 unsigned long ci, v, cf; in _icv_iconv() local
144 if ((result = _wansung_to_utf8(&ci, &v, &cf, in _icv_iconv()
156 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
157 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
158 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
177 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
178 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
179 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
H A Djohap_to_utf.c37 short ci, v, cf; in _johap_to_utf8() local
43 ci = CHOSUNG(wcode) - 0x0A; in _johap_to_utf8()
46 if (ci > 18 || v > 20 || cf > 28) in _johap_to_utf8()
49 *chosung = (ci < 0) ? 0xE1859F : 0xE18480 + ci; in _johap_to_utf8()
H A Dutf_nbyte.h34 unsigned short ci, v, cf; member
40 cd->ci = cd->v = cd->cf = CVC_FILL; cd->prev_state = E;
50 if ((cd->ci <= 18 || cd->ci == CVC_FILL) &&\
54 c[i] = (char)Y19_32[cd->ci != CVC_FILL ?\
55 cd->ci + 1 : 0] + '@';\
H A Deuc_to_johap.c162 short ci, v, cf; in _wansung_to_johap() local
173 ci = (l + h) / 2; in _wansung_to_johap()
176 if (code < cmp_srchtbl[ci][0]) in _wansung_to_johap()
177 h = ci - 1; in _wansung_to_johap()
178 else if (code < cmp_srchtbl[ci + 1][0]) in _wansung_to_johap()
181 l = ci + 1; in _wansung_to_johap()
186 if (code < cmp_srchtbl[ci][v]) in _wansung_to_johap()
188 while (!cmp_srchtbl[ci][--v]) in _wansung_to_johap()
197 disp = code - cmp_srchtbl[ci][v]; in _wansung_to_johap()
198 if (((short)(cmp_srchtbl[ci][v] & BYTE_MASK) + disp) > 0xfe) in _wansung_to_johap()
[all …]
H A Djohap92_to_euc.c134 short ci, v, cf; in _johap92_to_wansung() local
146 ci = CHOSUNG(code) - 0x02; in _johap92_to_wansung()
153 if (ci < 0) in _johap92_to_wansung()
160 for (cfbit = cmp_bitmap[ci][v], disp = 0, i = 0; i < cf; i++) in _johap92_to_wansung()
170 code = cmp_srchtbl[ci][v] + disp; in _johap92_to_wansung()
171 mask = cmp_srchtbl[ci][v] & 0xff; in _johap92_to_wansung()
H A Djohap_to_UTF2.c91 unsigned long ci, v, cf; in _icv_iconv() local
105 if ((result = _johap_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()
H A Deuc_to_nbyte.c154 unsigned char ci, v, cf; in _icv_iconv() local
172 ci + 1 : 0] + '@'; in _icv_iconv()
350 short ci, v, cf; in _wansung_to_cvc() local
363 ci = (l + h) / 2; in _wansung_to_cvc()
366 if (code < cmp_srchtbl[ci][0]) in _wansung_to_cvc()
367 h = ci - 1; in _wansung_to_cvc()
371 l = ci + 1; in _wansung_to_cvc()
376 if (code < cmp_srchtbl[ci][v]) in _wansung_to_cvc()
378 while (!cmp_srchtbl[ci][--v]) in _wansung_to_cvc()
387 disp = code - cmp_srchtbl[ci][v]; in _wansung_to_cvc()
[all …]
H A Djohap92_to_utf.c40 short ci, v, cf; in _johap92_to_utf8() local
80 ci = CHOSUNG(wcode) - 2; in _johap92_to_utf8()
85 *chosung = (ci < 0) ? 0xE1859F : 0xE18480 + ci; in _johap92_to_utf8()
H A Dnbyte_utf.h87 if ((result = _johap_to_utf8(&ci, &v, &cf,\
100 *ob++ = (char)((ci >> 16) & 0xFF);\
101 *ob++ = (char)((ci >> 8) & 0xFF);\
102 *ob++ = (char)(ci & 0xFF);\
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1337.c949 cell_t ci[12]; in todds1337_prom_getdate() local
952 ci[1] = 2; /* # of arguments */ in todds1337_prom_getdate()
953 ci[2] = 7; /* # of result cells */ in todds1337_prom_getdate()
954 ci[3] = p1275_ptr2cell("get-time"); in todds1337_prom_getdate()
958 (void) p1275_cif_handler(&ci); in todds1337_prom_getdate()
961 year = p1275_cell2int(ci[6]); in todds1337_prom_getdate()
986 cell_t ci[12]; in todds1337_prom_setdate() local
999 ci[1] = 8; /* # of arguments */ in todds1337_prom_setdate()
1000 ci[2] = 0; /* # of result cells */ in todds1337_prom_setdate()
1003 ci[5] = p1275_int2cell(year); in todds1337_prom_setdate()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_compress.c106 zio_compress_info_t *ci = &zio_compress_table[c]; in zio_compress_data() local
109 ASSERT((uint_t)c == ZIO_COMPRESS_EMPTY || ci->ci_compress != NULL); in zio_compress_data()
126 c_len = ci->ci_compress(tmp, dst, s_len, d_len, ci->ci_level); in zio_compress_data()
140 zio_compress_info_t *ci = &zio_compress_table[c]; in zio_decompress_data_buf() local
141 if ((uint_t)c >= ZIO_COMPRESS_FUNCTIONS || ci->ci_decompress == NULL) in zio_decompress_data_buf()
144 return (ci->ci_decompress(src, dst, s_len, d_len, ci->ci_level)); in zio_decompress_data_buf()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_atp.c95 atp_ci(uint8_t ci) in atp_ci() argument
102 switch (atp_fun(ci)) { in atp_ci()
105 to = atp_trel[atp_tmo(ci)]; in atp_ci()
115 p += snprintf(p, tail-p, ci & ATP_FLG_XO ? " XO" : " ALO"); in atp_ci()
117 if (ci & ATP_FLG_EOM) in atp_ci()
120 if (ci & ATP_FLG_STS) in atp_ci()
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_test.c34 cell_t *ci = (cell_t *)p; in promif_test() local
39 ASSERT(ci[1] == 1); in promif_test()
41 opname = p1275_cell2ptr(ci[3]); in promif_test()
48 ci[4] = p1275_int2cell(rv); in promif_test()
H A Dpromif_asr.c42 cell_t *ci = (cell_t *)p; in promif_asr_list_keys_len() local
44 ci[3] = p1275_int2cell(-1); in promif_asr_list_keys_len()
60 cell_t *ci = (cell_t *)p; in promif_asr_export_len() local
62 ci[3] = p1275_int2cell(-1); in promif_asr_export_len()
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_match.c46 boolean_t ci; member
68 smb_match(const char *p, const char *s, boolean_t ci) in smb_match() argument
97 if (ci) in smb_match()
108 priv.ci = ci; in smb_match()
252 if (priv->ci) { in smb_match_private()
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlapi.h14 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
20 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
H A Dlapi.c55 CallInfo *ci = L->ci; in index2addr() local
57 TValue *o = ci->func + idx; in index2addr()
58 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); in index2addr()
93 CallInfo *ci = L->ci; in lua_checkstack() local
104 if (res && ci->top < L->top + size) in lua_checkstack()
165 StkId func = L->ci->func; in lua_settop()
881 if (ctx) *ctx = L->ci->u.c.ctx; in lua_getctx()
882 return L->ci->u.c.status; in lua_getctx()
951 CallInfo *ci = L->ci; in lua_pcallk() local
960 ci->callstatus |= CIST_YPCALL; in lua_pcallk()
[all …]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c243 cell_t ci[8]; in prom_remap() local
250 ci[0] = p1275_ptr2cell("call-method"); /* Service name */ in prom_remap()
251 ci[1] = (cell_t)5; /* #argument cells */ in prom_remap()
252 ci[2] = (cell_t)0; /* #result cells */ in prom_remap()
253 ci[3] = p1275_ptr2cell("remap"); /* Arg1: Method name */ in prom_remap()
254 ci[4] = p1275_ihandle2cell(immu); /* Arg2: memory ihandle */ in prom_remap()
255 ci[5] = p1275_size2cell(size); /* remap arg0 */ in prom_remap()
256 ci[6] = p1275_ptr2cell(virt); /* remap arg1 */ in prom_remap()
257 ci[7] = p1275_ull2cell_low(phys); /* remap arg2 */ in prom_remap()
260 rv = p1275_cif_handler(ci); in prom_remap()
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c2125 ci->pwbuf = malloc(ci->pwbufsz); in get_uid()
2133 getpwnam_r(str, &ci->pwd, ci->pwbuf, ci->pwbufsz); in get_uid()
2325 ci->ngroups = 0; in get_groups()
2359 ci->ngroups = i; in get_groups()
2418 if ((r = get_uid(value, ci, &ci->euid)) != 0) { in get_profile()
2429 if ((r = get_uid(value, ci, &ci->uid)) != 0) { in get_profile()
2430 ci->euid = ci->uid = (uid_t)-1; in get_profile()
2437 ci->euid = ci->uid; in get_profile()
2441 ci->egid = ci->gid = get_gid(value); in get_profile()
2531 if ((r = get_uid(vbuf, ci, &ci->uid)) != 0) { in get_ids()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c407 tlx_conn_ind_t *ci; in queue_conind() local
409 if ((ci = malloc(sizeof (tlx_conn_ind_t))) == NULL) { in queue_conind()
414 ci->call = call; in queue_conind()
415 uu_list_node_init(ci, &ci->link, conn_ind_pool); in queue_conind()
416 (void) uu_list_insert_after(queue, NULL, ci); in queue_conind()
429 tlx_conn_ind_t *ci = uu_list_first(queue); in dequeue_conind() local
431 if (ci == NULL) in dequeue_conind()
434 ret = ci->call; in dequeue_conind()
435 uu_list_remove(queue, ci); in dequeue_conind()
436 free(ci); in dequeue_conind()
/illumos-gate/usr/src/cmd/svc/configd/
H A Dfile_object.c936 child_info_t ci; in scope_fill_children() local
960 child_info_t ci; in service_fill_children() local
981 &ci); in service_fill_children()
1015 child_info_t ci; in instance_fill_children() local
1022 &ci); in instance_fill_children()
1048 &ci); in instance_fill_children()
1125 child_info_t ci; in snaplevel_fill_children() local
1130 &ci); in snaplevel_fill_children()
1163 &ci); in propertygrp_fill_children()
1175 ci.ci_tx = tx; in propertygrp_fill_children()
[all …]

1234567