| /onnv/onnv-gate/usr/src/uts/common/disp/ |
| 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->t_preempt = 1 [all...] |
| /onnv/onnv-gate/usr/src/lib/libdhcpsvc/modules/nisplus/ |
| nisplus_impl.c | 53 char *tp; local 59 for (op = &container_name[sizeof (TMPLT_PFX) - 1], tp = bufp; 60 *op != '\0'; op++, tp++) { 62 *tp = '.'; 64 *tp = *op; 78 char *tp; local 85 for (tp = &bufp[sizeof (TMPLT_PFX)]; *tp != '\0'; tp++) { 86 if (*tp == '.' [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| lockstat_subr.c | 49 kthread_t *tp; local 53 tp = curthread; 55 if (tp->t_lockstat) 57 } while ((tp = tp->t_next) != curthread);
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| ctxop.c | 36 kthread_t thread, *tp = &thread; local 42 if (mdb_vread(tp, sizeof (*tp), wsp->walk_addr) == -1) { 48 wsp->walk_addr = (uintptr_t)tp->t_ctx;
|
| /onnv/onnv-gate/usr/src/cmd/zic/ |
| 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 - 1) = '%' [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| asctime.c | 27 int *tp; local 37 tp = &t->tm_mon; 38 ncp = &"JanFebMarAprMayJunJulAugSepOctNovDec"[(*tp)*3]; 42 cp = ct_numb(cp, *--tp); 43 cp = ct_numb(cp, *--tp+100); 44 cp = ct_numb(cp, *--tp+100); 45 cp = ct_numb(cp, *--tp+100);
|
| ttyslot.c | 33 char *tp, *p; local 39 if ((tp = ttyname(0)) == NULL && 40 (tp = ttyname(1)) == NULL && 41 (tp = ttyname(2)) == NULL) 43 if ((p = rindex(tp, '/')) == NULL) 44 p = tp;
|
| /onnv/onnv-gate/usr/src/tools/cscope-fast/ |
| 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++ = "pattern to search for, and then press the [all...] |
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/inet/ |
| inet_neta.c | 59 char *tp; local 68 tp = dst; 74 size -= (size_t)(dst - tp);
|
| /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/ |
| fmd_thread.c | 41 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); local 43 tp->thr_mod = mp; 44 tp->thr_tid = tid; 45 tp->thr_func = NULL; 46 tp->thr_arg = NULL; 47 tp->thr_trdata = fmd_trace_create(); 48 tp->thr_trfunc = (fmd_tracebuf_f *)fmd.d_thr_trace; 49 tp->thr_errdepth = 0; 52 fmd_list_append(&fmd.d_thr_list, tp); 55 return (tp); 61 fmd_thread_t *tp = arg; local 76 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); local [all...] |
| /onnv/onnv-gate/usr/src/cmd/saf/ |
| util.c | 254 register char *tp; /* temp pointer */ local 260 tp = strchr(p, COMMENT); 262 if (tp) { 263 (void) strcpy(Comment, tp + 1); /* skip the '#' */ 264 *tp = '\0'; 265 tp = strchr(Comment, '\n'); 266 if (tp) 267 *tp ='\0'; 274 for (tp = p + strlen(p) - 1; tp >= p && isspace(*tp); --tp [all...] |
| /onnv/onnv-gate/usr/src/cmd/scsi/sestopo/common/ |
| sestopo.c | 81 ses_target_t *tp; local 87 if ((tp = ses_open(LIBSES_VERSION, argv[1])) == NULL) 90 sp = ses_snap_hold(tp); 95 ses_close(tp);
|
| /onnv/onnv-gate/usr/src/lib/libdhcpsvc/modules/nisplus0/ |
| nisplus_impl.c | 48 char *tp, *wp, *sp = NULL; local 50 if ((tp = strdup(container)) == NULL) 53 for (wp = strtok_r(tp, "_", &sp), i = 0; wp != NULL && i < 4; 58 free(tp); 69 char *tp; local 71 for (tp = network; *tp != '\0'; tp++) { 72 if (*tp == from) 73 *tp = to [all...] |
| /onnv/onnv-gate/usr/src/lib/libsec/common/ |
| 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->a_type == OTHER_OBJ) 91 aclent_t *tp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libinetutil/common/ |
| inetutil.c | 46 struct in_addr hp, tp; local 52 if (getnetmaskbyaddr(hp, &tp) == 0) { 53 s_addrp->s_addr = ntohl(tp.s_addr);
|
| 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); tp-- 112 char *lp, *tp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/topo/libtopo/common/ |
| topo_builtin.c | 105 ttree_t *tp; local 124 if ((tp = topo_tree_create(thp, mod, bp->bltin_name)) 132 topo_list_append(&thp->th_trees, tp); 139 rnode = tp->tt_root;
|
| /onnv/onnv-gate/usr/src/lib/fm/topo/modules/sun4u/pcibus/ |
| pci_sun4u.c | 68 tnode_t *tp; local 73 tp = did_gettnode(dp); 76 topo_mod_dprintf(mod, "%s: dp=0x%p, tp=0x%p\n", 77 __func__, dp, tp); 112 if (((tp = topo_node_parent(tp)) == NULL) || 113 (dp = did_find(mod, topo_node_getspecific(tp))) == NULL) {
|
| /onnv/onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| vmclear.c | 43 reg Block_t* tp; local 71 tp = SEGBLOCK(seg); 72 size = seg->baddr - ((Vmuchar_t*)tp) - 2*sizeof(Head_t); 74 SEG(tp) = seg; 75 SIZE(tp) = size; 77 seg->free = tp; 79 { SIZE(tp) |= BUSY|JUNK; 80 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))]; 81 CACHE(vd)[C_INDEX(SIZE(tp))] = tp [all...] |
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| gnxseq.c | 42 register struct tm *tp; local 87 tp = localtime(&clock); 89 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour, 90 tp->tm_min);
|
| /onnv/onnv-gate/usr/src/cmd/eqn/ |
| text.c | 38 tbl *tp, *lookup(); local 57 else if ((tp = lookup(restbl, p1, NULL)) != NULL) 58 p = tp->defn;
|
| /onnv/onnv-gate/usr/src/cmd/refer/ |
| tick.c | 33 time_t tp; local 35 time(&tp); 38 start = tp; 45 time_t tp; local 50 time(&tp); 51 lap = (tp - start)/60.;
|
| /onnv/onnv-gate/usr/src/cmd/spell/ |
| hashcheck.c | 55 int tp = wp; local 59 y |= (long)table[tp++] << empty; 62 y |= table[tp]>>i-empty;
|
| /onnv/onnv-gate/usr/src/cmd/tbl/ |
| tv.c | 24 int tp=0, sl, ln, pos, epb, ept, vm; local 33 if (pos!=tp) fprintf(tabout, "\\h'%dp'", pos-tp); 34 tp = pos;
|
| /onnv/onnv-gate/usr/src/cmd/ttymon/ |
| tmautobaud.c | 139 struct autobaud *tp; local 171 for (tp = autob2400; tp->a_speed; tp++) { 173 if (buf[i] != tp->a_pattern[i]) 176 return(tp->a_speed);
|