Home
last modified time | relevance | path

Searched refs:pst (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/netpfil/ipfw/
H A Ddn_aqm_pie.c206 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 Ddn_sched_fq_pie.c110 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 Ddn_aqm_pie.h107 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 Dtest_entry.c60 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 DMakefile1 .PATH: ${SRCTOP}/sys/dev/pst
3 KMOD= pst
4 SRCS= pst-pci.c pst-iop.c pst-raid.c
/freebsd/contrib/ntp/libntp/
H A Dstatestr.c288 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 DNativeProcessNetBSD.cpp266 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, sizeo in MonitorSIGTRAP()
[all...]
/freebsd/crypto/openssh/openbsd-compat/
H A Dsetproctitle.c133 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 Dpowernow.c681 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 DPAE19 makeoptions WITHOUT_MODULES+="pst"
20 nodevice pst
/freebsd/sys/netinet/
H A Din_fib_algo.c323 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 Dscript.c555 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 Dval_anchor.c431 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 Dawkgram.y72 %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 DDoxyfile-dev_pst12 INPUT = $(DOXYGEN_SRC_PATH)/dev/pst/ \
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c250 struct stat *pst; member
503 if (a->pst != NULL) { in lazy_stat()
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()
980 block_size = a->pst->st_blksize; in write_data_block()
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()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy.cfg35 export PST_RECORD_FILE=$BASEDIR/pst-record-file.$$
/freebsd/tests/sys/cddl/zfs/tests/redundancy/
H A Dredundancy.cfg31 export PST_RECORD_FILE=$BASEDIR/pst-record-file.${TESTCASE_ID}
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp546 StatT pst; in __fs_is_empty() local
547 auto st = detail::posix_stat(p, pst, &m_ec); in __fs_is_empty()
558 return static_cast<uintmax_t>(pst.st_size) == 0; in __fs_is_empty()
/freebsd/sys/dev/pst/
H A Dpst-raid.c54 #include "dev/pst/pst-iop.h"
85 static MALLOC_DEFINE(M_PSTRAID, "pst", "Promise SuperTrak RAID driver");
91 device_t child = device_add_child(sc->dev, "pst", DEVICE_UNIT_ANY); in pst_add_raid()
141 printf("pst: vendor=<%.16s> product=<%.16s>\n", in pst_attach()
143 printf("pst: description=<%.16s> revision=<%.8s>\n", in pst_attach()
145 printf("pst: capacity=%lld blocksize=%d\n", in pst_attach()
156 psc->disk->d_name = "pst"; in pst_attach()
169 printf("pst%d: %lluMB <%.40s> [%lld/%d/%d] on %.16s\n", lun, in pst_attach()
202 printf("pst in pst_shutdown_post_sync()
[all...]
/freebsd/contrib/lib9p/backend/
H A Dfs.c816 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 Dshell.c810 PerStreamTags pst = *ppst; in designateEmitStream() local
811 consoleInfo.pstDesignated[chix] = pst; in designateEmitStream()
934 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ in oPrintfUtf8() local
936 PerStreamTags *ppst = getEmitStreamInfo(1, &pst, &pfOut); in oPrintfUtf8()
938 getEmitStreamInfo(1, &pst, &pfOut); in oPrintfUtf8()
959 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ in ePrintfUtf8() local
961 PerStreamTags *ppst = getEmitStreamInfo(2, &pst, &pfErr); in ePrintfUtf8()
963 getEmitStreamInfo(2, &pst, &pfErr); in ePrintfUtf8()
983 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ in fPrintfUtf8() local
985 PerStreamTags *ppst = getEmitStreamInfo(0, &pst, &pfO); in fPrintfUtf8()
[all …]
/freebsd/usr.sbin/cron/doc/
H A DMAIL7 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 DAArch64SystemOperands.td273 def : PRFM<"pst", 0b10, "l1", 0b00, "keep", 0b0>;
274 def : PRFM<"pst", 0b10, "l1", 0b00, "strm", 0b1>;
275 def : PRFM<"pst", 0b10, "l2", 0b01, "keep", 0b0>;
276 def : PRFM<"pst", 0b10, "l2", 0b01, "strm", 0b1>;
277 def : PRFM<"pst", 0b10, "l3", 0b10, "keep", 0b0>;
278 def : PRFM<"pst", 0b10, "l3", 0b10, "strm", 0b1>;
280 def : PRFM<"pst", 0b10, "slc", 0b11, "keep", 0b0>;
281 def : PRFM<"pst", 0b10, "slc", 0b11, "strm", 0b1>;
/freebsd/sys/modules/
H A DMakefile875 _pst= pst

12