Home
last modified time | relevance | path

Searched refs:ti (Results 1 – 25 of 82) sorted by relevance

1234

/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_anal.c85 for (ti = typeinfo_list; ti; ti = ti->next) { in show_typeinfo_list()
154 for (ti = tsti; ti; ti = ti->type_down) { in type_extern_suffix()
201 ti = tup->ti; in type_ident_decl1()
271 for (ti = tsti; ti; ti = ti->type_down, n_tt++) { in type_ident_decl()
274 tup->ti = ti; in type_ident_decl()
322 for (ti = typeinfo_list; ti; ti = ti->next) { in analyze_typeinfo_list()
429 mem = &ti->member[ti->n_member-1]; in analyze_typeinfo_struct()
776 ti->alignment = ti->size_fixed_part - 1; in seed_basic_types()
844 *pp = ti; in append_typeinfo()
854 for (ti = typeinfo_list; ti; ti = ti->next) { in bind_typeinfo()
[all …]
H A Dndr_gen.c57 ndr_typeinfo_t *ti; in generate() local
62 for (ti = typeinfo_list; ti; ti = ti->next) { in generate()
63 if (ti->is_extern || ti->advice.a_extern) { in generate()
80 generate_union(ti); in generate()
113 generate_params(ti); in generate_struct()
258 if (!ti) in generate_member_macro()
259 ti = mem->type; in generate_member_macro()
280 if (!ti) in generate_member_macro_with_arg()
281 ti = mem->type; in generate_member_macro_with_arg()
304 if (ti->type_op == STRUCT_KW && ti->advice.a_operation) { in generate_prototypes()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_misc.c343 eibnx_thr_info_t *ti; in eibnx_start_port_monitor() local
357 ti->ti_next = NULL; in eibnx_start_port_monitor()
394 return (ti); in eibnx_start_port_monitor()
407 cv_wait(&ti->ti_event_cv, &ti->ti_event_lock); in eibnx_stop_port_monitor()
433 eibnx_thr_info_t *ti; in eibnx_terminate_monitors() local
446 for (ti = ti_list; ti; ti = ti_next) { in eibnx_terminate_monitors()
546 eibnx_thr_info_t *ti; in eibnx_locate_node_name() local
555 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_locate_node_name()
580 *ti_p = ti; in eibnx_locate_node_name()
594 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_locate_unconfigured_node()
[all …]
H A Denx_hdlrs.c309 eibnx_thr_info_t *ti; in eibnx_subnet_notices_handler() local
322 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_subnet_notices_handler()
905 ti->ti_hca); in eibnx_replace_portinfo()
922 ti->ti_pi); in eibnx_replace_portinfo()
948 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_handle_port_events()
956 if (ti == NULL) in eibnx_handle_port_events()
1026 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_handle_hca_attach()
1072 for (ti = ss->nx_thr_info; ti; ti = ti_next) { in eibnx_handle_hca_detach()
1076 ti_prev = ti; in eibnx_handle_hca_detach()
1090 ti_stop_list = ti; in eibnx_handle_hca_detach()
[all …]
H A Denx_main.c547 eibnx_thr_info_t *ti; in eibnx_config_all_children() local
563 ti_tail->ti_next = ti; in eibnx_config_all_children()
565 ss->nx_thr_info = ti; in eibnx_config_all_children()
567 ti_tail = ti; in eibnx_config_all_children()
594 eibnx_thr_info_t *ti; in eibnx_unconfig_all_children() local
598 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_unconfig_all_children()
599 mutex_enter(&ti->ti_child_lock); in eibnx_unconfig_all_children()
603 mutex_exit(&ti->ti_child_lock); in eibnx_unconfig_all_children()
612 eibnx_thr_info_t *ti; in eibnx_config_child() local
628 eibnx_thr_info_t *ti; in eibnx_unconfig_child() local
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c170 uu_list_node_fini(ti, &ti->ti_node, thread_pool); in thread_info_free()
173 uu_free(ti); in thread_info_free()
181 if (ti != NULL) in thread_exiting()
198 if (ti != NULL && ti != &main_thread_info) in thread_exiting()
207 ti->ti_prev_state = ti->ti_state; in thread_newstate()
281 ti); in thread_start()
306 if ((ti = uu_zalloc(sizeof (*ti))) == NULL) in new_thread_needed()
309 uu_list_node_init(ti, &ti->ti_node, thread_pool); in new_thread_needed()
754 (void) memset(ti, '\0', sizeof (*ti)); in main()
755 uu_list_node_init(ti, &ti->ti_node, thread_pool); in main()
[all …]
H A Dmaindoor.c57 thread_info_t *ti = thread_self(); in main_switcher() local
62 thread_newstate(ti, TI_MAIN_DOOR_CALL); in main_switcher()
63 ti->ti_main_door_request = (void *)argp; in main_switcher()
90 ti->ti_main_door_request = request; in main_switcher()
105 if (door_ucred(&ti->ti_ucred) != 0) { in main_switcher()
113 reply.rdr_status = create_connection(ti->ti_ucred, request, in main_switcher()
133 thread_newstate(ti, TI_DOOR_RETURN); in main_switcher()
134 ti->ti_main_door_request = NULL; in main_switcher()
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_process.c251 myref.ti = ti; in ndo_process()
265 myref.ti = ti; in ndo_operation()
280 ndr_typeinfo_t *ti = params_ref->ti; in ndr_params() local
306 ti = top_ref->ti; in ndr_topmost()
724 myref.ti = outer_ref->ti; in ndr_outer_fixed()
814 myref.ti = outer_ref->ti; in ndr_outer_fixed_array()
939 myref.ti = outer_ref->ti; in ndr_outer_conformant_array()
1069 myref.ti = outer_ref->ti; in ndr_outer_conformant_construct()
1354 myref.ti = outer_ref->ti; in ndr_outer_string()
1614 ndr_typeinfo_t *ti = arg_ref->ti; in ndr_inner() local
[all …]
/illumos-gate/usr/src/cmd/cdrw/
H A Dcopycd.c48 struct track_info ti; member
94 cblk = ti->ti_start_address; in read_data_track()
96 while (blks_read < ti->ti_track_size) { in read_data_track()
248 struct track_info *ti; in copy_cd() local
250 ti = &tlist[i - 1].ti; in copy_cd()
251 if (!build_track_info(src, i, ti)) { in copy_cd()
256 total_nblks += ti->ti_track_size; in copy_cd()
257 if (ti->ti_track_mode & 4) in copy_cd()
264 (ti->ti_session_no != 1)) { in copy_cd()
276 if ((ti->ti_flags & TI_NWA_VALID) && in copy_cd()
[all …]
H A Ddae.c151 start_blk = ti->ti_start_address; in read_audio_track()
152 end_blk = ti->ti_start_address + ti->ti_track_size - 1; in read_audio_track()
200 gettext("Extracting audio from track %d..."), ti->ti_track_no); in read_audio_track()
298 struct track_info *ti; in extract_audio() local
303 ti = (struct track_info *)my_zalloc(sizeof (*ti)); in extract_audio()
304 if (!build_track_info(target, extract_track_no, ti)) { in extract_audio()
311 if ((ti->ti_track_size == 0) || ((ti->ti_flags & TI_NWA_VALID) && in extract_audio()
312 (ti->ti_start_address == ti->ti_nwa))) { in extract_audio()
316 if (ti->ti_track_mode & 4) { in extract_audio()
321 if (ti->ti_data_mode == 2) { in extract_audio()
[all …]
H A Dwrite_audio.c78 struct track_info *ti; in write_audio() local
106 ti = (struct track_info *)my_zalloc(sizeof (*ti)); in write_audio()
109 if ((build_track_info(target, -1, ti) == 0) || in write_audio()
110 ((ti->ti_flags & TI_NWA_VALID) == 0)) { in write_audio()
128 blks_avail -= ti->ti_nwa; in write_audio()
143 free(ti); in write_audio()
H A Ddumpinfo.c48 struct track_info *ti; in info() local
170 ti = (struct track_info *)my_zalloc(sizeof (struct track_info)); in info()
172 if (build_track_info(target, -1, ti) && (ti->ti_flags & TI_NWA_VALID)) { in info()
174 ti->ti_nwa); in info()
176 free(ti); in info()
H A Dwrite_image.c104 struct track_info *ti; in write_image() local
107 ti = (struct track_info *)my_zalloc(sizeof (*ti)); in write_image()
109 if (!build_track_info(target, -1, ti)) { in write_image()
141 cap = (cap + 1 - ti->ti_start_address) * 2048; in write_image()
205 free(ti); in write_image()
H A Dmisc_scsi.c164 uchar_t *ti; in build_track_info() local
202 t_info->ti_track_no = ti[2]; in build_track_info()
203 t_info->ti_session_no = ti[3]; in build_track_info()
204 t_info->ti_flags = (ti[6] >> 4) & 0xf; in build_track_info()
208 t_info->ti_track_mode = ti[5] & 0xf; in build_track_info()
209 if ((ti[6] & 0xf) == 0xf) in build_track_info()
212 t_info->ti_data_mode = ti[6] & 0xf; in build_track_info()
214 t_info->ti_nwa = read_scsi32(&ti[12]); in build_track_info()
218 t_info->ti_lra = read_scsi32(&ti[28]); in build_track_info()
219 free(ti); in build_track_info()
[all …]
H A Ddevice.c730 struct track_info *ti; in write_next_track() local
734 ti = (struct track_info *)my_zalloc(sizeof (*ti)); in write_next_track()
735 if ((build_track_info(target, -1, ti) == 0) || in write_next_track()
736 ((ti->ti_flags & TI_NWA_VALID) == 0)) { in write_next_track()
739 ti->ti_flags |= TI_NWA_VALID; in write_next_track()
746 if (ti->ti_nwa != ti->ti_start_address) { in write_next_track()
752 if (!(ti->ti_track_mode & 4)) { in write_next_track()
754 ti->ti_track_mode |= TRACK_MODE_DATA; in write_next_track()
762 print_n_flush(gettext("Writing track %d..."), (int)ti->ti_track_no); in write_next_track()
764 if (!write_track(target, ti, h, progress, size, te)) { in write_next_track()
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c295 int ti; in merge_files() local
302 for (ti = 0; ti < tmpfp_idx; ti++) in merge_files()
304 while (--ti >= 0) in merge_files()
305 free(words[ti]); in merge_files()
312 for (ti = 0; ti < tmpfp_idx; ti++) { in merge_files()
313 (void) fseek(tmpfp[ti], 0, SEEK_SET); in merge_files()
314 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]); in merge_files()
315 words[ti][MAXWORDLEN-1] = '\0'; in merge_files()
329 for (ti = 1; ti < tmpfp_idx; ti++) in merge_files()
330 if (strcmp(words[choice], words[ti]) > 0) in merge_files()
[all …]
/illumos-gate/usr/src/common/crypto/arcfour/
H A Darcfour_crypt.c112 uchar_t i, j, ti, tj; in arcfour_crypt() local
171 ti = arr[i]; in arcfour_crypt()
172 j = j + ti; in arcfour_crypt()
174 arr[j] = ti; in arcfour_crypt()
188 ti = arr[i]; in arcfour_crypt()
189 j = j + ti; in arcfour_crypt()
191 arr[j] = ti; in arcfour_crypt()
193 arr_ij = arr[(ti + tj) & 0xff]; in arcfour_crypt()
198 ti = arr[i]; in arcfour_crypt()
199 j = j + ti; in arcfour_crypt()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promio.c100 struct termios *ti = arg; in pio_ctl() local
107 bcopy(&pdp->pio_ti, ti, sizeof (struct termios)); in pio_ctl()
110 "0%o l: 0%o\n", ti->c_iflag, ti->c_oflag, ti->c_cflag, in pio_ctl()
111 ti->c_lflag); in pio_ctl()
116 struct termios *ti = arg; in pio_ctl() local
119 "0%o l: 0%o\n", ti->c_iflag, ti->c_oflag, ti->c_cflag, in pio_ctl()
120 ti->c_lflag); in pio_ctl()
122 bcopy(ti, &pdp->pio_ti, sizeof (struct termios)); in pio_ctl()
/illumos-gate/usr/src/uts/i86xpv/cpu/generic_cpu/
H A Dgcpu_mca_xpv.c269 xpv_mca_panic_data_t *ti = xpv_mca_panic_data; in gcpu_xpv_panic_callback() local
271 if (ti == NULL || in gcpu_xpv_panic_callback()
272 ti->mpd_magic != MCA_PANICDATA_MAGIC || in gcpu_xpv_panic_callback()
273 ti->mpd_version != MCA_PANICDATA_VERS) in gcpu_xpv_panic_callback()
276 mctelem_traverse(ti->mpd_urgent_processing, MCTELEM_FORWARD, in gcpu_xpv_panic_callback()
278 mctelem_traverse(ti->mpd_urgent_dangling, MCTELEM_REVERSE, in gcpu_xpv_panic_callback()
280 mctelem_traverse(ti->mpd_urgent_committed, MCTELEM_REVERSE, in gcpu_xpv_panic_callback()
283 mctelem_traverse(ti->mpd_nonurgent_processing, MCTELEM_FORWARD, in gcpu_xpv_panic_callback()
285 mctelem_traverse(ti->mpd_nonurgent_dangling, MCTELEM_REVERSE, in gcpu_xpv_panic_callback()
287 mctelem_traverse(ti->mpd_nonurgent_committed, MCTELEM_REVERSE, in gcpu_xpv_panic_callback()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c513 struct tstamps *ti; local
526 for (ti = a->addr_if_tstamps;
527 ti; ti = ti->ts_next) {
528 if (!ti->ts_rcvd)
530 ti->ts_timeval.tv_usec +=
531 (ti->ts_penalty * PENALTY_WEIGHT);
533 ti->ts_timeval.tv_sec +=
534 (ti->ts_timeval.tv_usec / 1000000);
535 ti->ts_timeval.tv_usec =
536 (ti->ts_timeval.tv_usec % 1000000);
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Droff_term.c247 p->ti = len; in roff_term_pre_ti()
249 p->ti = maxoff - p->tcol->offset; in roff_term_pre_ti()
251 p->ti = 0; in roff_term_pre_ti()
255 p->ti = -len; in roff_term_pre_ti()
257 p->ti = -p->tcol->offset; in roff_term_pre_ti()
262 p->ti = len - p->tcol->offset; in roff_term_pre_ti()
265 p->tcol->offset += p->ti; in roff_term_pre_ti()
H A Dterm_ascii.c235 if ((int)p->tcol->offset > p->ti) in ascii_endline()
236 p->tcol->offset -= p->ti; in ascii_endline()
239 p->ti = 0; in ascii_endline()
410 if ((int)p->tcol->offset > p->ti) in locale_endline()
411 p->tcol->offset -= p->ti; in locale_endline()
414 p->ti = 0; in locale_endline()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb.cc746 traverse_info *ti = (traverse_info*) tichar; in entry_since() local
748 if (ti->version->earlier_than(j->get_version())) { in entry_since()
751 if (ti->head == NULL) in entry_since()
752 ti->head = j; in entry_since()
754 ti->tail->setnextptr(j); // make last entry point to j in entry_since()
756 ti->tail = j; // make j new last entry in entry_since()
768 struct traverse_info ti; in get_log_entries_since() local
771 ti.version = v; in get_log_entries_since()
772 ti.head = ti.tail = NULL; in get_log_entries_since()
796 currentry = ti.head; in get_log_entries_since()
[all …]
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Ddisptmpl.h178 #define LDAP_SET_TMPLITEM_APPDATA( ti, datap ) \ argument
179 (ti)->ti_appdata = (void *)(datap)
181 #define LDAP_GET_TMPLITEM_APPDATA( ti, type ) \ argument
182 (type)((ti)->ti_appdata)
184 #define LDAP_IS_TMPLITEM_OPTION_SET( ti, option ) \ argument
185 (((ti)->ti_options & option ) != 0 )
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtaskq.c89 tq_info_t *ti = arg; in tq_count() local
91 ti->tqi_size++; in tq_count()
97 tq_fill(uintptr_t addr, const void *ignored, tq_info_t *ti) in tq_fill() argument
99 int idx = ti->tqi_count; in tq_fill()
101 tqarray_ent_t *tqe = &ti->tqi_array[idx]; in tq_fill()
103 if (idx == ti->tqi_size) { in tq_fill()
112 ti->tqi_count++; in tq_fill()

1234