/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | help.c | 47 char **ep, *s, **tp, *text[MAXHELP]; local 50 tp = text; 53 *tp++ = "Point with the mouse and click button 1 to " 55 *tp++ = "type the pattern to search for, and then " 57 *tp++ = "and last 2 input fields, the pattern can be " 59 *tp++ = "If the search is successful, you can edit " 61 *tp++ = "by pointing with the mouse and clicking " 63 *tp++ = "\nYou can either use the button 2 menu or " 66 *tp++ = "Press the TAB key repeatedly to move to the " 68 *tp [all...] |
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | tcp_seq.h | 32 #define tcp_rcvseqinit(tp) \ 33 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1 35 #define tcp_sendseqinit(tp) \ 36 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \ 37 (tp) [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | settimeofday.c | 46 settimeofday(struct timeval *tp, void *tzp) argument 50 if (tp == NULL) 53 if (tp->tv_sec < 0 || tp->tv_usec < 0 || tp->tv_usec >= MICROSEC) { 58 t = (time_t)tp->tv_sec; 59 if (tp->tv_usec >= (MICROSEC/2))
|
H A D | ftime.c | 51 ftime(struct timeb *tp) argument 59 tp->time = t.tv_sec; 60 tp->millitm = t.tv_usec / 1000; 61 tp->timezone = timezone / 60; 62 tp->dstflag = daylight;
|
H A D | malloc.c | 123 TREE *tp; local 147 tp = np; 148 SIZE(tp) = size; 149 np = NEXT(tp); 150 AFTER(tp) = np; 152 AFTER(tp) = NULL; 156 tp = List[i]; 157 List[i] = AFTER(tp); 158 SETBIT0(SIZE(tp)); 159 return (DATA(tp)); 182 TREE *tp, *sp; local 304 TREE *tp, *np; local 490 TREE *tp, *sp, *np; local 603 TREE *tp; local 754 TREE *tp, *sp, *gp; local 816 t_splay(TREE *tp) argument [all...] |
/illumos-gate/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); local 39 tp->thr_mod = mp; 40 tp->thr_tid = tid; 41 tp->thr_func = NULL; 42 tp->thr_arg = NULL; 43 tp->thr_trdata = fmd_trace_create(); 44 tp->thr_trfunc = (fmd_tracebuf_f *)fmd.d_thr_trace; 45 tp->thr_errdepth = 0; 46 tp->thr_isdoor = 0; 49 fmd_list_append(&fmd.d_thr_list, tp); 58 fmd_thread_t *tp = arg; local 76 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); local 122 fmd_thread_destroy(fmd_thread_t *tp, int flag) argument [all...] |
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | ftime.c | 52 ftime(struct timeb *tp) argument 59 tp->time = t.tv_sec; 60 tp->millitm = t.tv_usec / 1000; 61 tp->timezone = (short)tz.tz_minuteswest; 62 tp->dstflag = (short)tz.tz_dsttime;
|
/illumos-gate/usr/src/cmd/zic/ |
H A D | scheck.c | 16 register char *tp; local 28 tp = fbuf; 29 while ((*tp++ = c = *fp++) != '\0') { 33 *tp++ = *fp++; 36 *tp++ = '*'; 40 *tp++ = *fp++; 42 *tp++ = *fp++; 44 do *tp++ = *fp++; 46 if ((*tp++ = *fp++) == '\0') 49 *(tp [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | alarm.c | 59 register struct tevent *tp = (struct tevent*)list; local 60 if(!tp || item->milli < tp->milli) 62 item->next = tp; 67 while(tp->next && item->milli > tp->next->milli) 68 tp = tp->next; 69 item->next = tp->next; 70 tp 82 register struct tevent *tp = (struct tevent*)list; local 99 register struct tevent *tp = (struct tevent*)list; local 119 register struct tevent *tp = (struct tevent*)handle; local 131 register struct tevent *tp, *tpnext; local 165 register struct tevent *tp = (struct tevent*)fp; local 185 register struct tevent *tp; local 237 register struct tevent *tp; local [all...] |
/illumos-gate/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) argument 72 if (tp != NULL) 73 topo_tree_destroy(tp); 84 ttree_t *tp; local 87 if ((tp = topo_mod_zalloc(mod, sizeof (ttree_t))) == NULL) 90 tp->tt_mod = mod; 92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL) 93 return (set_create_error(thp, tp, ETOPO_NOMEM)); 98 if ((tp->tt_walk = topo_mod_zalloc(mod, sizeof (topo_walk_t))) == NULL) 99 return (set_create_error(thp, tp, ETOPO_NOME 126 topo_tree_destroy(ttree_t *tp) argument 153 topo_tree_enum(topo_hdl_t *thp, ttree_t *tp) argument 206 ttree_t *tp; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | copyops.c | 41 install_copyops(kthread_id_t tp, copyops_t *cp) argument 43 ASSERT(tp->t_copyops == NULL); 44 tp->t_copyops = cp; 48 remove_copyops(kthread_id_t tp) argument 50 ASSERT(tp->t_copyops != NULL); 51 tp->t_copyops = NULL; 55 copyops_installed(kthread_id_t tp) argument 57 return (tp->t_copyops != NULL);
|
H A D | sleepq.c | 97 * the t_link pointer that points to tp. 100 sleepq_unlink(kthread_t **tpp, kthread_t *tp) argument 102 ASSERT(*tpp == tp); 103 ASSERT(tp->t_sleepq != NULL); 106 *tpp = tp->t_link; 112 if (tp->t_priforw != tp) { 113 tp->t_priback->t_priforw = tp->t_priforw; 114 tp 221 kthread_t *tp; local 252 kthread_t *tp; local [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | base64.c | 54 register unsigned char* tp; local 71 if (tp = (unsigned char*)tb) 73 te = tp + tz - B64_EC + 1; 82 tp = tmp; 83 te = tp + sizeof(tmp) - B64_EC + 1; 88 tc = tp + B64_EC * B64_CHUNK; 93 if (tp >= te) 98 *tn = tp; 99 n = tp - (unsigned char*)tb + 1; 100 tp 165 register unsigned char* tp; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | gettimeofday.c | 19 isc__gettimeofday(struct timeval *tp, struct timezone *tzp) { argument 22 res = gettimeofday(tp, tzp); 25 if (tp == NULL) 27 if (tp->tv_usec < 0) { 29 tp->tv_usec += MILLION; 30 tp->tv_sec--; 31 } while (tp->tv_usec < 0); 33 } else if (tp->tv_usec > MILLION) { 35 tp->tv_usec -= MILLION; 36 tp [all...] |
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclmode.c | 40 aclent_t *tp; local 52 for (tp = aclbufp; nentries--; tp++) { 53 if (tp->a_type == USER_OBJ) { 54 mode = tp->a_perm; 60 if (tp->a_type == GROUP_OBJ) { 61 grpmode = tp->a_perm; 66 if (tp->a_type == CLASS_OBJ) { 68 mask = tp->a_perm; 74 if (tp 91 aclent_t *tp; local [all...] |
H A D | aclsort.c | 82 aclent_t *tp; local 100 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 102 if (tp->a_type == map_to_sort[k].entry_type) { 103 tp->a_type = map_to_sort[k].sort_order; 113 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 115 if (tp->a_type == map_to_sort[k].sort_order) { 116 tp->a_type = map_to_sort[k].entry_type; 142 for (tp 161 aclent_t *tp; local [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread_intr.c | 52 kthread_t *tp; local 54 tp = thread_create(NULL, 0, 66 THREAD_FREEINTR(tp, cp); 72 tp->t_cred = NULL; 73 tp->t_flag |= T_INTR_THREAD; 74 tp->t_cpu = cp; 75 tp->t_bound_cpu = cp; 76 tp->t_disp_queue = cp->cpu_disp; 77 tp->t_affinitycnt = 1; 78 tp [all...] |
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | gettimeofday.c | 57 gettimeofday(struct timeval *tp, void *tzp) argument 59 if (tp == NULL) 62 return (_gettimeofday(tp)); 72 settimeofday(struct timeval *tp, void *tzp) argument 76 if (tp == NULL) 79 t = (time_t) tp->tv_sec; 80 if (tp->tv_usec >= 500000)
|
/illumos-gate/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) argument 146 (tp->misc_host_ctrl | MISC_HOST_CTRL_MASK_PCI_INT)); 150 static void tg3_switch_clocks(struct tg3 *tp) argument 158 tp->pci_clock_ctrl = clock_ctrl; 160 if ((GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5705) && 172 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val) argument 177 tw32_carefully(MAC_MI_MODE, tp->mi_mode & ~MAC_MI_MODE_AUTO_POLL); 207 tw32_carefully(MAC_MI_MODE, tp->mi_mode); 212 static int tg3_writephy(struct tg3 *tp, in argument 248 tg3_writedsp(struct tg3 *tp, uint16_t addr, uint16_t val) argument 257 tg3_phy_set_wirespeed(struct tg3 *tp) argument 269 tg3_bmcr_reset(struct tg3 *tp) argument 300 tg3_wait_macro_done(struct tg3 *tp) argument 317 tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) argument 383 tg3_phy_reset_chanpat(struct tg3 *tp) argument 403 tg3_phy_reset_5703_4_5(struct tg3 *tp) argument 469 tg3_phy_reset(struct tg3 *tp) argument 495 tg3_set_power_state_0(struct tg3 *tp) argument 519 tg3_link_report(struct tg3 *tp) argument 540 tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv) argument 599 tg3_phy_copper_begin(struct tg3 *tp) argument 654 tg3_init_5401phy_dsp(struct tg3 *tp) argument 672 tg3_setup_copper_phy(struct tg3 *tp) argument 952 tg3_fiber_aneg_smachine(struct tg3 *tp, struct tg3_fiber_aneginfo *ap) argument 1196 tg3_setup_fiber_phy(struct tg3 *tp) argument 1381 tg3_setup_phy(struct tg3 *tp) argument 1412 tg3_stop_block(struct tg3 *tp, unsigned long ofs, uint32_t enable_bit) argument 1453 tg3_abort_hw(struct tg3 *tp) argument 1513 tg3_chip_reset(struct tg3 *tp) argument 1582 tg3_stop_fw(struct tg3 *tp) argument 1602 tg3_restart_fw(struct tg3 *tp, uint32_t state) argument 1629 tg3_halt(struct tg3 *tp) argument 1637 __tg3_set_mac_addr(struct tg3 *tp) argument 1671 tg3_set_bdinfo(struct tg3 *tp, uint32_t bdinfo_addr, dma_addr_t mapping, uint32_t maxlen_flags, uint32_t nic_addr) argument 1690 tg3_init_rings(struct tg3 *tp) argument 1742 tg3_setup_hw(struct tg3 *tp) argument 2214 tg3_nvram_init(struct tg3 *tp) argument 2282 tg3_nvram_read(struct tg3 *tp, uint32_t offset, uint32_t *val) argument 2374 tg3_phy_probe(struct tg3 *tp) argument 2556 tg3_read_partno(struct tg3 *tp) argument 2620 tg3_get_invariants(struct tg3 *tp) argument 2811 tg3_get_device_address(struct tg3 *tp) argument 2860 tg3_setup_dma(struct tg3 *tp) argument 2913 tg3_init_link_config(struct tg3 *tp) argument 2927 tg3_phy_string(struct tg3 *tp) argument 2946 tg3_poll_link(struct tg3 *tp) argument 2971 tg3_ack_irqs(struct tg3 *tp) argument 2998 struct tg3 *tp = &tg3; local 3068 struct tg3 *tp; local 3120 struct tg3 *tp = &tg3; local 3159 struct tg3 *tp = &tg3; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | ftime.c | 49 ftime(struct timeb *tp) argument 58 tp->time = t.tv_sec; 59 tp->millitm = t.tv_usec / 1000; 60 tp->timezone = _timezone / 60; 61 tp->dstflag = _daylight;
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctmerg.c | 80 struct tacct *tp; local 132 while ((tp = getleast()) != NULL) /* get least uid of all files, */ 133 sumcurr(tp); /* sum all entries for that uid, */ 147 struct tacct *tp, *least; local 150 for (tp = tb; tp <= &tb[nfile]; tp++) { 151 if (tp->ta_name[0] == '\0') 154 tp->ta_uid < least->ta_uid || 155 ((tp 168 sumcurr(struct tacct *tp) argument 206 output(struct tacct *tp) argument 220 struct tacct *tp; local 253 prtacct(struct tacct *tp) argument [all...] |
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_uthread.c | 105 kthread_id_t tp; local 112 tp = curthread->t_next; 115 p = ttoproc(tp); 130 thread_lock(tp); /* needed to check CPR_ISTOPPED */ 132 if (tp->t_state == TS_STOPPED) { 137 if (tp->t_schedflag & TS_RESUME) 138 tp->t_schedflag &= ~TS_RESUME; 141 tp->t_proc_flag |= TP_CHKPT; 143 thread_unlock(tp); 147 thread_lock(tp); 175 kthread_id_t tp; local 227 kthread_id_t tp; local 315 kthread_id_t tp; local [all...] |
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ifspec.c | 49 char *sp = strchr(bp, ':'), *tp; local 61 for (tp = sp; tp < ep && isdigit(*tp); tp++) 63 if (tp != ep) { 83 char *tp; local 90 for (tp = ep; tp >= bp && isdigit(*tp); t 112 char *lp, *tp; local [all...] |
/illumos-gate/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) argument 35 if (tp != NULL) 37 tp, tip->sthi_text_len); 43 enc_eid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) argument 47 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_subenclosure_id); 53 enc_espid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) argument 57 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_rel_esp_id); 63 enc_nesp(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) argument 67 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_n_esps); 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) argument 129 enc_pid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) argument 140 enc_rev(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) argument 151 enc_vs(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) argument 186 enc_parse_ed(ses2_ed_impl_t *tp, nvlist_t *nvl) argument 208 ses_target_t *tp; local 245 ses_target_t *tp; local 274 ses_scsi_target(ses_target_t *tp) argument 280 ses_close(ses_target_t *tp) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | timers.c | 51 struct timeval tp; local 52 timeofday(&tp); 53 now = tp.tv_sec + 1.e-6*tp.tv_usec; 89 register Timer_t *tp, *tplast, *tpold, *tpnext; local 111 for(tplast=0,tp=tptop; tp; tp=tpnext) 113 tpnext = tp->next; 114 if(tp 183 register Timer_t *tp; local 233 register Timer_t *tp = (Timer_t*)handle; local [all...] |