Home
last modified time | relevance | path

Searched refs:tp (Results 26 – 50 of 558) sorted by relevance

12345678910>>...23

/illumos-gate/usr/src/uts/common/pcmcia/cis/
H A Dcis.c455 if (tp) in cis_list_lcreate()
528 tp->data = GET_CIS_ADDR(tp); in cis_list_lcreate()
749 #define GET_NEXT_LTUPLE(tp) ((tp->next)?tp->next:NULL) argument
750 #define GET_PREV_LTUPLE(tp) ((tp->prev)?tp->prev:NULL) argument
756 if (!tp) in cis_get_ltuple()
763 } while ((tp = GET_PREV_LTUPLE(tp)) != NULL); in cis_get_ltuple()
772 } while ((tp = GET_NEXT_LTUPLE(tp)) != NULL); in cis_get_ltuple()
784 } while ((tp = GET_NEXT_LTUPLE(tp)) != NULL); in cis_get_ltuple()
793 } while ((tp = GET_PREV_LTUPLE(tp)) != NULL); in cis_get_ltuple()
796 while ((tp = GET_NEXT_LTUPLE(tp)) != NULL) { in cis_get_ltuple()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1357 tp = tp->t_next; in type_PrintType()
1468 while (tp && tp->t_dt == DD_PTR) in type_IsVarargs()
1469 tp = tp->t_next; in type_IsVarargs()
1499 tp = tp->t_next; in type_IsPtrFun()
1501 while (tp && (tp->t_dt == DD_PTR)) in type_IsPtrFun()
1502 tp = tp->t_next; in type_IsPtrFun()
1945 tp = tp->t_next; in decl_ToString()
2109 tp = tp->t_next; in decl_PrintTraceInfo()
2156 tp = tp->t_next; in decl_GetTraceInfo()
2164 tp = tp->t_next; in decl_GetTraceInfo()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c597 maketag(tp, tp); in wtvolseq()
607 struct tag *tp; in volseqinit() local
934 maketag(tp, tp); in volseqinit()
951 maketag(tp, tp); in volseqinit()
1006 maketag(tp, tp); in volseqinit()
1030 maketag(tp, tp); in volseqinit()
1055 maketag(tp, tp); in volseqinit()
1102 maketag(tp, tp); in volseqinit()
1118 maketag(tp, tp); in volseqinit()
1400 err = verifytag(tp, FIRSTAVDP, tp, UD_ANCH_VOL_DESC); in readvolseq()
[all …]
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_plugin.c61 if (smp_exec(ap, tp) != 0) { in smp_report_general()
73 bcopy(rp, &tp->st_repgen, sizeof (tp->st_repgen)); in smp_report_general()
92 if (smp_exec(ap, tp) != 0) { in smp_report_manufacturer_information()
113 tp->st_component_vendor = in smp_report_manufacturer_information()
121 if (tp->st_vendor == NULL || tp->st_product == NULL || in smp_report_manufacturer_information()
122 tp->st_revision == NULL || in smp_report_manufacturer_information()
227 pp->sp_target = tp; in smp_plugin_loadone()
252 tp->st_plugin_last = pp; in smp_plugin_loadone()
314 if (smp_target_fill(tp) != 0) in smp_plugin_load_dir()
317 if (tp->st_vendor == NULL) in smp_plugin_load_dir()
[all …]
H A Dsmp_engine.c267 smp_target_t *tp; in smp_open() local
286 smp_free(tp); in smp_open()
293 tp->st_engine = ep; in smp_open()
294 tp->st_priv = private; in smp_open()
297 smp_close(tp); in smp_open()
301 return (tp); in smp_open()
307 tp->st_engine->se_ops->seo_target_name(tp->st_priv, buf, len); in smp_target_name()
313 return (tp->st_engine->se_ops->seo_target_addr(tp->st_priv)); in smp_target_addr()
403 tp->st_engine->se_ops->seo_close(tp->st_priv); in smp_close()
406 smp_free(tp); in smp_close()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsched.c521 if (*tpp == tp) in swapdeq()
536 kthread_id_t tp; in swapin() local
546 tp = pp->p_tlist; in swapin()
552 thread_lock(tp); in swapin()
616 } while ((tp = tp->t_forw) != pp->p_tlist); in swapin()
627 kthread_id_t tp; in swapout() local
641 tp = pp->p_tlist; in swapout()
658 aston(tp); in swapout()
730 } while ((tp = tp->t_forw) != pp->p_tlist); in swapout()
785 thread_lock(tp); in swapout_lwp()
[all …]
H A Dsemaphore.c121 kthread_t *tp; in sema_queue() local
132 tpp = &tp->t_link; in sema_queue()
135 t->t_link = tp; in sema_queue()
146 kthread_t *tp; in sema_dequeue() local
153 if (tp == t) { in sema_dequeue()
178 kthread_t *tp; in sema_unsleep() local
185 if (tp == t) { in sema_unsleep()
300 tp = sq; in sema_p_sig()
308 CL_WAKEUP(tp); in sema_p_sig()
348 tp = sq; in sema_v()
[all …]
/illumos-gate/usr/src/lib/libsec/common/
H A Daclsort.c81 aclent_t *tp; in aclsort() local
99 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort()
112 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort()
141 for (tp = aclbufp; tp->a_type != OTHER_OBJ; tp++) { in aclsort()
142 if (tp->a_type == USER || tp->a_type == GROUP || in aclsort()
144 newmask |= tp->a_perm; in aclsort()
160 aclent_t *tp; in sortid() local
164 for (tp = ap; cnt-- > 0; tp++) { in sortid()
165 if (tp->a_type != type) in sortid()
167 startp = tp; in sortid()
[all …]
H A Daclmode.c39 aclent_t *tp; in acltomode() local
51 for (tp = aclbufp; nentries--; tp++) { in acltomode()
53 mode = tp->a_perm; in acltomode()
60 grpmode = tp->a_perm; in acltomode()
67 mask = tp->a_perm; in acltomode()
74 mode = tp->a_perm; in acltomode()
90 aclent_t *tp; in aclfrommode() local
101 for (tp = aclbufp; nentries--; tp++) { in aclfrommode()
104 tp->a_perm = (mode >> 6); in aclfrommode()
109 savp = tp; in aclfrommode()
[all …]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c346 tp->ftt_dest = pc + tp->ftt_size + in fasttrap_tracepoint_init()
455 tp->ftt_dest = pc + tp->ftt_size + in fasttrap_tracepoint_init()
464 tp->ftt_dest = pc + tp->ftt_size + in fasttrap_tracepoint_init()
470 tp->ftt_dest = pc + tp->ftt_size + in fasttrap_tracepoint_init()
476 tp->ftt_dest = pc + tp->ftt_size + in fasttrap_tracepoint_init()
484 tp->ftt_dest = pc + tp->ftt_size + in fasttrap_tracepoint_init()
490 tp->ftt_dest = pc + tp->ftt_size + in fasttrap_tracepoint_init()
574 tp->ftt_modrm = tp->ftt_instr[rmindex]; in fasttrap_tracepoint_init()
649 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) { in fasttrap_return_common()
650 if (pid == tp->ftt_pid && pc == tp->ftt_pc && in fasttrap_return_common()
[all …]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dfasttrap_isa.c290 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) { in fasttrap_return_common()
291 if (pid == tp->ftt_pid && pc == tp->ftt_pc && in fasttrap_return_common()
301 if (tp == NULL || tp->ftt_retids == NULL) { in fasttrap_return_common()
464 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) { in fasttrap_pid_probe()
465 if (pid == tp->ftt_pid && pc == tp->ftt_pc && in fasttrap_pid_probe()
475 if (tp == NULL) { in fasttrap_pid_probe()
510 tp_local = *tp; in fasttrap_pid_probe()
512 tp = &tp_local; in fasttrap_pid_probe()
1076 if (uwrite(p, &tp->ftt_instr, 4, tp->ftt_pc) != 0) in fasttrap_tracepoint_remove()
1175 tp->ftt_cc = 0; in fasttrap_tracepoint_init()
[all …]
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c136 vp = TNTOV(tp); in wrtmp()
416 (tp->tn_mode & S_ISUID) != 0 && tp->tn_uid == 0)) { in wrtmp()
466 vp = TNTOV(tp); in rdtmp()
502 vp = TNTOV(tp); in rdtmp()
684 if (tp->tn_uid == UID_NOBODY || tp->tn_gid == GID_NOBODY) { in tmp_getattr()
751 tp); in tmp_setattr()
914 ASSERT(tp); in tmp_lookup()
1103 ASSERT(tp); in tmp_remove()
1708 tmp_memfree(tp->tn_symlink, tp->tn_size + 1); in tmp_inactive()
1735 tp->tn_forw->tn_back = tp->tn_back; in tmp_inactive()
[all …]
H A Dtmp_dir.c349 if (tp != dir) in tdirenter()
460 tp = NULL; in tdirenter()
463 *tpp = tp; in tdirenter()
474 DECR_COUNT(&tp->tn_nlink, &tp->tn_tlock); in tdirenter()
547 if (tp != tnp) in tdirdelete()
589 DECR_COUNT(&tp->tn_nlink, &tp->tn_tlock); in tdirdelete()
591 tdirtrunc(tp); in tdirdelete()
708 DECR_COUNT(&tp->tn_nlink, &tp->tn_tlock); in tdirtrunc()
1099 tp->tn_vnode->v_rdev = tp->tn_rdev = va->va_rdev; in tdirmaketnode()
1101 tp->tn_vnode->v_rdev = tp->tn_rdev = NODEV; in tdirmaketnode()
[all …]
/illumos-gate/usr/src/lib/libnsl/netdir/
H A Dnetdir.c161 if (tp == 0) { in netdir_getbyname()
268 if (tp == 0) { in netdir_getbyaddr()
273 (tp->nc_nlookups == 0)) { in netdir_getbyaddr()
283 (tp->nc_nlookups == 0)) { in netdir_getbyaddr()
302 if (tp == 0) { in __netdir_getbyaddr_nosrv()
307 (tp->nc_nlookups == 0)) { in __netdir_getbyaddr_nosrv()
317 (tp->nc_nlookups == 0)) { in __netdir_getbyaddr_nosrv()
403 if (tp == 0) { in netdir_options()
410 (tp->nc_nlookups == 0)) { in netdir_options()
455 if (tp == 0) { in uaddr2taddr()
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dtp.c141 if (tp->adapter->params.nports > 1) in t1_tp_set_coalescing_size()
281 t1_os_free((void *)tp, sizeof(*tp)); in t1_tp_destroy()
286 struct petp *tp = t1_os_malloc_wait_zero(sizeof(*tp)); in t1_tp_create() local
287 if (!tp) in t1_tp_create()
290 tp->adapter = adapter; in t1_tp_create()
312 return tp; in t1_tp_create()
320 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_enable()
341 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_disable()
358 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_clear()
375 if (!t1_is_asic(tp->adapter)) in t1_tp_intr_handler()
[all …]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c345 kthread_id_t tp; in sysctrl_stop_user_threads() local
349 for (tp = curthread->t_next; tp != curthread; tp = tp->t_next) { in sysctrl_stop_user_threads()
371 aston(tp); in sysctrl_stop_user_threads()
373 if (ISWAKEABLE(tp) || ISWAITING(tp)) { in sysctrl_stop_user_threads()
380 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU) in sysctrl_stop_user_threads()
397 bailout == 0 && tp != curthread; tp = tp->t_next) { in sysctrl_stop_user_threads()
417 cache_tp = tp; in sysctrl_stop_user_threads()
449 kthread_id_t tp; in sysctrl_stop_kernel_threads() local
473 for (tp = curthread->t_next; tp != curthread; tp = tp->t_next) { in sysctrl_stop_kernel_threads()
497 kthread_id_t tp; in sysctrl_start_user_threads() local
[all …]
/illumos-gate/usr/src/cmd/getfacl/
H A Dgetfacl.c73 aclent_t *tp; in main() local
143 for (tp = aclp; aclcnt--; tp++) { in main()
144 if (tp->a_type == USER_OBJ) in main()
146 pruname(tp->a_id)); in main()
147 if (tp->a_type == GROUP_OBJ) in main()
149 prgname(tp->a_id)); in main()
150 if (tp->a_type == CLASS_OBJ) in main()
151 mask = tp->a_perm; in main()
154 for (tp = aclp; aclcnt--; tp++) { in main()
155 switch (tp->a_type) { in main()
[all …]
/illumos-gate/usr/src/lib/libinetutil/common/
H A Difspec.c49 char *sp = strchr(bp, ':'), *tp; in getlun() local
61 for (tp = sp; tp < ep && isdigit(*tp); tp++) in getlun()
63 if (tp != ep) { in getlun()
83 char *tp; in getppa() local
90 for (tp = ep; tp >= bp && isdigit(*tp); tp--) in getppa()
93 if (*tp == ':') { in getppa()
98 *ppa = atoi(tp + 1); in getppa()
112 char *lp, *tp; in ifparse_ifspec() local
147 for (tp = &ifsp->ifsp_devnm[strlen(ifsp->ifsp_devnm) - 1]; in ifparse_ifspec()
148 tp >= ifsp->ifsp_devnm && isdigit(*tp); tp--) { in ifparse_ifspec()
[all …]
/illumos-gate/usr/src/lib/libc/port/inet/
H A Dinet_pton.c87 uchar_t tmp[INADDRSZ], *tp; in inet_pton4() local
91 *(tp = tmp) = 0; in inet_pton4()
100 *tp = new; in inet_pton4()
109 *++tp = 0; in inet_pton4()
146 endp = tp + IN6ADDRSZ; in inet_pton6()
173 colonp = tp; in inet_pton6()
188 tp += INADDRSZ; in inet_pton6()
195 if (tp + INT16SZ > endp) in inet_pton6()
208 if (tp == endp) in inet_pton6()
214 tp = endp; in inet_pton6()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dttcompat.c186 q->q_ptr = tp; in ttcompatopen()
187 WR(q)->q_ptr = tp; in ttcompatopen()
711 if (!(tp->t_state&TS_IOCWAIT) || iocp->ioc_id != tp->t_iocid) { in ttcompat_ioctl_ack()
792 tp->t_curstate.t_erase = tp->t_new_sgttyb.sg_erase; in ttcompat_ioctl_ack()
793 tp->t_curstate.t_kill = tp->t_new_sgttyb.sg_kill; in ttcompat_ioctl_ack()
811 tp->t_curstate.t_ispeed = tp->t_new_sgttyb.sg_ispeed; in ttcompat_ioctl_ack()
814 tp->t_curstate.t_ospeed = tp->t_new_sgttyb.sg_ospeed; in ttcompat_ioctl_ack()
876 tp->t_curstate.t_flags |= (tp->t_new_lflags << 16); in ttcompat_ioctl_ack()
895 tp->t_curstate.t_flags &= ~(tp->t_new_lflags << 16); in ttcompat_ioctl_ack()
915 tp->t_curstate.t_flags |= (tp->t_new_lflags << 16); in ttcompat_ioctl_ack()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dttymon.c147 struct pmtab *tp; in initialize() local
241 for (tp = PMtab; tp; tp = tp->p_next) { in initialize()
242 if ((tp->p_status > 0) && (tp->p_fd == 0) && in initialize()
246 ((tp->p_dmsg == NULL)||(*(tp->p_dmsg) == '\0'))))) { in initialize()
265 struct pmtab *tp; in open_all() local
275 for (tp = PMtab; tp; tp = tp->p_next) { in open_all()
276 if ((tp->p_status > 0) && (tp->p_fd == 0) && in open_all()
279 ((tp->p_dmsg == NULL)||(*(tp->p_dmsg) == '\0'))))) { in open_all()
305 ((tp->p_dmsg == NULL)||(*(tp->p_dmsg) == '\0'))))) { in open_all()
521 for (tp = PMtab; tp; tp = tp->p_next) { in set_poll()
[all …]
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs_stubs.c598 tp->DesiredTuple = CISTPL_CONFIG; in csx_Parse_CISTPL_CONFIG()
609 tp->DesiredTuple = CISTPL_DEVICE; in csx_Parse_CISTPL_DEVICE()
653 tp->DesiredTuple = CISTPL_VERS_1; in csx_Parse_CISTPL_VERS_1()
664 tp->DesiredTuple = CISTPL_VERS_2; in csx_Parse_CISTPL_VERS_2()
697 tp->DesiredTuple = CISTPL_FORMAT; in csx_Parse_CISTPL_FORMAT()
743 tp->DesiredTuple = CISTPL_DATE; in csx_Parse_CISTPL_DATE()
765 tp->DesiredTuple = CISTPL_ORG; in csx_Parse_CISTPL_ORG()
799 tp->DesiredTuple = CISTPL_FUNCE; in csx_Parse_CISTPL_FUNCE()
885 tp->DesiredTuple = CISTPL_SPCL; in csx_Parse_CISTPL_SPCL()
897 tp->DesiredTuple = CISTPL_SWIL; in csx_Parse_CISTPL_SWIL()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dthread_intr.c44 kthread_t *tp; in thread_create_intr() local
58 THREAD_FREEINTR(tp, cp); in thread_create_intr()
64 tp->t_cred = NULL; in thread_create_intr()
65 tp->t_flag |= T_INTR_THREAD; in thread_create_intr()
66 tp->t_cpu = cp; in thread_create_intr()
67 tp->t_bound_cpu = cp; in thread_create_intr()
69 tp->t_affinitycnt = 1; in thread_create_intr()
70 tp->t_preempt = 1; in thread_create_intr()
77 tp->t_bind_pset = PS_NONE; in thread_create_intr()
80 tp->t_stk -= STACK_ALIGN; in thread_create_intr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dstty.c365 for (tp = Ttable; tp < &Ttable[elementsof(Ttable)]; tp++) in sane()
400 sp->c_cc[tp->mask] = cntl(tp->val); in sane()
468 const Tty_t *tp; in output() local
484 tp= &Ttable[i]; in output()
485 if(tp->flags&IG) in output()
491 switch(tp->type) in output()
511 if((sp->c_oflag&tp->mask)==tp->val) in output()
635 const Tty_t *tp; in set() local
647 if(!(tp=lookup(cp)) || (off && (tp->type!=BIT) && (tp->type!=TABS))) in set()
710 if(tp->mask) in set()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c48 Namval_t *tp; member
221 tdata.tp = ntp->tp; in b_typeset()
607 print_namval(sfstdout,np,tp->aflag=='+',tp); in setall()
721 if(tp->tp && nv_type(np)!=tp->tp) in setall()
723 nv_settype(np,tp->tp,tp->aflag=='-'?0:NV_APPEND); in setall()
785 if (tp->aflag && (tp->argnum>0 || (curflag!=newflag))) in setall()
859 print_scan(sfstdout,flag,troot,tp->aflag=='+',tp); in setall()
1311 nv_attribute(np,tp->outfile,tp->prefix,tp->aflag); in print_namval()
1396 else if(outname || (tp->scanmask && tp->scanroot==tp->sh->var_tree)) in print_namval()
1438 if(!tp->prefix && tp->tp) in print_scan()
[all …]

12345678910>>...23