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

/freebsd-current/tools/test/stress2/tools/
H A Dptsleak.sh29 # Keep count of pts that hasn't been in use for the last 15 minutes
33 n=`find /dev/pts -mtime +15m 2>/dev/null | wc -l`
H A Dfail.sh60 dev3.sh 20170323 pts memory leak
/freebsd-current/tools/test/stress2/misc/
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
144 churn("/dev/pts");
H A Ddev3.sh29 # pts memory leak regression test.
32 # /dev/pts/ is being opened.
49 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))
59 printf "flag %d (0x%x) leaks %d pts,
[all...]
H A Dpts2.sh29 # pts leak seen.
43 pts=`vmstat -m | awk '/ pts / {print $2}'`
47 new=`vmstat -m | awk '/ pts / {print $2}'`
49 [ $((new - pts)) -gt 1 ] && { s=1; echo "Leaked $((new - pts)) pts."; }
73 snprintf(sl, sizeof(sl), "/dev/pts/%d", slave);
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-current/lib/libprocstat/
H A Dlibprocstat_compat.c91 struct filestat *fst, struct freebsd11_ptsstat *pts, char *errbuf);
111 struct ptsstat pts; local
114 r = procstat_get_pts_info(procstat, fst, &pts, errbuf);
117 pts_compat->dev = pts.dev;
118 if (strlen(pts.devname) >= sizeof(pts_compat->devname))
121 memcpy(pts_compat->devname, pts.devname,
130 struct ptsstat pts; local
133 r = procstat_get_pts_info(procstat, fst, &pts, errbuf);
136 pts_compat->dev = pts.dev;
137 if (strlen(pts
[all...]
H A Dlibprocstat.c131 struct ptsstat *pts, char *errbuf);
133 struct ptsstat *pts, char *errbuf);
1010 struct ptsstat *pts, char *errbuf)
1013 assert(pts);
1015 return (procstat_get_pts_info_kvm(procstat->kd, fst, pts,
1019 return (procstat_get_pts_info_sysctl(fst, pts, errbuf));
1030 struct ptsstat *pts, char *errbuf)
1036 assert(pts);
1038 bzero(pts, sizeof(*pts));
1009 procstat_get_pts_info(struct procstat *procstat, struct filestat *fst, struct ptsstat *pts, char *errbuf) argument
1029 procstat_get_pts_info_kvm(kvm_t *kd, struct filestat *fst, struct ptsstat *pts, char *errbuf) argument
1057 procstat_get_pts_info_sysctl(struct filestat *fst, struct ptsstat *pts, char *errbuf __unused) argument
[all...]
H A Dlibprocstat.h224 struct ptsstat *pts, char *errbuf);
/freebsd-current/bin/pkill/tests/
H A Dpgrep-t_test.sh14 pts/*) ttyshort=`echo $tty | cut -c 5-` ;;
H A Dpkill-t_test.sh14 pts/*) ttyshort=`echo $tty | cut -c 5-` ;;
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c84 char *pts; local
99 if ((pts = ptsname(ptm)) == NULL)
104 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) {
120 * in Solaris pts(7).
/freebsd-current/usr.bin/fstat/
H A Dfstat.c489 struct ptsstat pts; local
493 error = procstat_get_pts_info(procstat, fst, &pts, errbuf);
499 if (nflg || !*pts.devname) {
500 printf("%#10jx", (uintmax_t)pts.dev);
502 printf("%10s", pts.devname);
/freebsd-current/crypto/openssl/crypto/ec/
H A Dec_mult.c100 EC_POINT **pts; local
102 for (pts = pre->points; *pts != NULL; pts++)
103 EC_POINT_free(*pts);
/freebsd-current/contrib/ntp/ntpd/
H A Dntpd.c1507 l_fp pts; local
1511 get_systime(&pts);
1512 tsa = pts;
1534 l_fp dts = pts;
H A Dntp_io.c3453 struct timespec pts; local
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);
H A Drefclock_parse.c2240 struct timespec pts; local
2246 pts = pps_info.clear_timestamp;
2248 pts = pps_info.assert_timestamp;
2250 parse->parseio.parse_dtime.parse_ptime.fp.l_ui = (uint32_t) (pts.tv_sec + JAN_1970);
2252 dtemp = (double) pts.tv_nsec / 1e9;
/freebsd-current/sys/kern/
H A Dtty_pts.c72 * we can at most allocate 1000 pseudo-terminals ("pts/999"). Allow
78 static MALLOC_DEFINE(M_PTS, "pts", "pseudo tty device");
754 /* Try to allocate a new pts unit number. */
775 tty_makedev(tp, td->td_ucred, "pts/%u", psc->pts_unit);
869 SYSINIT(pts, SI_SUB_DRIVERS, SI_ORDER_MIDDLE, pts_init, NULL);
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c790 struct task_struct *pts = current; local
791 if (pts == NULL) {
801 (uaddr_val + len) > pts->bsd_ioctl_len) {
807 uaddr_val += (uintptr_t)pts->bsd_ioctl_data;
/freebsd-current/sys/contrib/v4l/
H A Dvideodev2.h1448 __u64 pts; member in struct:v4l2_enc_idx_entry
/freebsd-current/share/man/man4/
H A DMakefile470 pts.4 \
/freebsd-current/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_radio_2056.c10281 const struct b2056_inittabs_pts *pts; local
10283 pts = bwn_nphy_get_inittabs_rev3(mac);
10284 if (!pts) {
10285 device_printf(mac->mac_sc->sc_dev, "%s: pts=NULL\n",
10291 B2056_SYN, pts->syn, pts->syn_length);
10293 B2056_TX0, pts->tx, pts->tx_length);
10295 B2056_TX1, pts->tx, pts
10304 const struct b2056_inittabs_pts *pts; local
[all...]
/freebsd-current/sys/dev/atkbdc/
H A Dpsm.c320 int pts; member in struct:trackpointinfo
6776 { 0x01, 0x2c, PSM_TPINFO(pts) },
6919 sc->tpinfo.pts = 0x00;
6952 if (sc->tpinfo.pts == 0x01)
/freebsd-current/sys/contrib/dev/rtw88/
H A Drtw8723d.c936 u32 pts = (tx ? iqk_cfg->val_iqkpts : 0xf9000000); local
952 rtw_write32(rtwdev, REG_IQK_AGC_PTS_11N, pts);

Completed in 656 milliseconds