/freebsd/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/contrib/libarchive/libarchive/test/ |
H A D | test_entry.c | 806 if (pst == NULL) in DEFINE_TEST() 829 if (pst == NULL) in DEFINE_TEST() 834 if (pst == NULL) in DEFINE_TEST() 839 if (pst == NULL) in DEFINE_TEST() 844 if (pst == NULL) in DEFINE_TEST() 849 if (pst == NULL) in DEFINE_TEST() 854 if (pst == NULL) in DEFINE_TEST() 859 if (pst == NULL) in DEFINE_TEST() 864 if (pst == NULL) in DEFINE_TEST() 869 if (pst == NULL) in DEFINE_TEST() [all …]
|
/freebsd/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/contrib/xz/src/common/ |
H A D | tuklib_cpucores.c | 102 struct pst_dynamic pst; in tuklib_cpucores() local 103 if (pstat_getdynamic(&pst, sizeof(pst), 1, 0) != -1) in tuklib_cpucores() 104 ret = (uint32_t)pst.psd_proc_cnt; in tuklib_cpucores()
|
H A D | tuklib_physmem.c | 205 struct pst_static pst; in tuklib_physmem() local 206 if (pstat_getstatic(&pst, sizeof(pst), 1, 0) != -1) in tuklib_physmem() 207 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() 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/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/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/i386/conf/ |
H A D | PAE | 19 makeoptions WITHOUT_MODULES+="pst" 20 nodevice pst
|
/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/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/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/tools/kerneldoc/subsys/ |
H A D | Doxyfile-dev_pst | 12 INPUT = $(DOXYGEN_SRC_PATH)/dev/pst/ \
|
/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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy.cfg | 35 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 | 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/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/contrib/sqlite3/ |
H A D | shell.c | 815 PerStreamTags pst = *ppst; in designateEmitStream() local 816 consoleInfo.pstDesignated[chix] = pst; in designateEmitStream() 943 getEmitStreamInfo(1, &pst, &pfOut); in oPrintfUtf8() 968 getEmitStreamInfo(2, &pst, &pfErr); in ePrintfUtf8() 992 getEmitStreamInfo(0, &pst, &pfO); in fPrintfUtf8() 1016 getEmitStreamInfo(0, &pst, &pfO); in fPutsUtf8() 1040 getEmitStreamInfo(2, &pst, &pfErr); in ePutsUtf8() 1059 getEmitStreamInfo(1, &pst, &pfOut); in oPutsUtf8() 1141 getEmitStreamInfo(1, &pst, &pfOut); in oPutbUtf8() 29624 CONTINUE_PAREN_INCR(pst, 1); in quickscan() [all …]
|