Home
last modified time | relevance | path

Searched refs:pts (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/tools/test/stress2/misc/
H A Ddev3.sh49 pts=`vmstat -m | grep pts | awk '{print $2}'`
50 [ -z "$pts" ] && pts=0
56 new=`vmstat -m | grep pts | awk '{print $2}'`
57 if [ $new -gt $pts ]; then
58 leak=$((new - pts))
61 pts=$new
H A Dpts.sh37 sed '1,/^EOF/d' < $here/$0 > pts.c
38 mycc -o pts -Wall -Wextra -O2 pts.c -lutil || exit 1
39 rm -f pts.c
41 /tmp/pts &
50 rm -f /tmp/pts
H A Dpts2.sh43 pts=`vmstat -m | awk '/ pts / {print $2}'`
49 [ $((new - pts)) -gt 1 ] && { s=1; echo "Leaked $((new - pts)) pts."; }
H A Dall.debug.inc35 debug_pts=`vmstat -m | grep -w pts | awk '{print $2}'`
63 debug_new=`vmstat -m | grep -w pts | awk '{print $2}'`
65 { printf "stress2: pts leak: %d/%d\r\n" \
H A Dposix_openpt.sh49 for i in /dev/pts/*; do
/freebsd/lib/libprocstat/
H A Dlibprocstat_compat.c91 struct filestat *fst, struct freebsd11_ptsstat *pts, char *errbuf);
111 struct ptsstat pts; in freebsd11_procstat_get_pts_info() local
114 r = procstat_get_pts_info(procstat, fst, &pts, errbuf); in freebsd11_procstat_get_pts_info()
117 pts_compat->dev = pts.dev; in freebsd11_procstat_get_pts_info()
118 if (strlen(pts.devname) >= sizeof(pts_compat->devname)) in freebsd11_procstat_get_pts_info()
121 memcpy(pts_compat->devname, pts.devname, in freebsd11_procstat_get_pts_info()
130 struct ptsstat pts; in freebsd12_procstat_get_pts_info() local
133 r = procstat_get_pts_info(procstat, fst, &pts, errbuf); in freebsd12_procstat_get_pts_info()
136 pts_compat->dev = pts.dev; in freebsd12_procstat_get_pts_info()
137 if (strlen(pts.devname) >= sizeof(pts_compat->devname)) in freebsd12_procstat_get_pts_info()
[all …]
H A Dlibprocstat.c131 struct ptsstat *pts, char *errbuf);
133 struct ptsstat *pts, char *errbuf);
1010 struct ptsstat *pts, char *errbuf) in procstat_get_pts_info() argument
1013 assert(pts); in procstat_get_pts_info()
1015 return (procstat_get_pts_info_kvm(procstat->kd, fst, pts, in procstat_get_pts_info()
1019 return (procstat_get_pts_info_sysctl(fst, pts, errbuf)); in procstat_get_pts_info()
1030 struct ptsstat *pts, char *errbuf) in procstat_get_pts_info_kvm() argument
1036 assert(pts); in procstat_get_pts_info_kvm()
1038 bzero(pts, sizeof(*pts)); in procstat_get_pts_info_kvm()
1046 pts->dev = dev2udev(kd, tty.t_dev); in procstat_get_pts_info_kvm()
[all …]
H A Dlibprocstat.h225 struct ptsstat *pts, char *errbuf);
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c84 char *pts; in openpty_streams() local
99 if ((pts = ptsname(ptm)) == NULL) in openpty_streams()
104 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty_streams()
/freebsd/usr.bin/fstat/
H A Dfstat.c489 struct ptsstat pts; in print_pts_info() local
493 error = procstat_get_pts_info(procstat, fst, &pts, errbuf); in print_pts_info()
499 if (nflg || !*pts.devname) { in print_pts_info()
500 printf("%#10jx", (uintmax_t)pts.dev); in print_pts_info()
502 printf("%10s", pts.devname); in print_pts_info()
/freebsd/tools/test/stress2/tools/
H A Dptsleak.sh33 n=`find /dev/pts -mtime +15m 2>/dev/null | wc -l`
H A Dfail.sh60 dev3.sh 20170323 pts memory leak
/freebsd/bin/pkill/tests/
H A Dpkill-t_test.sh14 pts/*) ttyshort=`echo $tty | cut -c 5-` ;;
H A Dpgrep-t_test.sh14 pts/*) ttyshort=`echo $tty | cut -c 5-` ;;
/freebsd/crypto/openssl/crypto/ec/
H A Dec_mult.c100 EC_POINT **pts; in EC_ec_pre_comp_free() local
102 for (pts = pre->points; *pts != NULL; pts++) in EC_ec_pre_comp_free()
103 EC_POINT_free(*pts); in EC_ec_pre_comp_free()
/freebsd/sbin/devfs/
H A Ddevfs.rules71 add path pts unhide
72 add path 'pts/*' unhide
/freebsd/contrib/ntp/ntpd/
H A Dntpd.c1507 l_fp pts;
1511 get_systime(&pts);
1512 tsa = pts;
1534 l_fp dts = pts;
1489 l_fp pts; global() local
H A Dntp_io.c3453 struct timespec pts;
3454 memcpy(&pts, CMSG_DATA(cmsghdr), sizeof(pts));
3457 ticks = (unsigned long)((pts.tv_nsec * 1e-9) /
3459 pts.tv_nsec = (long)(ticks * 1e9 *
3463 pts.tv_sec, pts.tv_nsec));
3464 nts = tspec_stamp_to_lfp(pts);
3412 struct timespec pts; global() local
H A Drefclock_parse.c2240 struct timespec pts; in local_input() local
2246 pts = pps_info.clear_timestamp; in local_input()
2248 pts = pps_info.assert_timestamp; in local_input()
2250 parse->parseio.parse_dtime.parse_ptime.fp.l_ui = (uint32_t) (pts.tv_sec + JAN_1970); in local_input()
2252 dtemp = (double) pts.tv_nsec / 1e9; in local_input()
/freebsd/crypto/openssh/
H A DREADME.privsep47 stevesk 6921 6919 0 15:19:17 pts/2 0:00 -bash
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_radio_2056.c10281 const struct b2056_inittabs_pts *pts; in b2056_upload_inittabs() local
10283 pts = bwn_nphy_get_inittabs_rev3(mac); in b2056_upload_inittabs()
10284 if (!pts) { in b2056_upload_inittabs()
10291 B2056_SYN, pts->syn, pts->syn_length); in b2056_upload_inittabs()
10293 B2056_TX0, pts->tx, pts->tx_length); in b2056_upload_inittabs()
10295 B2056_TX1, pts->tx, pts->tx_length); in b2056_upload_inittabs()
10297 B2056_RX0, pts->rx, pts->rx_length); in b2056_upload_inittabs()
10299 B2056_RX1, pts->rx, pts->rx_length); in b2056_upload_inittabs()
10304 const struct b2056_inittabs_pts *pts; in b2056_upload_syn_pll_cp2() local
10307 pts = bwn_nphy_get_inittabs_rev3(mac); in b2056_upload_syn_pll_cp2()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c793 struct task_struct *pts = current; in linux_remap_address() local
794 if (pts == NULL) { in linux_remap_address()
804 (uaddr_val + len) > pts->bsd_ioctl_len) { in linux_remap_address()
810 uaddr_val += (uintptr_t)pts->bsd_ioctl_data; in linux_remap_address()
/freebsd/sys/kern/
H A Dtty_pts.c869 SYSINIT(pts, SI_SUB_DRIVERS, SI_ORDER_MIDDLE, pts_init, NULL);
/freebsd/share/man/man4/
H A DMakefile476 pts.4 \
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoXCV.td752 def : Pat<(int_riscv_cv_bitmanip_bitrev GPR:$rs1, cv_tuimm5:$pts,
754 (CV_BITREV GPR:$rs1, cv_tuimm2:$radix, cv_tuimm5:$pts)>;

12