Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 558) sorted by last modified time

12345678910>>...23

/illumos-gate/usr/src/common/smbios/
H A Dsmb_info.c1776 smb_tprobe_t tp; in smbios_info_tprobe() local
1788 smb_info_bcopy(stp->smbst_hdr, &tp, sizeof (tp)); in smbios_info_tprobe()
1789 tprobe->smbtp_description = smb_strptr(stp, tp.smbtpr_descr); in smbios_info_tprobe()
1790 tprobe->smbtp_location = SMB_TPROBE_LOCATION(tp.smbtpr_locstat); in smbios_info_tprobe()
1791 tprobe->smbtp_status = SMB_TPROBE_STATUS(tp.smbtpr_locstat); in smbios_info_tprobe()
1792 tprobe->smbtp_maxval = tp.smbtpr_maxval; in smbios_info_tprobe()
1793 tprobe->smbtp_minval = tp.smbtpr_minval; in smbios_info_tprobe()
1794 tprobe->smbtp_resolution = tp.smbtpr_resolution; in smbios_info_tprobe()
1795 tprobe->smbtp_tolerance = tp.smbtpr_tolerance; in smbios_info_tprobe()
1796 tprobe->smbtp_accuracy = tp.smbtpr_accuracy; in smbios_info_tprobe()
[all …]
/illumos-gate/usr/src/cmd/smbios/
H A Dsmbios.c1380 smbios_tprobe_t tp; in print_tprobe() local
1389 tp.smbtp_description : "unknown"); in print_tprobe()
1393 fp, " Status: %u", tp.smbtp_status); in print_tprobe()
1397 tp.smbtp_maxval / 10, tp.smbtp_maxval % 10); in print_tprobe()
1404 tp.smbtp_minval / 10, tp.smbtp_minval % 10); in print_tprobe()
1411 tp.smbtp_resolution / 1000, in print_tprobe()
1412 tp.smbtp_resolution % 1000); in print_tprobe()
1419 tp.smbtp_tolerance / 10, tp.smbtp_tolerance % 10); in print_tprobe()
1426 tp.smbtp_accuracy / 100, in print_tprobe()
1427 tp.smbtp_accuracy % 100); in print_tprobe()
[all …]
/illumos-gate/usr/src/uts/common/
H A DMakefile.files1982 mv88e1xxx.o mv88x201x.o my3126.o pm3393.o tp.o ulp.o \
/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/uts/common/fs/nfs/
H A Dnfs4_srv.c3086 tsol_tpc_t *tp; in do_rfs4_op_lookup() local
3098 tp = find_tpc(ipaddr, addr_type, B_FALSE); in do_rfs4_op_lookup()
3099 if (tp == NULL || tp->tpc_tp.tp_doi != in do_rfs4_op_lookup()
3100 l_admin_low->tsl_doi || tp->tpc_tp.host_type != in do_rfs4_op_lookup()
3102 if (tp != NULL) in do_rfs4_op_lookup()
3103 TPC_RELE(tp); in do_rfs4_op_lookup()
3107 TPC_RELE(tp); in do_rfs4_op_lookup()
H A Dnfs_subr.c5128 tsol_tpc_t *tp; in nfs_mount_label_policy() local
5156 tp = find_tpc(ipaddr, addr_type, B_FALSE); in nfs_mount_label_policy()
5157 if (tp == NULL) in nfs_mount_label_policy()
5160 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi) in nfs_mount_label_policy()
5162 if ((tp->tpc_tp.host_type != SUN_CIPSO) && in nfs_mount_label_policy()
5163 (tp->tpc_tp.host_type != UNLABELED)) in nfs_mount_label_policy()
5166 if (tp->tpc_tp.host_type == SUN_CIPSO) { in nfs_mount_label_policy()
5173 server_sl = &tp->tpc_tp.tp_def_label; in nfs_mount_label_policy()
5208 TPC_RELE(tp); in nfs_mount_label_policy()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c568 struct timeval tp; in timetorefresh() local
571 if (cfg == NULL || gettimeofday(&tp, NULL) == -1) in timetorefresh()
579 return (expire != 0 && tp.tv_sec > expire); in timetorefresh()
/illumos-gate/usr/src/cmd/saf/
H A Dsac.c682 char *tp; /* scratch pointer */ in mkargv() local
712 tp = p; in mkargv()
724 if (*(tp - 1) == '\\') { in mkargv()
726 *(tp - 1) = *p; in mkargv()
729 *tp = 0; in mkargv()
739 *tp++ = *p++; in mkargv()
H A Dpmadm.c450 tp = &tl;
456 while (tp) {
488 tp = tp->t_next;
503 tp = tp->t_next;
530 tp = tp->t_next;
813 tp = &tl;
837 tp = tp->t_next;
852 tp = tp->t_next;
974 tp = tp->t_next; in list_svcs()
992 tp->t_tag, tp->t_type, pp->p_tag, in list_svcs()
[all …]
/illumos-gate/usr/src/cmd/raidctl/
H A Draidctl.c2536 char *tp = NULL; in get_array_tag() local
2559 ((tp = strchr(t, 't')) == NULL) || in get_array_tag()
2568 *tp = '\0'; in get_array_tag()
2569 tp++; in get_array_tag()
2573 is_fully_numeric(tp) == FALSE || in get_array_tag()
2580 value_t = atoi(tp); in get_array_tag()
2606 char *tp = NULL; in get_disk_tag_ctd() local
2638 *tp = '\0'; in get_disk_tag_ctd()
2639 tp++; in get_disk_tag_ctd()
2643 is_fully_numeric(tp) == FALSE || in get_disk_tag_ctd()
[all …]
/illumos-gate/usr/src/cmd/ps/
H A Dps.c999 if (!prfind(found, &info, &tp)) in print_proc()
1040 prcom(&info, tp); in print_proc()
1045 prcom(&info, tp); in print_proc()
1296 char *tp; in prfind() local
1312 tp = gettty(psinfo); in prfind()
1313 if (aflg && *tp == '?') { in prfind()
1314 *tpp = tp; in prfind()
1324 if (strcmp(tp, ttyp->tname) == 0) { in prfind()
1341 tp = other; in prfind()
1347 *tpp = tp; in prfind()
[all …]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c1632 struct timeval tp; in getldap_serverInfo_op() local
1710 if (gettimeofday(&tp, NULL) == 0) in getldap_serverInfo_op()
1711 prev_refresh = tp.tv_sec; in getldap_serverInfo_op()
1786 if (gettimeofday(&tp, NULL) == 0) in getldap_serverInfo_op()
1787 prev_refresh = tp.tv_sec; in getldap_serverInfo_op()
2354 struct timeval tp; in getldap_init() local
2378 prev_refresh_time = tp.tv_sec; in getldap_init()
2395 struct timeval tp; in perform_update() local
2408 if (gettimeofday(&tp, NULL) != 0) in perform_update()
2479 prev_refresh_time = tp.tv_sec; in perform_update()
[all …]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c3618 tp = plp + 1; in sigpoll()
3622 Plfree = tp; in sigpoll()
3624 tp->pl_next = tp + 1; in sigpoll()
3625 tp++; in sigpoll()
3643 while (tp) { in sigpoll()
3645 savetp = tp; in sigpoll()
3646 tp = tp->pl_next; in sigpoll()
3683 while (tp) { in sigpoll()
3686 savetp = tp; in sigpoll()
3687 tp = tp->pl_next; in sigpoll()
[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/cmd/csh/
H A Dsh.proc.c599 struct process *pp, *tp; in pendjob() local
609 tp = pp; in pendjob()
613 } while (pp != tp); in pendjob()
626 struct process *tp; in pprint() local
640 tp = pp; in pprint()
654 if (pp == tp) in pprint()
719 if (tp == pp->p_friends) { in pprint()
737 if (tp == pp->p_friends) { in pprint()
750 ptprint(tp); in pprint()
756 ptprint(struct process *tp) in ptprint() argument
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c946 struct termios tp; in doit() local
1121 if (ioctl(t, TCGETS, &tp) == -1) in doit()
1123 tp.c_lflag &= ~(ECHO|ICANON); in doit()
1124 tp.c_oflag &= ~(XTABS|OCRNL); in doit()
1125 tp.c_iflag &= ~(IGNPAR|ICRNL); in doit()
1126 if (ioctl(t, TCSETS, &tp) == -1) in doit()
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/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c118 struct timeval tp; in getcurrenttime() local
120 if (gettimeofday(&tp, NULL) < 0) { in getcurrenttime()
124 return (tp.tv_sec * 1000 + tp.tv_usec / 1000); in getcurrenttime()
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c146 struct tm *tp; in checkhol() local
156 tp = localtime(&t); in checkhol()
157 tp->tm_year += 1900; in checkhol()
158 if ((tp->tm_year == thisyear && tp->tm_yday > 359) in checkhol()
159 || tp->tm_year > thisyear) in checkhol()
/illumos-gate/usr/src/boot/common/
H A Dtem.c424 if (tems.ts_pdepth != tp->depth) in tems_check_videomode()
427 if (tp->mode == VIS_TEXT) { in tems_check_videomode()
491 tems.ts_pdepth = tp->depth; in tems_setup_terminal()
492 tems.ts_linebytes = tp->linebytes; in tems_setup_terminal()
493 tems.ts_display_mode = tp->mode; in tems_setup_terminal()
494 tems.ts_color_map = tp->color_map; in tems_setup_terminal()
496 switch (tp->mode) { in tems_setup_terminal()
501 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal()
506 8 * tp->width + BORDER_PIXELS); in tems_setup_terminal()
528 tems_setup_font(tp->height, tp->width); in tems_setup_terminal()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfakebop.c2290 sum += *tp++; in checksum_table()
2417 tp = (ACPI_TABLE_HEADER *)vmap_phys(tp->Length, table_addr); in map_fw_table()
2418 return (tp); in map_fw_table()
2503 return (tp); in find_fw_table()
2517 cfg_baa_endp = ((char *)tp) + tp->Header.Length; in process_mcfg()
2642 if (tp != NULL) in process_madt()
2655 if (tp != NULL) in process_madt()
2685 if (tp == NULL) in process_srat()
2790 tp->LocalityCount * tp->LocalityCount); in process_slit()
2804 for (item = (void *)((uintptr_t)tp + tp->ProximityOffset); in process_msct()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dsendmail.c38 char *tp, *zp; in sendmail() local
87 tp = asctime(bp); in sendmail()
89 sprintf(datestring, "%.16s %.3s %.5s", tp, zp, tp+20); in sendmail()
95 tp, tp+8, tp+4, tp+20, tp+11, zp); in sendmail()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1974 pr_name(tp->router), tp->preference, in report_routes()
1977 tp = tp->next; in report_routes()
1990 tp = tp->next; in find_router()
2005 tp = tp->next; in max_preference()
2045 if (tp->preference == max && !tp->in_kernel) { in age_table()
2049 tp = tp->next; in age_table()
2090 if (tp->preference == max && !tp->in_kernel) { in flush_unreachable_routers()
2094 tp = tp->next; in flush_unreachable_routers()
2113 if (tp) { in record_router()
2157 tp = tp->next; in record_router()
[all …]
/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/cmd/bnu/
H A Dutility.c104 register struct tm *tp; in timeStamp() local
109 tp = localtime(&clock); in timeStamp()
110 (void) sprintf(str, "%d/%d-%d:%2.2d:%2.2d", tp->tm_mon + 1, in timeStamp()
111 tp->tm_mday, tp->tm_hour, tp->tm_min, tp->tm_sec); in timeStamp()

12345678910>>...23