| /freebsd/sys/netpfil/ipfw/ |
| H A D | dn_aqm_pie.c | 206 struct pie_status *pst = (struct pie_status *) x; in calculate_drop_prob() local 209 pprms = pst->parms; in calculate_drop_prob() 210 prob = pst->drop_prob; in calculate_drop_prob() 217 pst->current_qdelay = ((uint64_t)pst->pq->ni.len_bytes * in calculate_drop_prob() 218 pst->avg_dq_time) >> PIE_DQ_THRESHOLD_BITS; in calculate_drop_prob() 220 if (!pst->pq->ni.len_bytes) in calculate_drop_prob() 221 pst->current_qdelay = 0; in calculate_drop_prob() 225 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); in calculate_drop_prob() 227 ((int64_t)pst->current_qdelay - (int64_t)pst->qdelay_old); in calculate_drop_prob() 288 if (pst->current_qdelay == 0 && pst->qdelay_old == 0) { in calculate_drop_prob() [all …]
|
| H A D | dn_sched_fq_pie.c | 110 struct pie_status pst; /* pie status variables */ member 380 struct pie_status *pst = &q->pst; in fq_calculate_drop_prob() local 385 pprms = pst->parms; in fq_calculate_drop_prob() 386 prob = pst->drop_prob; in fq_calculate_drop_prob() 393 pst->current_qdelay = ((uint64_t)q->stats.len_bytes * pst->avg_dq_time) in fq_calculate_drop_prob() 397 pst->current_qdelay = 0; in fq_calculate_drop_prob() 401 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); in fq_calculate_drop_prob() 403 ((int64_t)pst->current_qdelay - (int64_t)pst->qdelay_old); in fq_calculate_drop_prob() 464 if (pst->current_qdelay == 0 && pst->qdelay_old == 0) { in fq_calculate_drop_prob() 474 pst->drop_prob = prob; in fq_calculate_drop_prob() [all …]
|
| H A D | dn_aqm_pie.h | 107 drop_early(struct pie_status *pst, uint32_t qlen) in drop_early() argument 111 pprms = pst->parms; in drop_early() 115 if ((pst->qdelay_old < (pprms->qdelay_ref >> 1) in drop_early() 116 && pst->drop_prob < PIE_MAX_PROB / 5 ) in drop_early() 120 if (pst->drop_prob == 0) in drop_early() 121 pst->accu_prob = 0; in drop_early() 125 pst->accu_prob += pst->drop_prob; in drop_early() 135 if(pst->accu_prob < (uint64_t) (PIE_MAX_PROB * 17 / 20)) in drop_early() 137 if( pst->accu_prob >= (uint64_t) (PIE_MAX_PROB * 17 / 2)) in drop_early() 141 if (random() < pst->drop_prob) { in drop_early() [all …]
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_entry.c | 60 const struct stat *pst; in DEFINE_TEST() local 811 assert((pst = archive_entry_stat(e)) != NULL); in DEFINE_TEST() 812 if (pst == NULL) in DEFINE_TEST() 815 assertEqualInt(pst->st_atime, 456789); in DEFINE_TEST() 816 assertEqualInt(pst->st_ctime, 345678); in DEFINE_TEST() 817 assertEqualInt(pst->st_dev, 123); in DEFINE_TEST() 818 assertEqualInt(pst->st_gid, 34); in DEFINE_TEST() 819 assertEqualInt(pst->st_ino, 234); in DEFINE_TEST() 820 assertEqualInt(pst->st_mode, 012345); in DEFINE_TEST() 821 assertEqualInt(pst->st_mtime, 234567); in DEFINE_TEST() [all …]
|
| /freebsd/sys/modules/pst/ |
| H A D | Makefile | 1 .PATH: ${SRCTOP}/sys/dev/pst 3 KMOD= pst 4 SRCS= pst-pci.c pst-iop.c pst-raid.c
|
| /freebsd/contrib/xz/src/common/ |
| H A D | tuklib_physmem.c | 198 struct pst_static pst; in tuklib_physmem() local 199 if (pstat_getstatic(&pst, sizeof(pst), 1, 0) != -1) in tuklib_physmem() 200 ret = (uint64_t)pst.physical_memory * (uint64_t)pst.page_size; in tuklib_physmem()
|
| /freebsd/contrib/ntp/libntp/ |
| H A D | statestr.c | 288 static const char * peer_st_flags(u_char pst); 407 u_char pst in peer_st_flags() 410 return decode_bitflags(pst, ", ", peer_st_bits, in peer_st_flags() 457 u_char pst; in statustoa() 472 pst = (u_char)CTL_PEER_STATVAL(st); in statustoa() 474 peer_st_flags(pst), in statustoa() 475 getcode(pst & 0x7, select_codes), in statustoa() 408 peer_st_flags(u_char pst) peer_st_flags() argument 458 u_char pst; statustoa() local
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 266 ptrace_state_t pst; in MonitorSIGTRAP() local 267 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); in MonitorSIGTRAP() 274 if (pst.pe_report_event == PTRACE_VFORK_DONE) { in MonitorSIGTRAP() 285 assert(pst.pe_report_event == PTRACE_FORK || in MonitorSIGTRAP() 286 pst.pe_report_event == PTRACE_VFORK); in MonitorSIGTRAP() 287 MonitorClone(pst.pe_other_pid, pst.pe_report_event == PTRACE_VFORK, in MonitorSIGTRAP() 293 ptrace_state_t pst; in MonitorSIGTRAP() local 294 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); in MonitorSIGTRAP() 300 switch (pst.pe_report_event) { in MonitorSIGTRAP() 303 pst.pe_lwp); in MonitorSIGTRAP() [all …]
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | setproctitle.c | 133 union pstun pst; in setproctitle() local 157 pst.pst_command = ptitle; in setproctitle() 158 pstat(PSTAT_SETCMD, pst, strlen(ptitle), 0, 0); in setproctitle()
|
| /freebsd/sys/x86/cpufreq/ |
| H A D | powernow.c | 681 struct pst_header *pst; in pn_decode_pst() local 723 pst = (struct pst_header*) p; in pn_decode_pst() 728 struct pst_header *pst = (struct pst_header*) p; in pn_decode_pst() local 730 if (cpuid == pst->cpuid && in pn_decode_pst() 731 maxfid == pst->maxfid && in pn_decode_pst() 732 startvid == pst->startvid) { in pn_decode_pst() 733 sc->powernow_max_states = pst->numpstates; in pn_decode_pst() 736 if (abs(sc->fsb - pst->fsb) > 5) in pn_decode_pst() 747 p += sizeof(struct pst_header) + (2 * pst->numpstates); in pn_decode_pst() 748 } while (cpuid_is_k7(pst->cpuid) && maxpst--); in pn_decode_pst()
|
| /freebsd/sys/i386/conf/ |
| H A D | PAE | 21 makeoptions WITHOUT_MODULES+="pst" 22 nodevice pst
|
| /freebsd/sys/netinet/ |
| H A D | in_fib_algo.c | 322 struct bsearch4_record *pst = get_last_entry(stack); in bsearch4_process_record() local 329 if (pst->addr4 == (rib_entry->addr4 & pst->mask4)) in bsearch4_process_record() 352 struct bsearch4_record *pst = get_last_entry(stack); in bsearch4_process_record() local 355 .mask4 = pst->mask4, in bsearch4_process_record() 356 .nh = pst->nh, in bsearch4_process_record()
|
| /freebsd/usr.bin/script/ |
| H A D | script.c | 555 struct stat pst; in playback() local 563 if (fstat(fileno(fp), &pst) == -1) in playback() 566 reg = S_ISREG(pst.st_mode); in playback() 569 for (nread = 0; !reg || nread < pst.st_size; nread += save_len) { in playback() 580 (uint64_t)(pst.st_size - save_len) - nread) in playback()
|
| /freebsd/contrib/unbound/validator/ |
| H A D | val_anchor.c | 431 struct sldns_file_parse_state pst; in anchor_read_file() local 441 memset(&pst, 0, sizeof(pst)); in anchor_read_file() 442 pst.default_ttl = 3600; in anchor_read_file() 443 pst.lineno = 1; in anchor_read_file() 447 status = sldns_fp2wire_rr_buf(in, rr, &len, &dname_len, &pst); in anchor_read_file() 452 pst.lineno, LDNS_WIREPARSE_OFFSET(status), in anchor_read_file() 463 log_err("mem error at %s line %d", fname, pst.lineno); in anchor_read_file() 471 fname, pst.lineno); in anchor_read_file()
|
| /freebsd/contrib/one-true-awk/ |
| H A D | awkgram.y | 72 %type <i> pst opt_pst lbrace rbrace rparen comma nl opt_nl and bor 157 | pst 275 pst: 276 NL | ';' | pst NL | pst ';'
|
| /freebsd/tools/kerneldoc/subsys/ |
| H A D | Doxyfile-dev_pst | 12 INPUT = $(DOXYGEN_SRC_PATH)/dev/pst/ \
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_write_disk_posix.c | 250 struct stat *pst; member 511 if (a->pst != NULL) { in lazy_stat() 517 a->pst = &a->st; in lazy_stat() 531 a->pst = &a->st; in lazy_stat() 600 a->pst = NULL; in _archive_write_disk_header() 989 block_size = a->pst->st_blksize; in write_data_block() 1769 a->pst = NULL; in _archive_write_disk_finish_entry() 1790 a->pst = NULL; in _archive_write_disk_finish_entry() 2106 a->pst = NULL; in restore_entry() 2111 a->pst = NULL; in restore_entry() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy.cfg | 26 export PST_RECORD_FILE=$BASEDIR/pst-record-file.$$
|
| /freebsd/tests/sys/cddl/zfs/tests/redundancy/ |
| H A D | redundancy.cfg | 31 export PST_RECORD_FILE=$BASEDIR/pst-record-file.${TESTCASE_ID}
|
| /freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | operations.cpp | 667 StatT pst; in __fs_is_empty() local 668 auto st = detail::posix_stat(p, pst, &m_ec); in __fs_is_empty() 679 return static_cast<uintmax_t>(pst.st_size) == 0; in __fs_is_empty()
|
| /freebsd/sys/amd64/conf/ |
| H A D | NOTES | 62 #device pst
|
| /freebsd/sys/dev/pst/ |
| H A D | pst-raid.c | 380 DRIVER_MODULE(pst, pstpci, pst_driver, 0, 0);
|
| /freebsd/contrib/lib9p/backend/ |
| H A D | fs.c | 816 struct l9p_acl *pacl, struct stat *pst, in check_access() argument 832 args.aca_pstat = pst; in check_access() 1729 struct stat pst, cst; in fs_remove() local 1736 error = fs_pdir(sc, fid, dirname, sizeof(dirname), &pst); in fs_remove() 1748 parent_acl, &pst, file->ff_acl, &cst, file->ff_ai, (gid_t)-1); in fs_remove()
|
| /freebsd/usr.sbin/cron/doc/ |
| H A D | MAIL | 7 Date: Wed, 31 Dec 86 08:59:31 pst 380 Date: Thu, 1 Jan 87 10:53:05 pst 391 Date: Thu, 8 Jan 87 23:50:40 pst
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SystemOperands.td | 422 def : PRFM<"pst", 0b10, "l1", 0b00, "keep", 0b0>; 423 def : PRFM<"pst", 0b10, "l1", 0b00, "strm", 0b1>; 424 def : PRFM<"pst", 0b10, "l2", 0b01, "keep", 0b0>; 425 def : PRFM<"pst", 0b10, "l2", 0b01, "strm", 0b1>; 426 def : PRFM<"pst", 0b10, "l3", 0b10, "keep", 0b0>; 427 def : PRFM<"pst", 0b10, "l3", 0b10, "strm", 0b1>; 429 def : PRFM<"pst", 0b10, "slc", 0b11, "keep", 0b0>; 430 def : PRFM<"pst", 0b10, "slc", 0b11, "strm", 0b1>;
|