/titanic_51/usr/src/tools/cscope-fast/ |
H A D | help.c | 47 char **ep, *s, **tp, *text[MAXHELP]; in help() local 50 tp = text; in help() 53 *tp++ = "Point with the mouse and click button 1 to " in help() 55 *tp++ = "type the pattern to search for, and then " in help() 57 *tp++ = "and last 2 input fields, the pattern can be " in help() 59 *tp++ = "If the search is successful, you can edit " in help() 61 *tp++ = "by pointing with the mouse and clicking " in help() 63 *tp++ = "\nYou can either use the button 2 menu or " in help() 66 *tp++ = "Press the TAB key repeatedly to move to the " in help() 68 *tp in help() [all...] |
/titanic_51/usr/src/uts/common/io/ |
H A D | ldterm.c | 442 ldtermstd_state_t *tp); 669 ldtermstd_state_t *tp; in ldtermopen() local 680 tp = (ldtermstd_state_t *)kmem_zalloc(sizeof (ldtermstd_state_t), in ldtermopen() 690 tp->t_modes = *termiosp; in ldtermopen() 691 tp->t_amodes = *termiosp; in ldtermopen() 699 bzero(&tp->t_dmodes, sizeof (struct termios)); in ldtermopen() 701 tp->t_state = 0; in ldtermopen() 703 tp->t_line = 0; in ldtermopen() 704 tp->t_col = 0; in ldtermopen() 706 tp in ldtermopen() 817 ldtermstd_state_t *tp; global() member 833 ldtermstd_state_t *tp = (ldtermstd_state_t *)q->q_ptr; ldtermclose() local 936 ldtermstd_state_t *tp; ldtermrput() local 1470 ldtermstd_state_t *tp; ldtermrsrv() local 1530 ldtermstd_state_t *tp; ldtermrmsg() local 1732 ldterm_docanon(uchar_t c,mblk_t * bpt,size_t ebsize,queue_t * q,ldtermstd_state_t * tp,int * dofreep) ldterm_docanon() argument 2060 ldterm_unget(ldtermstd_state_t * tp) ldterm_unget() argument 2074 ldterm_trim(ldtermstd_state_t * tp) ldterm_trim() argument 2109 ldterm_rubout(uchar_t c,queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_rubout() argument 2198 ldterm_tabcols(ldtermstd_state_t * tp) ldterm_tabcols() argument 2385 ldterm_erase(queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_erase() argument 2402 ldterm_werase(queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_werase() argument 2448 ldterm_csi_werase(queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_csi_werase() argument 2544 ldterm_kill(queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_kill() argument 2622 ldterm_reprint(queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_reprint() argument 2650 ldterm_dononcanon(mblk_t * bp,mblk_t * bpt,size_t ebsize,queue_t * q,ldtermstd_state_t * tp) ldterm_dononcanon() argument 2851 ldterm_echo(uchar_t c,queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_echo() argument 2895 ldterm_outchar(uchar_t c,queue_t * q,size_t bsize,ldtermstd_state_t * tp) ldterm_outchar() argument 2951 ldterm_outstring(uchar_t * cp,int len,queue_t * q,size_t bsize,ldtermstd_state_t * tp) ldterm_outstring() argument 2961 newmsg(ldtermstd_state_t * tp) newmsg() argument 2982 ldterm_msg_upstream(queue_t * q,ldtermstd_state_t * tp) ldterm_msg_upstream() argument 3020 ldtermstd_state_t *tp; ldterm_wenable() local 3041 ldtermstd_state_t *tp; ldtermwput() local 3295 ldtermstd_state_t *tp; ldtermwmsg() local 3387 ldterm_output_msg(queue_t * q,mblk_t * imp,mblk_t ** omp,ldtermstd_state_t * tp,size_t bsize,int echoing) ldterm_output_msg() argument 3989 ldterm_flush_output(uchar_t c,queue_t * q,ldtermstd_state_t * tp) ldterm_flush_output() argument 4018 ldtermstd_state_t *tp = (ldtermstd_state_t *)q->q_ptr; ldterm_dosig() local 4087 ldtermstd_state_t *tp; ldterm_do_ioctl() local 4780 chgstropts(struct termios * oldmodep,ldtermstd_state_t * tp,queue_t * q) chgstropts() argument 4846 ldtermstd_state_t *tp; ldterm_ioctl_reply() local 4907 vmin_satisfied(queue_t * q,ldtermstd_state_t * tp,int sendup) vmin_satisfied() argument 4937 ldtermstd_state_t *tp; vmin_settimer() local 4977 ldtermstd_state_t *tp; vmin_timed_out() local 5002 ldterm_adjust_modes(ldtermstd_state_t * tp) ldterm_adjust_modes() argument 5030 ldterm_csi_erase(queue_t * q,size_t ebsize,ldtermstd_state_t * tp) ldterm_csi_erase() argument 5107 ldterm_eucwarn(ldtermstd_state_t * tp) ldterm_eucwarn() argument 5201 ldtermstd_state_t *tp = (ldtermstd_state_t *)p; __ldterm_dispwidth_euc() local 5243 ldtermstd_state_t *tp = (ldtermstd_state_t *)p; __ldterm_memwidth_euc() local 5262 ldtermstd_state_t *tp = (ldtermstd_state_t *)p; __ldterm_dispwidth_pccs() local 5300 ldtermstd_state_t *tp = (ldtermstd_state_t *)p; __ldterm_memwidth_pccs() local 5322 ldtermstd_state_t *tp = (ldtermstd_state_t *)p; __ldterm_dispwidth_utf8() local 5365 ldtermstd_state_t *tp = (ldtermstd_state_t *)p; __ldterm_memwidth_utf8() local [all...] |
H A D | timod.c | 358 struct tim_tim *tp; in timodopen() local 371 tp = kmem_zalloc(sizeof (struct tim_tim), KM_SLEEP); in timodopen() 373 tp->tim_cpid = -1; in timodopen() 374 tp->tim_saved_prim = -1; in timodopen() 376 mutex_init(&tp->tim_mutex, NULL, MUTEX_DEFAULT, NULL); in timodopen() 378 q->q_ptr = (caddr_t)tp; in timodopen() 379 WR(q)->q_ptr = (caddr_t)tp; in timodopen() 381 tilogp("timodopen: Allocated for tp %lx\n", (uintptr_t)tp); in timodopen() 387 tp in timodopen() 447 struct tim_tim *tp = (struct tim_tim *)q->q_ptr; tim_timer() local 466 struct tim_tim *tp = (struct tim_tim *)q->q_ptr; tim_buffer() local 492 struct tim_tim *tp; timodclose() local 643 struct tim_tim *tp; timodrsrv() local 668 timodprocessinfo(queue_t * q,struct tim_tim * tp,struct T_info_ack * tia) timodprocessinfo() argument 685 struct tim_tim *tp; timodrproc() local 1453 struct tim_tim *tp; timodwput() local 1583 struct tim_tim *tp; timodwproc() local 2223 struct tim_tim *tp = q->q_ptr; ti_doname() local 2413 struct tim_tim *tp; tim_filladdr() local 2487 tim_addlink(struct tim_tim * tp) tim_addlink() argument 2507 tim_dellink(struct tim_tim * tp) tim_dellink() argument 2525 struct tim_tim *tp; tim_findlink() local 2540 struct tim_tim *tp; tim_recover() local 2586 struct tim_tim *tp; tim_ioctl_retry() local 2651 struct tim_tim *tp = (struct tim_tim *)q->q_ptr; tim_tcap_timer() local 2667 tim_tcap_genreply(queue_t * q,struct tim_tim * tp) tim_tcap_genreply() argument 2783 tim_send_ioc_error_ack(queue_t * q,struct tim_tim * tp,mblk_t * mp) tim_send_ioc_error_ack() argument 2858 tim_send_reply(queue_t * q,mblk_t * mp,struct tim_tim * tp,t_scalar_t prim) tim_send_reply() argument 2882 tim_answer_ti_sync(queue_t * q,mblk_t * mp,struct tim_tim * tp,mblk_t * ackmp,uint32_t tsr_flags) tim_answer_ti_sync() argument 2930 tim_send_ioctl_tpi_msg(queue_t * q,mblk_t * mp,struct tim_tim * tp,struct iocblk * iocb) tim_send_ioctl_tpi_msg() argument 2973 tim_clear_peer(struct tim_tim * tp) tim_clear_peer() argument [all...] |
/titanic_51/usr/src/grub/grub-0.97/netboot/ |
H A D | tg3.c | 43 /* (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705 ? \ 143 static void tg3_disable_ints(struct tg3 *tp) in tg3_disable_ints() argument 146 (tp->misc_host_ctrl | MISC_HOST_CTRL_MASK_PCI_INT)); in tg3_disable_ints() 150 static void tg3_switch_clocks(struct tg3 *tp) in tg3_switch_clocks() argument 158 tp->pci_clock_ctrl = clock_ctrl; in tg3_switch_clocks() 160 if ((GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5705) && in tg3_switch_clocks() 172 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val) in tg3_readphy() argument 177 tw32_carefully(MAC_MI_MODE, tp->mi_mode & ~MAC_MI_MODE_AUTO_POLL); in tg3_readphy() 207 tw32_carefully(MAC_MI_MODE, tp->mi_mode); in tg3_readphy() 212 static int tg3_writephy(struct tg3 *tp, in argument 248 tg3_writedsp(struct tg3 * tp,uint16_t addr,uint16_t val) tg3_writedsp() argument 257 tg3_phy_set_wirespeed(struct tg3 * tp) tg3_phy_set_wirespeed() argument 269 tg3_bmcr_reset(struct tg3 * tp) tg3_bmcr_reset() argument 300 tg3_wait_macro_done(struct tg3 * tp) tg3_wait_macro_done() argument 317 tg3_phy_write_and_check_testpat(struct tg3 * tp,int * resetp) tg3_phy_write_and_check_testpat() argument 383 tg3_phy_reset_chanpat(struct tg3 * tp) tg3_phy_reset_chanpat() argument 403 tg3_phy_reset_5703_4_5(struct tg3 * tp) tg3_phy_reset_5703_4_5() argument 469 tg3_phy_reset(struct tg3 * tp) tg3_phy_reset() argument 495 tg3_set_power_state_0(struct tg3 * tp) tg3_set_power_state_0() argument 519 tg3_link_report(struct tg3 * tp) tg3_link_report() argument 537 tg3_link_report(tp) global() argument 540 tg3_setup_flow_control(struct tg3 * tp,uint32_t local_adv,uint32_t remote_adv) tg3_setup_flow_control() argument 599 tg3_phy_copper_begin(struct tg3 * tp) tg3_phy_copper_begin() argument 654 tg3_init_5401phy_dsp(struct tg3 * tp) tg3_init_5401phy_dsp() argument 672 tg3_setup_copper_phy(struct tg3 * tp) tg3_setup_copper_phy() argument 952 tg3_fiber_aneg_smachine(struct tg3 * tp,struct tg3_fiber_aneginfo * ap) tg3_fiber_aneg_smachine() argument 1196 tg3_setup_fiber_phy(struct tg3 * tp) tg3_setup_fiber_phy() argument 1381 tg3_setup_phy(struct tg3 * tp) tg3_setup_phy() argument 1412 tg3_stop_block(struct tg3 * tp,unsigned long ofs,uint32_t enable_bit) tg3_stop_block() argument 1453 tg3_abort_hw(struct tg3 * tp) tg3_abort_hw() argument 1513 tg3_chip_reset(struct tg3 * tp) tg3_chip_reset() argument 1582 tg3_stop_fw(struct tg3 * tp) tg3_stop_fw() argument 1602 tg3_restart_fw(struct tg3 * tp,uint32_t state) tg3_restart_fw() argument 1629 tg3_halt(struct tg3 * tp) tg3_halt() argument 1637 __tg3_set_mac_addr(struct tg3 * tp) __tg3_set_mac_addr() argument 1671 tg3_set_bdinfo(struct tg3 * tp,uint32_t bdinfo_addr,dma_addr_t mapping,uint32_t maxlen_flags,uint32_t nic_addr) tg3_set_bdinfo() argument 1690 tg3_init_rings(struct tg3 * tp) tg3_init_rings() argument 1742 tg3_setup_hw(struct tg3 * tp) tg3_setup_hw() argument 2214 tg3_nvram_init(struct tg3 * tp) tg3_nvram_init() argument 2282 tg3_nvram_read(struct tg3 * tp,uint32_t offset,uint32_t * val) tg3_nvram_read() argument 2374 tg3_phy_probe(struct tg3 * tp) tg3_phy_probe() argument 2556 tg3_read_partno(struct tg3 * tp) tg3_read_partno() argument 2620 tg3_get_invariants(struct tg3 * tp) tg3_get_invariants() argument 2811 tg3_get_device_address(struct tg3 * tp) tg3_get_device_address() argument 2860 tg3_setup_dma(struct tg3 * tp) tg3_setup_dma() argument 2913 tg3_init_link_config(struct tg3 * tp) tg3_init_link_config() argument 2927 tg3_phy_string(struct tg3 * tp) tg3_phy_string() argument 2946 tg3_poll_link(struct tg3 * tp) tg3_poll_link() argument 2971 tg3_ack_irqs(struct tg3 * tp) tg3_ack_irqs() argument 2998 struct tg3 *tp = &tg3; tg3_poll() local 3068 struct tg3 *tp; tg3_transmit() local 3120 struct tg3 *tp = &tg3; tg3_disable() local 3159 struct tg3 *tp = &tg3; tg3_probe() local [all...] |
H A D | tulip.c | 434 static struct tulip_private *tp; variable 514 printf("%s: %s\n", tp->nic_name, str); in whereami() 577 if (tp->chip_id == LC82C168) { in mdio_read() 588 if (tp->chip_id == COMET) { in mdio_read() 637 if (tp->chip_id == LC82C168) { in mdio_write() 647 if (tp->chip_id == COMET) { in mdio_write() 732 unsigned char *p, *ee_data = tp->eeprom; in parse_eeprom() 740 tp->mtable = 0; in parse_eeprom() 758 tp->nic_name, eeprom_fixups[i].name, tp in parse_eeprom() [all...] |
/titanic_51/usr/src/lib/libast/common/string/ |
H A D | base64.c | 54 register unsigned char* tp; in base64encode() local 71 if (tp = (unsigned char*)tb) in base64encode() 73 te = tp + tz - B64_EC + 1; in base64encode() 82 tp = tmp; in base64encode() 83 te = tp + sizeof(tmp) - B64_EC + 1; in base64encode() 88 tc = tp + B64_EC * B64_CHUNK; in base64encode() 93 if (tp >= te) in base64encode() 98 *tn = tp; in base64encode() 99 n = tp - (unsigned char*)tb + 1; in base64encode() 100 tp = tmp; in base64encode() [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | base64.c | 54 register unsigned char* tp; in base64encode() local 71 if (tp = (unsigned char*)tb) in base64encode() 73 te = tp + tz - B64_EC + 1; in base64encode() 82 tp = tmp; in base64encode() 83 te = tp + sizeof(tmp) - B64_EC + 1; in base64encode() 88 tc = tp + B64_EC * B64_CHUNK; in base64encode() 93 if (tp >= te) in base64encode() 98 *tn = tp; in base64encode() 99 n = tp - (unsigned char*)tb + 1; in base64encode() 100 tp in base64encode() 165 register unsigned char* tp; base64decode() local [all...] |
/titanic_51/usr/src/lib/libshell/common/bltins/ |
H A D | alarm.c | 59 register struct tevent *tp = (struct tevent*)list; in time_add() local 60 if(!tp || item->milli < tp->milli) in time_add() 62 item->next = tp; in time_add() 67 while(tp->next && item->milli > tp->next->milli) in time_add() 68 tp = tp->next; in time_add() 69 item->next = tp->next; in time_add() 70 tp->next = item; in time_add() 72 tp = item; in time_add() 73 tp->timeout = (void*)sh_timeradd(tp->milli,tp->flags&R_FLAG,trap_timeout,(void*)tp); in time_add() 82 register struct tevent *tp = (struct tevent*)list; in time_delete() local [all …]
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | alarm.c | 59 register struct tevent *tp = (struct tevent*)list; in time_add() local 60 if(!tp || item->milli < tp->milli) in time_add() 62 item->next = tp; in time_add() 67 while(tp->next && item->milli > tp->next->milli) in time_add() 68 tp = tp->next; in time_add() 69 item->next = tp->next; in time_add() 70 tp in time_add() 82 register struct tevent *tp = (struct tevent*)list; time_delete() local 99 register struct tevent *tp = (struct tevent*)list; print_alarms() local 119 register struct tevent *tp = (struct tevent*)handle; trap_timeout() local 131 register struct tevent *tp, *tpnext; sh_timetraps() local 165 register struct tevent *tp = (struct tevent*)fp; setdisc() local 185 register struct tevent *tp = (struct tevent*)fp; putval() local 237 register struct tevent *tp; b_alarm() local [all...] |
/titanic_51/usr/src/cmd/acct/ |
H A D | acctmerg.c | 80 struct tacct *tp; in main() local 132 while ((tp = getleast()) != NULL) /* get least uid of all files, */ in main() 133 sumcurr(tp); /* sum all entries for that uid, */ in main() 147 struct tacct *tp, *least; in getleast() local 150 for (tp = tb; tp <= &tb[nfile]; tp++) { in getleast() 151 if (tp->ta_name[0] == '\0') in getleast() 154 tp->ta_uid < least->ta_uid || in getleast() 155 ((tp in getleast() 168 sumcurr(struct tacct * tp) sumcurr() argument 206 output(struct tacct * tp) output() argument 220 struct tacct *tp; getnext() local 253 prtacct(struct tacct * tp) prtacct() argument [all...] |
/titanic_51/usr/src/uts/common/cpr/ |
H A D | cpr_uthread.c | 105 kthread_id_t tp; in cpr_stop_user() local 112 tp = curthread->t_next; in cpr_stop_user() 115 p = ttoproc(tp); in cpr_stop_user() 130 thread_lock(tp); /* needed to check CPR_ISTOPPED */ in cpr_stop_user() 132 if (tp->t_state == TS_STOPPED) { in cpr_stop_user() 137 if (tp->t_schedflag & TS_RESUME) in cpr_stop_user() 138 tp->t_schedflag &= ~TS_RESUME; in cpr_stop_user() 141 tp->t_proc_flag |= TP_CHKPT; in cpr_stop_user() 143 thread_unlock(tp); in cpr_stop_user() 147 thread_lock(tp); in cpr_stop_user() 175 kthread_id_t tp; cpr_check_user_threads() local 227 kthread_id_t tp; cpr_start_user_threads() local 315 kthread_id_t tp; cpr_threads_are_stopped() local [all...] |
/titanic_51/usr/src/uts/common/pcmcia/cis/ |
H A D | cis_handlers.c | 75 cis_get_short(cistpl_t *tp) in cis_get_short() argument 79 if (tp->flags & CISTPLF_AM_SPACE) { in cis_get_short() 80 result = GET_AM_BYTE(tp); in cis_get_short() 81 result |= GET_AM_BYTE(tp) << 8; in cis_get_short() 83 result = GET_CM_BYTE(tp); in cis_get_short() 84 result |= GET_CM_BYTE(tp) << 8; in cis_get_short() 90 cis_get_be_short(cistpl_t *tp) in cis_get_be_short() argument 94 if (tp->flags & CISTPLF_AM_SPACE) { in cis_get_be_short() 95 result = GET_AM_BYTE(tp) << 8; in cis_get_be_short() 96 result |= GET_AM_BYTE(tp); in cis_get_be_short() 105 cis_get_int24(cistpl_t * tp) cis_get_int24() argument 114 cis_get_long(cistpl_t * tp) cis_get_long() argument 152 cis_tuple_handler(cistpl_callout_t * co,cistpl_t * tp,uint32_t flags,void * arg,cisdata_t subtype) cis_tuple_handler() argument 220 cis_no_tuple_handler(cistpl_callout_t * co,cistpl_t * tp,uint32_t flags,void * arg) cis_no_tuple_handler() argument 259 cis_unknown_tuple_handler(cistpl_callout_t * co,cistpl_t * tp,uint32_t flags,void * arg) cis_unknown_tuple_handler() argument 282 cistpl_vers_1_handler(cistpl_callout_t * co,cistpl_t * tp,uint32_t flags,void * arg) cistpl_vers_1_handler() argument 345 cistpl_config_handler(cistpl_callout_t * co,cistpl_t * tp,uint32_t flags,void * arg) cistpl_config_handler() argument 432 cistpl_device_handler(cistpl_callout_t * co,cistpl_t * tp,uint32_t flags,void * arg) cistpl_device_handler() argument 533 cistpl_cftable_handler(cistpl_callout_t * co,cistpl_t * tp,uint32_t flags,void * arg) global() argument [all...] |
/titanic_51/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 92 copy_pattern(int pat, TREE *tp) in copy_pattern() argument 95 size_t sz = SIZE(tp) / sizeof (uint64_t); in copy_pattern() 97 uint64_t *datap = (uint64_t *)DATA(tp); in copy_pattern() 115 TREE *tp; in smalloc() local 137 tp = np; in smalloc() 138 SIZE(tp) = size; in smalloc() 139 copy_pattern(FREEPAT, tp); in smalloc() 141 Last[i] = tp; in smalloc() 145 np = NEXT(tp); in smalloc() 147 AFTER(tp) in smalloc() 177 TREE *tp, *sp, *tmp; malloc_unlocked() local 289 TREE *tp, *np; realloc() local 482 TREE *tp, *sp, *np, *tmp; realfree() local 637 TREE *tp; morecore() local 747 in_list(TREE * tp,TREE ** npp) in_list() argument 768 TREE *tp; LEFT1() local 796 TREE *tp; RIGHT1() local 824 TREE *tp; BULEFT2() local 858 TREE *tp; BURIGHT2() local 892 TREE *tp; TDLEFT2() local 951 TREE *tp, *sp, *gp; t_delete() local 1037 t_splay(TREE * tp) t_splay() argument 1404 protect(TREE * tp) protect() argument 1428 unprotect(TREE * tp) unprotect() argument [all...] |
/titanic_51/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_tree.c | 70 set_create_error(topo_hdl_t *thp, ttree_t *tp, int err) in set_create_error() argument 72 if (tp != NULL) in set_create_error() 73 topo_tree_destroy(tp); in set_create_error() 84 ttree_t *tp; in topo_tree_create() local 87 if ((tp = topo_mod_zalloc(mod, sizeof (ttree_t))) == NULL) in topo_tree_create() 90 tp->tt_mod = mod; in topo_tree_create() 92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL) in topo_tree_create() 93 return (set_create_error(thp, tp, ETOPO_NOMEM)); in topo_tree_create() 98 if ((tp->tt_walk = topo_mod_zalloc(mod, sizeof (topo_walk_t))) == NULL) in topo_tree_create() 99 return (set_create_error(thp, tp, ETOPO_NOME in topo_tree_create() 126 topo_tree_destroy(ttree_t * tp) topo_tree_destroy() argument 153 topo_tree_enum(topo_hdl_t * thp,ttree_t * tp) topo_tree_enum() argument 206 ttree_t *tp; topo_tree_enum_all() local [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | malloc.c | 123 TREE *tp; in _smalloc() local 147 tp = np; in _smalloc() 148 SIZE(tp) = size; in _smalloc() 149 np = NEXT(tp); in _smalloc() 150 AFTER(tp) = np; in _smalloc() 152 AFTER(tp) = NULL; in _smalloc() 156 tp = List[i]; in _smalloc() 157 List[i] = AFTER(tp); in _smalloc() 158 SETBIT0(SIZE(tp)); in _smalloc() 159 return (DATA(tp)); in _smalloc() 182 TREE *tp, *sp; _malloc_unlocked() local 304 TREE *tp, *np; realloc() local 490 TREE *tp, *sp, *np; realfree() local 603 TREE *tp; _morecore() local 754 TREE *tp, *sp, *gp; t_delete() local 816 t_splay(TREE * tp) t_splay() argument [all...] |
/titanic_51/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_thread.c | 140 nst_thread_init(nsthread_t *tp) in nst_thread_init() argument 142 ASSERT(MUTEX_HELD(&((tp->tp_set)->set_lock))); in nst_thread_init() 143 ASSERT(!(tp->tp_flag & NST_TF_INUSE)); in nst_thread_init() 144 tp->tp_flag = NST_TF_INUSE; in nst_thread_init() 145 tp->tp_func = NULL; in nst_thread_init() 146 tp->tp_arg = NULL; in nst_thread_init() 161 nsthread_t *tp = NULL; in nst_thread_alloc() local 172 tp = (nsthread_t *)set->set_free.q_forw; in nst_thread_alloc() 173 if (tp != (nsthread_t *)&set->set_free) in nst_thread_alloc() 174 nst_remque(&tp in nst_thread_alloc() 219 nst_thread_free(nsthread_t * tp) nst_thread_free() argument 250 nsthread_t *tp; nst_thread_run() local 381 nst_thread_destroy(nsthread_t * tp) nst_thread_destroy() argument 410 nsthread_t *tp, **tpp; nst_thread_create() local 581 nsthread_t *tp = NULL; nst_create() local 633 nsthread_t *tp, *ntp; nst_destroy() local 777 nsthread_t *tp; nst_add_thread() local 814 nsthread_t **tpp, *tp; nst_del_thread() local [all...] |
/titanic_51/usr/src/uts/common/io/sbp2/ |
H A D | sbp2.c | 76 static int sbp2_agent_init(sbp2_agent_t *, uint64_t, sbp2_tgt_t *tp); 151 sbp2_tgt_t *tp; in sbp2_tgt_init() local 154 tp = kmem_zalloc(sizeof (sbp2_tgt_t), KM_SLEEP); in sbp2_tgt_init() 155 tp->t_bus = bus; in sbp2_tgt_init() 156 tp->t_bus_hdl = bus_hdl; in sbp2_tgt_init() 158 sbp2_tgt_init_sobj(tp); in sbp2_tgt_init() 160 if ((ret = sbp2_cfgrom_parse(tp, &tp->t_cfgrom)) != SBP2_SUCCESS) { in sbp2_tgt_init() 161 sbp2_tgt_fini_sobj(tp); in sbp2_tgt_init() 162 kmem_free(tp, sizeo in sbp2_tgt_init() 193 sbp2_tgt_fini(sbp2_tgt_t * tp) sbp2_tgt_fini() argument 203 sbp2_tgt_init_sobj(sbp2_tgt_t * tp) sbp2_tgt_init_sobj() argument 211 sbp2_tgt_fini_sobj(sbp2_tgt_t * tp) sbp2_tgt_fini_sobj() argument 219 sbp2_tgt_init_params(sbp2_tgt_t * tp) sbp2_tgt_init_params() argument 259 sbp2_tgt_init_luns(sbp2_tgt_t * tp,int maxluns) sbp2_tgt_init_luns() argument 297 sbp2_tgt_fini_luns(sbp2_tgt_t * tp) sbp2_tgt_fini_luns() argument 316 sbp2_tgt_init_bus(sbp2_tgt_t * tp) sbp2_tgt_init_bus() argument 377 sbp2_tgt_fini_bus(sbp2_tgt_t * tp) sbp2_tgt_fini_bus() argument 399 sbp2_tgt_disconnect(sbp2_tgt_t * tp) sbp2_tgt_disconnect() argument 405 sbp2_tgt_reconnect(sbp2_tgt_t * tp) sbp2_tgt_reconnect() argument 416 sbp2_tgt_mgt_request(sbp2_tgt_t * tp,int * berr) sbp2_tgt_mgt_request() argument 474 sbp2_tgt_task_mgt_request(sbp2_tgt_t * tp,uint16_t id,int func,uint64_t orbp,int * berr) sbp2_tgt_task_mgt_request() argument 499 sbp2_tgt_reset(sbp2_tgt_t * tp,int * berr) sbp2_tgt_reset() argument 514 sbp2_tgt_get_cfgrom(sbp2_tgt_t * tp,sbp2_cfgrom_t ** crpp) sbp2_tgt_get_cfgrom() argument 521 sbp2_tgt_get_lun_cnt(sbp2_tgt_t * tp) sbp2_tgt_get_lun_cnt() argument 527 sbp2_tgt_get_lun(sbp2_tgt_t * tp,int num) sbp2_tgt_get_lun() argument 544 sbp2_tgt_t *tp = lp->l_tgt; sbp2_lun_reset() local 574 sbp2_tgt_t *tp = lp->l_tgt; sbp2_lun_login() local 655 sbp2_tgt_t *tp = lp->l_tgt; sbp2_lun_logout() local 685 sbp2_lun_logout_orb(sbp2_lun_t * lp,sbp2_tgt_t * tp,int * berr) sbp2_lun_logout_orb() argument 709 sbp2_tgt_t *tp = lp->l_tgt; sbp2_lun_accepting_tasks() local 727 sbp2_tgt_t *tp = lp->l_tgt; sbp2_ses_init() local 764 sbp2_tgt_t *tp = sp->s_lun->l_tgt; sbp2_ses_fini() local 779 sbp2_tgt_t *tp = sp->s_tgt; sbp2_ses_reconnect() local 814 sbp2_tgt_t *tp = sp->s_tgt; sbp2_ses_reconnect_orb() local 878 sbp2_tgt_t *tp = sp->s_tgt; sbp2_ses_submit_task() local 1012 sbp2_tgt_t *tp = sp->s_tgt; sbp2_ses_append_task() local 1202 sbp2_tgt_t *tp = sp->s_tgt; sbp2_ses_abort_task() local 1223 sbp2_tgt_t *tp = sp->s_tgt; sbp2_ses_abort_task_set() local 1294 sbp2_tgt_t *tp = lp->l_tgt; sbp2_orb_freelist_destroy() local 1312 sbp2_tgt_t *tp = lp->l_tgt; sbp2_task_orb_alloc() local 1338 sbp2_tgt_t *tp = lp->l_tgt; sbp2_task_orb_free() local 1367 sbp2_agent_init(sbp2_agent_t * ap,uint64_t offset,sbp2_tgt_t * tp) sbp2_agent_init() argument 1412 sbp2_tgt_t *tp = ap->a_tgt; sbp2_agent_fini() local 1576 sbp2_tgt_t *tp = buf->bb_sbp2_priv; sbp2_mgt_status_fifo_wb_cb() local 1660 sbp2_tgt_t *tp = sp->s_tgt; sbp2_status_fifo_wb_cb() local 1766 sbp2_mgt_agent_acquire(sbp2_tgt_t * tp) sbp2_mgt_agent_acquire() argument 1777 sbp2_mgt_agent_release(sbp2_tgt_t * tp) sbp2_mgt_agent_release() argument [all...] |
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | timers.c | 51 struct timeval tp; in getnow() local 52 timeofday(&tp); in getnow() 53 now = tp.tv_sec + 1.e-6*tp.tv_usec; in getnow() 89 register Timer_t *tp, *tplast, *tpold, *tpnext; in sigalrm() local 111 for(tplast=0,tp=tptop; tp; tp=tpnext) in sigalrm() 113 tpnext = tp->next; in sigalrm() 114 if(tp->action) in sigalrm() 116 if(tp->wakeup <=now) in sigalrm() 118 if(!tpold || tpold->wakeup>tp->wakeup) in sigalrm() 119 tpold = tp; in sigalrm() [all …]
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | timers.c | 51 struct timeval tp; in getnow() local 52 timeofday(&tp); in getnow() 53 now = tp.tv_sec + 1.e-6*tp.tv_usec; in getnow() 89 register Timer_t *tp, *tplast, *tpold, *tpnext; in sigalrm() local 111 for(tplast=0,tp=tptop; tp; tp=tpnext) in sigalrm() 113 tpnext = tp->next; in sigalrm() 114 if(tp in sigalrm() 183 register Timer_t *tp; sh_timeradd() local 233 register Timer_t *tp = (Timer_t*)handle; timerdel() local [all...] |
/titanic_51/usr/src/cmd/mandoc/ |
H A D | tbl_term.c | 61 term_tbl(struct termp *tp, const struct tbl_span *sp) in term_tbl() argument 69 rmargin = tp->rmargin; in term_tbl() 70 maxrmargin = tp->maxrmargin; in term_tbl() 72 tp->rmargin = tp->maxrmargin = TERM_MAXMARGIN; in term_tbl() 76 tp->flags |= TERMP_NONOSPACE; in term_tbl() 77 tp->flags |= TERMP_NOSPACE; in term_tbl() 84 if (tp->tbl.cols == NULL) { in term_tbl() 85 tp->tbl.len = term_tbl_len; in term_tbl() 86 tp in term_tbl() 217 tbl_hrule(struct termp * tp,const struct tbl_span * sp,int kind) tbl_hrule() argument 254 tbl_data(struct termp * tp,const struct tbl_opts * opts,const struct tbl_dat * dp,const struct roffcol * col) tbl_data() argument 311 tbl_char(struct termp * tp,char c,size_t len) tbl_char() argument 326 tbl_literal(struct termp * tp,const struct tbl_dat * dp,const struct roffcol * col) tbl_literal() argument 368 tbl_number(struct termp * tp,const struct tbl_opts * opts,const struct tbl_dat * dp,const struct roffcol * col) tbl_number() argument 413 tbl_word(struct termp * tp,const struct tbl_dat * dp) tbl_word() argument [all...] |
/titanic_51/usr/src/lib/scsi/libses/common/ |
H A D | ses_enclosure.c | 31 enc_parse_td(ses2_td_hdr_impl_t *tip, const char *tp, nvlist_t *nvl) in enc_parse_td() argument 35 if (tp != NULL) in enc_parse_td() 37 tp, tip->sthi_text_len); in enc_parse_td() 43 enc_eid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_eid() argument 47 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_subenclosure_id); in enc_eid() 53 enc_espid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_espid() argument 57 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_rel_esp_id); in enc_espid() 63 enc_nesp(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_nesp() argument 67 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_n_esps); in enc_nesp() 73 enc_lid(const ses2_ed_impl_t *tp, nvlist_ argument 118 enc_vid(const ses2_ed_impl_t * tp,nvlist_t * nvl,const char * name) enc_vid() argument 129 enc_pid(const ses2_ed_impl_t * tp,nvlist_t * nvl,const char * name) enc_pid() argument 140 enc_rev(const ses2_ed_impl_t * tp,nvlist_t * nvl,const char * name) enc_rev() argument 151 enc_vs(const ses2_ed_impl_t * tp,nvlist_t * nvl,const char * name) enc_vs() argument 186 enc_parse_ed(ses2_ed_impl_t * tp,nvlist_t * nvl) enc_parse_ed() argument 208 ses_target_t *tp; ses_open_scsi() local 245 ses_target_t *tp; ses_open() local 274 ses_scsi_target(ses_target_t * tp) ses_scsi_target() argument 280 ses_close(ses_target_t * tp) ses_close() argument [all...] |
/titanic_51/usr/src/lib/libnsl/saf/ |
H A D | doconfig.c | 179 char *tp; /* scratch pointer */ in doassign() local 214 tp = val; in doassign() 222 *(tp - 1) = *p++; in doassign() 224 *tp++ = *p++; in doassign() 226 *tp = '\0'; in doassign() 229 * (values of tp and p in doassign() 231 tp = ++p; in doassign() 234 tp = p; in doassign() 236 while (*tp && !isspace(*tp)) in doassign() 271 char *tp; /* scratch pointer */ dopush() local 375 char *tp; /* scratch pointer */ dorun() local [all...] |
/titanic_51/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_thread.c | 37 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); in fmd_thread_xcreate() local 39 tp->thr_mod = mp; in fmd_thread_xcreate() 40 tp->thr_tid = tid; in fmd_thread_xcreate() 41 tp->thr_func = NULL; in fmd_thread_xcreate() 42 tp->thr_arg = NULL; in fmd_thread_xcreate() 43 tp->thr_trdata = fmd_trace_create(); in fmd_thread_xcreate() 44 tp->thr_trfunc = (fmd_tracebuf_f *)fmd.d_thr_trace; in fmd_thread_xcreate() 45 tp->thr_errdepth = 0; in fmd_thread_xcreate() 46 tp->thr_isdoor = 0; in fmd_thread_xcreate() 49 fmd_list_append(&fmd.d_thr_list, tp); in fmd_thread_xcreate() 58 fmd_thread_t *tp = arg; fmd_thread_start() local 76 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); fmd_thread_create_cmn() local 122 fmd_thread_destroy(fmd_thread_t * tp,int flag) fmd_thread_destroy() argument [all...] |
/titanic_51/usr/src/uts/common/pcmcia/sys/ |
H A D | cis.h | 207 * GET_CIS_ADDR(tp,ptr) returns the virtual address that was saved by a 221 #define GET_CIS_ADDR(tp) ((cisdata_t *)(uintptr_t)(tp)->offset) argument 310 #define FIND_LTUPLE_FWDF 0x000000003 /* find tuple, fwd search from tp */ 311 #define FIND_LTUPLE_BACKF 0x000000004 /* find tuple, backward from tp */ 312 #define FIND_NEXT_LTUPLEF 0x000000005 /* find tuple, fwd from tp+1 */ 313 #define FIND_PREV_LTUPLEF 0x000000006 /* find tuple, backward from tp-1 */ 327 #define GET_CM_BYTE(tp) (((size_t)(tp)->len >= \ argument 328 ((uintptr_t)(tp) 331 GET_CM_LEN(tp) global() argument 336 GET_AM_BYTE(tp) global() argument 341 GET_AM_LEN(tp) global() argument 345 RESET_TP(tp) global() argument 346 LOOK_BYTE(tp) global() argument 347 GET_BYTE_ADDR(tp) global() argument 349 GET_BYTE(tp) global() argument 351 GET_SHORT(tp) global() argument 352 GET_BE_SHORT(tp) global() argument 353 GET_INT24(tp) global() argument 354 GET_LONG(tp) global() argument 355 GET_LEN(tp) global() argument [all...] |
/titanic_51/usr/src/uts/common/disp/ |
H A D | disp.c | 101 void disp_swapped_enq(kthread_t *tp); 102 static void disp_swapped_setrun(kthread_t *tp); 114 static void setkpdq(kthread_t *tp, int borf); 156 static kthread_t *disp_ratify(kthread_t *tp, disp_t *kpq); 723 kthread_t *tp; in disp() local 746 (tp = disp_getbest(kpq)) != NULL) { in disp() 747 if (disp_ratify(tp, kpq) != NULL) { in disp() 749 "disp_end:tid %p", tp); in disp() 750 return (tp); in disp() 767 if ((tp in disp() 1019 search_disp_queues(disp_t * dp,kthread_t * tp) search_disp_queues() argument 1048 thread_on_queue(kthread_t * tp) thread_on_queue() argument 1078 thread_on_queue(tp) global() argument 1197 setbackdq(kthread_t * tp) setbackdq() argument 1387 setfrontdq(kthread_t * tp) setfrontdq() argument 1542 setkpdq(kthread_t * tp,int borf) setkpdq() argument 1622 dispdeq(kthread_t * tp) dispdeq() argument 1743 disp_swapped_enq(kthread_t * tp) disp_swapped_enq() argument 1775 disp_swapped_setrun(kthread_t * tp) disp_swapped_setrun() argument 1812 cpu_surrender(kthread_t * tp) cpu_surrender() argument 1868 disp_ratify(kthread_t * tp,disp_t * kpq) disp_ratify() argument 1918 kthread_t *tp; disp_getwork() local 2100 kthread_t *tp; disp_fix_unbound_pri() local 2164 disp_adjust_unbound_pri(kthread_t * tp) disp_adjust_unbound_pri() argument 2201 kthread_t *tp; disp_getbest() local 2429 kthread_t *tp; disp_bound_common() local 2521 kthread_t *tp; disp_cpu_inactive() local [all...] |