Home
last modified time | relevance | path

Searched refs:tp (Results 176 – 200 of 558) sorted by relevance

12345678910>>...23

/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsggen.c187 Sfio_t* tp; in ccsfprintf() local
194 else if (tp = sfstropen()) in ccsfprintf()
196 n = sfvprintf(tp, format, ap); in ccsfprintf()
197 s = sfstrbase(tp); in ccsfprintf()
200 sfstrclose(tp); in ccsfprintf()
223 Sfio_t* tp; in main() local
357 if (!(tp = sfstropen())) in main()
427 sfwrite(tp, s, t - s); in main()
434 sfwrite(tp, s, t - s); in main()
436 if (!(s = sfstruse(tp))) in main()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c651 tp = lrp->lbp->prp; in nfslog_ins_last_rec_processed()
655 tp = tp->next; in nfslog_ins_last_rec_processed()
663 if (tp == lrp->lbp->prp && prp->start_offset < tp->start_offset) in nfslog_ins_last_rec_processed()
673 tp = prp->prev; in nfslog_ins_last_rec_processed()
678 prp = tp; in nfslog_ins_last_rec_processed()
684 tp = prp->next; in nfslog_ins_last_rec_processed()
685 remque(tp); in nfslog_ins_last_rec_processed()
686 free(tp); in nfslog_ins_last_rec_processed()
701 tp = prp->next; in nfslog_ins_last_rec_processed()
702 if (tp != prp) in nfslog_ins_last_rec_processed()
[all …]
/illumos-gate/usr/src/boot/libsa/string/
H A Dswab.c46 char *fp, *tp; in swab() local
52 tp = (char *)to; in swab()
53 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp in swab()
/illumos-gate/usr/src/uts/common/sys/
H A Dsuntpi.h68 #define PI_PROVLOCK(tp) mutex_enter(&(tp)->tpi_lock) argument
69 #define PI_PROVUNLOCK(tp) mutex_exit(&(tp)->tpi_lock) argument
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmautobaud.c134 struct autobaud *tp; in autobaud() local
165 for (tp = autob2400; tp->a_speed; tp++) { in autobaud()
167 if (buf[i] != tp->a_pattern[i]) in autobaud()
170 return (tp->a_speed); in autobaud()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Denum.c191 Namval_t *np, *tp; in enum_create() local
230 tp = nv_open(stakptr(n), shp->var_tree, NV_VARNAME); in enum_create()
234 nv_onattr(tp, NV_UINT16); in enum_create()
235 nv_putval(tp, (char*)&i, NV_INTEGER); in enum_create()
262 ep->hdr.type = tp; in enum_create()
263 nv_onattr(tp, NV_RDONLY); in enum_create()
264 nv_disc(tp, &ep->hdr,NV_FIRST); in enum_create()
267 optdisc.np = tp; in enum_create()
268 nv_addtype(tp, enum_type, &optdisc.opt, sizeof(optdisc)); in enum_create()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dtable.c67 static struct timeval tp; variable
84 (void) gettimeofday(&tp, NULL); in find_match()
85 current_time = tp.tv_sec; in find_match()
135 (void) gettimeofday(&tp, NULL); in find_request()
136 current_time = tp.tv_sec; in find_request()
189 (void) gettimeofday(&tp, NULL); in insert_table()
190 current_time = tp.tv_sec; in insert_table()
/illumos-gate/usr/src/lib/libsec/common/
H A Dacltext.c187 aclent_t *tp; in aclent_printacl() local
197 for (tp = aclp->acl_aclp; tp && aclcnt--; tp++) { in aclent_printacl()
198 if (tp->a_type == CLASS_OBJ) in aclent_printacl()
199 mask = tp->a_perm; in aclent_printacl()
202 for (tp = aclp->acl_aclp; aclcnt--; tp++) { in aclent_printacl()
204 switch (tp->a_type) { in aclent_printacl()
206 aclent_perms(tp->a_perm, perm); in aclent_printacl()
214 aclent_perms(tp->a_perm, perm); in aclent_printacl()
218 aclent_perms(tp->a_perm, perm); in aclent_printacl()
225 aclent_perms(tp->a_perm, perm); in aclent_printacl()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dcpu.c378 CL_SETRUN(tp); in force_thread_migrate()
386 setbackdq(tp); in force_thread_migrate()
388 thread_unlock(tp); in force_thread_migrate()
2561 thread_lock(tp); in cpu_bind_thread()
2615 if (tp->t_cid == 0 || !hasprocperm(tp->t_cred, CRED())) { in cpu_bind_thread()
2655 lgrp_choose(tp, tp->t_cpupart), 1); in cpu_bind_thread()
2658 tp->t_cpu->cpu_part != tp->t_cpupart) in cpu_bind_thread()
2672 lpl = lgrp_affinity_best(tp, tp->t_cpupart, in cpu_bind_thread()
2725 aston(tp); in cpu_bind_thread()
2955 kthread_t *tp; in cpu_unbind() local
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfstat.c1302 tp->st_p = ips.is_p;
1483 tp = tstable;
1485 tp += tsentry;
1494 getip(tp->st_v, &tp->st_src),
1497 getip(tp->st_v, &tp->st_dst),
1501 &tp->st_src));
1503 &tp->st_dst));
1511 tp->st_state[1]);
1532 printw(" %7lu %9lu", tp->st_pkts, tp->st_bytes);
1537 tp--;
[all …]
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c60 struct tmpnode *tp = vtp; in tmp_taccess() local
66 if (crgetuid(cred) != tp->tn_uid) { in tmp_taccess()
68 if (groupmember(tp->tn_gid, cred) == 0) in tmp_taccess()
72 return (secpolicy_vnode_access2(cred, TNTOV(tp), tp->tn_uid, in tmp_taccess()
73 tp->tn_mode << shift, mode)); in tmp_taccess()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c578 tp = termspeeds;
579 while ((tp->speed != -1) && (tp->value < in)) {
580 tp++;
582 if (tp->speed == -1)
584 *ispeed = tp->speed;
586 tp = termspeeds;
587 while ((tp->speed != -1) && (tp->value < out)) {
588 tp++;
590 if (tp->speed == -1)
591 tp--;
[all …]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dapix.h286 struct autovec *tp = NULL;\
288 tp = apix_rebindinfo.i_old_av;\
290 tp = apix_rebindinfo.i_new_av;\
291 ASSERT(tp != NULL);\
292 if (tp->av_vector != NULL &&\
293 (tp->av_flags & AV_PENTRY_PEND) == 0) {\
294 tp->av_flags |= AV_PENTRY_PEND;\
295 apix_insert_pending_av(apixs[(_cpu)], tp,\
296 tp->av_prilevel);\
298 (1 << tp->av_prilevel);\
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c120 void jkfprintf(FILE *tp, char *name, int mbox, int offset);
274 FILE *tp; in notify() local
348 if ((tp = fdopen(fd, "w")) == 0) { in notify()
358 fprintf(tp, "%s\n\007New mail for %s@%.*s\007 has arrived:%s\n", in notify()
360 fprintf(tp, "----%s\n", cr); in notify()
390 jkfprintf(tp, name, mbox, offset); in notify()
396 jkfprintf(FILE *tp, char *name, int mbox, int offset) in jkfprintf() argument
429 fprintf(tp, "...more...%s\n", cr); in jkfprintf()
456 fprintf(tp, "%s%s\n", line, cr); in jkfprintf()
459 fprintf(tp, "----%s\n", cr); in jkfprintf()
/illumos-gate/usr/src/uts/common/syscall/
H A Dntptime.c74 ntp_gettime(struct ntptimeval *tp) in ntp_gettime() argument
89 if (copyout(&ntv, tp, sizeof (ntv))) in ntp_gettime()
102 if (copyout(&ntv32, tp, sizeof (ntv32))) in ntp_gettime()
145 ntp_adjtime(struct timex *tp) in ntp_adjtime() argument
150 if (copyin(tp, &ntv, sizeof (ntv))) in ntp_adjtime()
219 if (copyout(&ntv, tp, sizeof (ntv))) in ntp_adjtime()
/illumos-gate/usr/src/cmd/allocate/
H A Ddminfo.c121 int tp = 0; in main() local
147 if ((name) || (device) || (update) || (tp)) { in main()
163 if ((name) || (device) || (update) || (tp)) { in main()
170 if ((name) || (device) || (update) || (tp)) { in main()
174 tp++; in main()
177 if ((name) || (device) || (update) || (tp)) { in main()
200 if ((device) || (name) || (update) || (tp)) { in main()
442 if (tp) { in main()
/illumos-gate/usr/src/uts/common/io/
H A Dtem.c521 if (tems.ts_pdepth != tp->depth) in tems_check_videomode()
524 if (tp->mode == VIS_TEXT) { in tems_check_videomode()
578 tems.ts_pdepth = tp->depth; in tems_setup_terminal()
579 tems.ts_linebytes = tp->linebytes; in tems_setup_terminal()
580 tems.ts_display_mode = tp->mode; in tems_setup_terminal()
581 tems.ts_color_map = tp->color_map; in tems_setup_terminal()
583 switch (tp->mode) { in tems_setup_terminal()
587 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal()
592 8 * tp->width + BORDER_PIXELS); in tems_setup_terminal()
611 tems_setup_font(tp->height, tp->width); in tems_setup_terminal()
[all …]
/illumos-gate/usr/src/cmd/scsi/sestopo/common/
H A Dsestopo.c79 ses_target_t *tp; in main() local
85 if ((tp = ses_open(LIBSES_VERSION, argv[1])) == NULL) in main()
88 sp = ses_snap_hold(tp); in main()
93 ses_close(tp); in main()
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c1000 uchar_t *tp; in ahdlc_encode() local
1038 tp = outmp->b_wptr; in ahdlc_encode()
1046 *tp++ = PPP_FLAG; in ahdlc_encode()
1127 *tp++ = chr; in ahdlc_encode()
1137 *tp++ = chr; in ahdlc_encode()
1202 *tp++ = chr; in ahdlc_encode()
1209 *tp++ = chr; in ahdlc_encode()
1217 *tp++ = chr; in ahdlc_encode()
1224 *tp++ = chr; in ahdlc_encode()
1231 *tp++ = PPP_FLAG; in ahdlc_encode()
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_subr.c325 char *tp = namep; in pc_fname_ext_to_name() local
334 *tp++ = tolower(c); in pc_fname_ext_to_name()
336 *tp++ = c; in pc_fname_ext_to_name()
340 *tp++ = '.'; in pc_fname_ext_to_name()
347 *tp++ = tolower(c); in pc_fname_ext_to_name()
349 *tp++ = c; in pc_fname_ext_to_name()
353 *tp = '\0'; in pc_fname_ext_to_name()
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c99 static void tp(ipc_time_t);
248 tp(qds.msgx_stime); in main()
249 tp(qds.msgx_rtime); in main()
250 tp(qds.msgx_ctime); in main()
308 tp(mds.shmx_atime); in main()
309 tp(mds.shmx_dtime); in main()
310 tp(mds.shmx_ctime); in main()
366 tp(sds.semx_otime); in main()
367 tp(sds.semx_ctime); in main()
437 tp(ipc_time_t gmt64) in tp() function
/illumos-gate/usr/src/lib/libkvm/common/
H A Dtest.c359 struct proc tp; in tst_getu() local
427 caddr_t tp, alltp; in tst_segkp() local
441 for (tp = alltp; tp; tp = (caddr_t)(t.t_next)) { in tst_segkp()
443 (uintptr_t)tp, &t, sizeof (t)) != sizeof (t)) { in tst_segkp()
444 printf("ERROR: couldn't read thread, addr 0x%p\n", tp); in tst_segkp()
448 printf("thread 0x%p\n", tp); in tst_segkp()
450 tp, t.t_stk, t.t_pcb.val[1], t.t_tid, t.t_next, t.t_prev); in tst_segkp()
454 printf("ERROR: couldn't read stack, taddr 0x%p\n", tp); in tst_segkp()
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/
H A Dtst.regs.s29 add tp, tp, tp
60 add sp, gp, tp
61 add gp, tp, t0
62 add tp, t0, t1
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_topo.c66 topo_hdl_t *tp; in fmd_topo_update() local
81 if ((tp = topo_open(TOPO_VERSION, name, &err)) == NULL) in fmd_topo_update()
86 ftp->ft_hdl = tp; in fmd_topo_update()
89 if ((id = topo_snap_hold(tp, NULL, &err)) == NULL) in fmd_topo_update()
93 topo_hdl_strfree(tp, id); in fmd_topo_update()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vwind.c326 vback(tp, cnt) in vback() argument
328 line *tp;
333 for (; tp > one; tp--) {
334 getaline(tp[-1]);
340 return (tp);
347 vfit(line *tp, int cnt) in vfit() argument
354 getaline(tp[cnt]); in vfit()
357 if (tp > dot) in vfit()

12345678910>>...23