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.c46 ndr_typeinfo_t *ti; member
78 ndr_typeinfo_t *ti; in show_typeinfo_list() local
85 for (ti = typeinfo_list; ti; ti = ti->next) { in show_typeinfo_list()
86 switch (ti->type_op) { in show_typeinfo_list()
103 type_extern_suffix(ti, fname_type, NDLBUFSZ); in show_typeinfo_list()
104 if (ti->is_extern) { in show_typeinfo_list()
107 } else if (!ti->is_referenced) { in show_typeinfo_list()
114 ti->type_op); in show_typeinfo_list()
119 show_advice(&ti->advice, 0); in show_typeinfo_list()
120 (void) printf("%s %s {\n", p, ti->type_name->n_sym->name); in show_typeinfo_list()
[all …]
H A Dndr_gen.c58 ndr_typeinfo_t *ti; in generate() local
63 for (ti = typeinfo_list; ti; ti = ti->next) { in generate()
64 if (ti->is_extern || ti->advice.a_extern) { in generate()
65 type_extern_suffix(ti, fname_type, NDLBUFSZ); in generate()
72 switch (ti->type_op) { in generate()
74 if (ti->advice.a_operation) in generate()
75 generate_params(ti); in generate()
77 generate_struct(ti); in generate()
81 generate_union(ti); in generate()
92 if (!ti->is_referenced) { in generate()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_misc.c347 eibnx_thr_info_t *ti; in eibnx_start_port_monitor() local
353 ti = kmem_zalloc(sizeof (eibnx_thr_info_t), KM_SLEEP); in eibnx_start_port_monitor()
355 mutex_init(&ti->ti_mcg_lock, NULL, MUTEX_DRIVER, NULL); in eibnx_start_port_monitor()
356 mutex_init(&ti->ti_gw_lock, NULL, MUTEX_DRIVER, NULL); in eibnx_start_port_monitor()
357 mutex_init(&ti->ti_child_lock, NULL, MUTEX_DRIVER, NULL); in eibnx_start_port_monitor()
358 mutex_init(&ti->ti_event_lock, NULL, MUTEX_DRIVER, NULL); in eibnx_start_port_monitor()
359 cv_init(&ti->ti_event_cv, NULL, CV_DEFAULT, NULL); in eibnx_start_port_monitor()
361 ti->ti_next = NULL; in eibnx_start_port_monitor()
362 ti->ti_hca_guid = hca->hc_guid; in eibnx_start_port_monitor()
363 ti->ti_hca = hca->hc_hdl; in eibnx_start_port_monitor()
[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()
323 mutex_enter(&ti->ti_event_lock); in eibnx_subnet_notices_handler()
324 ti->ti_event |= ENX_EVENT_MCGS_AVAILABLE; in eibnx_subnet_notices_handler()
325 cv_broadcast(&ti->ti_event_cv); in eibnx_subnet_notices_handler()
326 mutex_exit(&ti->ti_event_lock); in eibnx_subnet_notices_handler()
889 eibnx_replace_portinfo(eibnx_thr_info_t *ti, ibt_hca_portinfo_t *new_pi, in eibnx_replace_portinfo() argument
899 if (hca->hc_hdl == ti->ti_hca) in eibnx_replace_portinfo()
905 ti->ti_hca); in eibnx_replace_portinfo()
911 if (port->po_pi == ti->ti_pi) { in eibnx_replace_portinfo()
[all …]
H A Denx_main.c547 eibnx_thr_info_t *ti; in eibnx_config_all_children() local
561 ti = eibnx_start_port_monitor(hca, port); in eibnx_config_all_children()
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()
578 while (eibnx_locate_unconfigured_node(&ti, &gwi) == ENX_E_SUCCESS) in eibnx_config_all_children()
579 (void) eibnx_configure_node(ti, gwi, NULL); 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()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c168 thread_info_free(thread_info_t *ti) in thread_info_free() argument
170 uu_list_node_fini(ti, &ti->ti_node, thread_pool); in thread_info_free()
171 if (ti->ti_ucred != NULL) in thread_info_free()
172 uu_free(ti->ti_ucred); in thread_info_free()
173 uu_free(ti); in thread_info_free()
179 thread_info_t *ti = arg; in thread_exiting() local
181 if (ti != NULL) in thread_exiting()
182 log_enter(&ti->ti_log); in thread_exiting()
185 if (ti != NULL) { in thread_exiting()
187 uu_list_remove(thread_list, ti); in thread_exiting()
[all …]
H A Dmaindoor.c55 thread_info_t *ti = thread_self(); in main_switcher() local
60 thread_newstate(ti, TI_MAIN_DOOR_CALL); in main_switcher()
61 ti->ti_main_door_request = (void *)argp; in main_switcher()
88 ti->ti_main_door_request = request; in main_switcher()
103 if (door_ucred(&ti->ti_ucred) != 0) { in main_switcher()
111 reply.rdr_status = create_connection(ti->ti_ucred, request, in main_switcher()
131 thread_newstate(ti, TI_DOOR_RETURN); in main_switcher()
132 ti->ti_main_door_request = NULL; in main_switcher()
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_process.c243 ndo_process(ndr_stream_t *nds, ndr_typeinfo_t *ti, char *datum) in ndo_process() argument
251 myref.ti = ti; in ndo_process()
257 ndo_operation(ndr_stream_t *nds, ndr_typeinfo_t *ti, int opnum, char *datum) in ndo_operation() argument
265 myref.ti = ti; in ndo_operation()
269 if (ti->type_flags != NDR_F_INTERFACE) { in ndo_operation()
274 return ((*ti->ndr_func)(&myref)); in ndo_operation()
280 ndr_typeinfo_t *ti = params_ref->ti; in ndr_params() local
282 if (ti->type_flags == NDR_F_OPERATION) in ndr_params()
283 return (*ti->ndr_func) (params_ref); in ndr_params()
292 ndr_typeinfo_t *ti; in ndr_topmost() local
[all …]
/illumos-gate/usr/src/cmd/cdrw/
H A Dcopycd.c46 struct track_info ti; member
49 int read_audio_track(cd_device *dev, struct track_info *ti, bstreamhandle h);
59 read_data_track(cd_device *dev, struct track_info *ti, bstreamhandle h) in read_data_track() argument
86 print_n_flush(gettext("Reading track %d..."), ti->ti_track_no); in read_data_track()
89 print_n_flush("Track size is %u...", ti->ti_track_size); in read_data_track()
92 cblk = ti->ti_start_address; in read_data_track()
94 while (blks_read < ti->ti_track_size) { in read_data_track()
96 read_chunk = ti->ti_track_size - blks_read - link_blks_count; in read_data_track()
110 (ti->ti_track_size - link_blks_count)) { in read_data_track()
119 (void) progress((ti->ti_track_size), blks_read); in read_data_track()
[all …]
H A Ddae.c122 read_audio_track(cd_device *dev, struct track_info *ti, bstreamhandle h) in read_audio_track() argument
149 start_blk = ti->ti_start_address; in read_audio_track()
150 end_blk = ti->ti_start_address + ti->ti_track_size - 1; in read_audio_track()
198 gettext("Extracting audio from track %d..."), ti->ti_track_no); in read_audio_track()
296 struct track_info *ti; in extract_audio() local
301 ti = (struct track_info *)my_zalloc(sizeof (*ti)); in extract_audio()
302 if (!build_track_info(target, extract_track_no, ti)) { in extract_audio()
309 if ((ti->ti_track_size == 0) || ((ti->ti_flags & TI_NWA_VALID) && in extract_audio()
310 (ti->ti_start_address == ti->ti_nwa))) { in extract_audio()
314 if (ti->ti_track_mode & 4) { in extract_audio()
[all …]
H A Dwrite_audio.c76 struct track_info *ti; in write_audio() local
104 ti = (struct track_info *)my_zalloc(sizeof (*ti)); in write_audio()
107 if ((build_track_info(target, -1, ti) == 0) || in write_audio()
108 ((ti->ti_flags & TI_NWA_VALID) == 0)) { in write_audio()
126 blks_avail -= ti->ti_nwa; in write_audio()
141 free(ti); in write_audio()
H A Ddumpinfo.c46 struct track_info *ti; in info() local
168 ti = (struct track_info *)my_zalloc(sizeof (struct track_info)); in info()
170 if (build_track_info(target, -1, ti) && (ti->ti_flags & TI_NWA_VALID)) { in info()
172 ti->ti_nwa); in info()
174 free(ti); in info()
H A Dwrite_image.c102 struct track_info *ti; in write_image() local
105 ti = (struct track_info *)my_zalloc(sizeof (*ti)); in write_image()
107 if (!build_track_info(target, -1, ti)) { in write_image()
139 cap = (cap + 1 - ti->ti_start_address) * 2048; in write_image()
203 free(ti); in write_image()
H A Dmisc_scsi.c164 uchar_t *ti; in build_track_info() local
170 ti = (uchar_t *)my_zalloc(TRACK_INFO_SIZE); in build_track_info()
197 if (read_track_info(dev->d_fd, trackno, ti)) { in build_track_info()
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()
205 t_info->ti_flags |= (uint32_t)(ti[5] & 0xf0); in build_track_info()
206 t_info->ti_flags |= (uint32_t)(ti[7]) << 8; 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()
[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.c293 int ti; in merge_files() local
300 for (ti = 0; ti < tmpfp_idx; ti++) in merge_files()
301 if ((words[ti] = malloc(MAXWORDLEN)) == NULL) { in merge_files()
302 while (--ti >= 0) in merge_files()
303 free(words[ti]); in merge_files()
310 for (ti = 0; ti < tmpfp_idx; ti++) { in merge_files()
311 (void) fseek(tmpfp[ti], 0, SEEK_SET); in merge_files()
312 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]); in merge_files()
313 words[ti][MAXWORDLEN-1] = '\0'; in merge_files()
327 for (ti = 1; ti < tmpfp_idx; ti++) 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()
176 out[ii] = in[ii] ^ arr[(ti + tj) & 0xff]; 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()
[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.c511 struct tstamps *ti; local
524 for (ti = a->addr_if_tstamps;
525 ti; ti = ti->ts_next) {
526 if (!ti->ts_rcvd)
528 ti->ts_timeval.tv_usec +=
529 (ti->ts_penalty * PENALTY_WEIGHT);
530 if (ti->ts_timeval.tv_usec >= 1000000) {
531 ti->ts_timeval.tv_sec +=
532 (ti->ts_timeval.tv_usec / 1000000);
533 ti->ts_timeval.tv_usec =
[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()
774 count = f.execute_on_log(&(entry_since), (char *) &ti, FALSE); in get_log_entries_since()
[all …]
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Ddisptmpl.h176 #define LDAP_SET_TMPLITEM_APPDATA( ti, datap ) \ argument
177 (ti)->ti_appdata = (void *)(datap)
179 #define LDAP_GET_TMPLITEM_APPDATA( ti, type ) \ argument
180 (type)((ti)->ti_appdata)
182 #define LDAP_IS_TMPLITEM_OPTION_SET( ti, option ) \ argument
183 (((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