| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | dn_aqm_pie.c | 217 pst->current_qdelay = ((uint64_t)pst->pq->ni.len_bytes * 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() 301 pst->qdelay_old = pst->current_qdelay; in calculate_drop_prob() 304 if ((pst->sflags & PIE_ACTIVE) && pst->burst_allowance>0) { in calculate_drop_prob() 491 if(!pst) { in aqm_pie_enqueue() 510 else if ((pst->sflags & PIE_ACTIVE) && pst->burst_allowance==0 in aqm_pie_enqueue() 530 if ((pst->sflags & PIE_ACTIVE) && pst->drop_prob == 0 && in aqm_pie_enqueue() 603 pst->pq = q; in aqm_pie_init() 611 callout_init_mtx(&pst->aqm_pie_callout, &pst->lock_mtx, in aqm_pie_init() [all …]
|
| H A D | dn_sched_fq_pie.c | 380 struct pie_status *pst = &q->pst; in fq_calculate_drop_prob() local 464 if (pst->current_qdelay == 0 && pst->qdelay_old == 0) { in fq_calculate_drop_prob() 477 pst->qdelay_old = pst->current_qdelay; in fq_calculate_drop_prob() 480 if ((pst->sflags & PIE_ACTIVE) && pst->burst_allowance) { in fq_calculate_drop_prob() 501 struct pie_status *pst = &q->pst; in fq_activate_pie() local 543 struct pie_status *pst=&q->pst; in pie_init() local 559 callout_init_mtx(&pst->aqm_pie_callout, &pst->lock_mtx, in pie_init() 575 struct pie_status *pst = &q->pst; in fqpie_callout_cleanup() local 601 struct pie_status *pst = &q->pst; in pie_cleanup() local 624 pst = &q->pst; in pie_dequeue() [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-14.2/contrib/libarchive/libarchive/test/ |
| H A D | test_entry.c | 812 if (pst == NULL) in DEFINE_TEST() 835 if (pst == NULL) in DEFINE_TEST() 840 if (pst == NULL) in DEFINE_TEST() 845 if (pst == NULL) in DEFINE_TEST() 850 if (pst == NULL) in DEFINE_TEST() 855 if (pst == NULL) in DEFINE_TEST() 860 if (pst == NULL) in DEFINE_TEST() 865 if (pst == NULL) in DEFINE_TEST() 870 if (pst == NULL) in DEFINE_TEST() 875 if (pst == NULL) in DEFINE_TEST() [all …]
|
| /freebsd-14.2/sys/modules/pst/ |
| H A D | Makefile | 2 .PATH: ${SRCTOP}/sys/dev/pst 4 KMOD= pst 5 SRCS= pst-pci.c pst-iop.c pst-raid.c
|
| /freebsd-14.2/contrib/xz/src/common/ |
| H A D | tuklib_cpucores.c | 103 struct pst_dynamic pst; in tuklib_cpucores() local 104 if (pstat_getdynamic(&pst, sizeof(pst), 1, 0) != -1) in tuklib_cpucores() 105 ret = (uint32_t)pst.psd_proc_cnt; in tuklib_cpucores()
|
| H A D | tuklib_physmem.c | 208 struct pst_static pst; in tuklib_physmem() local 209 if (pstat_getstatic(&pst, sizeof(pst), 1, 0) != -1) in tuklib_physmem() 210 ret = (uint64_t)pst.physical_memory * (uint64_t)pst.page_size; in tuklib_physmem()
|
| /freebsd-14.2/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() argument 410 return decode_bitflags(pst, ", ", peer_st_bits, in peer_st_flags() 457 u_char pst; in statustoa() local 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()
|
| /freebsd-14.2/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() 285 assert(pst.pe_report_event == PTRACE_FORK || 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() 309 pst.pe_lwp, error); in MonitorSIGTRAP() 316 pst.pe_lwp); in MonitorSIGTRAP() [all …]
|
| /freebsd-14.2/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-14.2/sys/i386/conf/ |
| H A D | PAE | 19 makeoptions WITHOUT_MODULES+="pst" 20 nodevice pst
|
| /freebsd-14.2/sys/x86/cpufreq/ |
| H A D | powernow.c | 682 struct pst_header *pst; in pn_decode_pst() local 724 pst = (struct pst_header*) p; in pn_decode_pst() 729 struct pst_header *pst = (struct pst_header*) p; in pn_decode_pst() local 731 if (cpuid == pst->cpuid && in pn_decode_pst() 732 maxfid == pst->maxfid && in pn_decode_pst() 733 startvid == pst->startvid) { in pn_decode_pst() 734 sc->powernow_max_states = pst->numpstates; in pn_decode_pst() 737 if (abs(sc->fsb - pst->fsb) > 5) in pn_decode_pst() 748 p += sizeof(struct pst_header) + (2 * pst->numpstates); in pn_decode_pst() 749 } while (cpuid_is_k7(pst->cpuid) && maxpst--); in pn_decode_pst()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | in_fib_algo.c | 323 struct bsearch4_record *pst = get_last_entry(stack); in bsearch4_process_record() local 330 if (pst->addr4 == (rib_entry->addr4 & pst->mask4)) in bsearch4_process_record() 353 struct bsearch4_record *pst = get_last_entry(stack); in bsearch4_process_record() local 356 .mask4 = pst->mask4, in bsearch4_process_record() 357 .nh = pst->nh, in bsearch4_process_record()
|
| /freebsd-14.2/usr.bin/script/ |
| H A D | script.c | 564 struct stat pst; in playback() local 572 if (fstat(fileno(fp), &pst) == -1) in playback() 575 reg = S_ISREG(pst.st_mode); in playback() 578 for (nread = 0; !reg || nread < pst.st_size; nread += save_len) { in playback() 589 (uint64_t)(pst.st_size - save_len) - nread) in playback()
|
| /freebsd-14.2/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-14.2/tools/kerneldoc/subsys/ |
| H A D | Doxyfile-dev_pst | 12 INPUT = $(DOXYGEN_SRC_PATH)/dev/pst/ \
|
| /freebsd-14.2/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-14.2/contrib/libarchive/libarchive/ |
| H A D | archive_write_disk_posix.c | 250 struct stat *pst; member 509 a->pst = &a->st; in lazy_stat() 523 a->pst = &a->st; in lazy_stat() 592 a->pst = NULL; in _archive_write_disk_header() 1754 a->pst = NULL; in _archive_write_disk_finish_entry() 1775 a->pst = NULL; in _archive_write_disk_finish_entry() 2091 a->pst = NULL; in restore_entry() 2096 a->pst = NULL; in restore_entry() 2148 a->pst = NULL; in restore_entry() 2212 a->pst = NULL; in restore_entry() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy.cfg | 35 export PST_RECORD_FILE=$BASEDIR/pst-record-file.$$
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/redundancy/ |
| H A D | redundancy.cfg | 34 export PST_RECORD_FILE=$BASEDIR/pst-record-file.${TESTCASE_ID}
|
| /freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | operations.cpp | 549 StatT pst; in __fs_is_empty() local 550 auto st = detail::posix_stat(p, pst, &m_ec); in __fs_is_empty() 561 return static_cast<uintmax_t>(pst.st_size) == 0; in __fs_is_empty()
|
| /freebsd-14.2/sys/amd64/conf/ |
| H A D | NOTES | 62 #device pst
|
| /freebsd-14.2/sys/dev/pst/ |
| H A D | pst-raid.c | 380 DRIVER_MODULE(pst, pstpci, pst_driver, 0, 0);
|
| /freebsd-14.2/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-14.2/contrib/sqlite3/ |
| H A D | shell.c | 810 PerStreamTags pst = *ppst; in designateEmitStream() local 811 consoleInfo.pstDesignated[chix] = pst; in designateEmitStream() 938 getEmitStreamInfo(1, &pst, &pfOut); in oPrintfUtf8() 963 getEmitStreamInfo(2, &pst, &pfErr); in ePrintfUtf8() 987 getEmitStreamInfo(0, &pst, &pfO); in fPrintfUtf8() 1011 getEmitStreamInfo(0, &pst, &pfO); in fPutsUtf8() 1035 getEmitStreamInfo(2, &pst, &pfErr); in ePutsUtf8() 1054 getEmitStreamInfo(1, &pst, &pfOut); in oPutsUtf8() 1136 getEmitStreamInfo(1, &pst, &pfOut); in oPutbUtf8() 29628 CONTINUE_PAREN_INCR(pst, 1); in quickscan() [all …]
|