Searched refs:pst (Results 1 - 23 of 23) sorted by relevance

/freebsd-current/sys/modules/pst/
H A DMakefile2 .PATH: ${SRCTOP}/sys/dev/pst
4 KMOD= pst
5 SRCS= pst-pci.c pst-iop.c pst-raid.c
/freebsd-current/sys/netpfil/ipfw/
H A Ddn_aqm_pie.h107 drop_early(struct pie_status *pst, uint32_t qlen) argument
111 pprms = pst->parms;
115 if ((pst->qdelay_old < (pprms->qdelay_ref >> 1)
116 && pst->drop_prob < PIE_MAX_PROB / 5 )
120 if (pst->drop_prob == 0)
121 pst->accu_prob = 0;
125 pst->accu_prob += pst->drop_prob;
135 if(pst->accu_prob < (uint64_t) (PIE_MAX_PROB * 17 / 20))
137 if( pst
[all...]
H A Ddn_aqm_pie.c206 struct pie_status *pst = (struct pie_status *) x; local
209 pprms = pst->parms;
210 prob = pst->drop_prob;
217 pst->current_qdelay = ((uint64_t)pst->pq->ni.len_bytes *
218 pst->avg_dq_time) >> PIE_DQ_THRESHOLD_BITS;
220 if (!pst->pq->ni.len_bytes)
221 pst->current_qdelay = 0;
225 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref);
227 ((int64_t)pst
365 init_activate_pie(struct pie_status *pst, int resettimer) argument
394 deactivate_pie(struct pie_status *pst) argument
412 struct pie_status *pst; local
485 struct pie_status *pst; local
576 struct pie_status *pst; local
630 struct pie_status *pst = (struct pie_status *) x; local
652 struct pie_status *pst = q->aqm_status; local
[all...]
H A Ddn_sched_fq_pie.c110 struct pie_status pst; /* pie status variables */ member in struct:fq_pie_flow
380 struct pie_status *pst = &q->pst; local
385 pprms = pst->parms;
386 prob = pst->drop_prob;
393 pst->current_qdelay = ((uint64_t)q->stats.len_bytes * pst->avg_dq_time)
397 pst->current_qdelay = 0;
401 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref);
403 ((int64_t)pst
501 struct pie_status *pst = &q->pst; local
528 fq_deactivate_pie(struct pie_status *pst) argument
543 struct pie_status *pst=&q->pst; local
575 struct pie_status *pst = &q->pst; local
601 struct pie_status *pst = &q->pst; local
619 struct pie_status *pst; local
691 struct pie_status *pst; local
[all...]
/freebsd-current/contrib/xz/src/common/
H A Dtuklib_cpucores.c102 struct pst_dynamic pst; local
103 if (pstat_getdynamic(&pst, sizeof(pst), 1, 0) != -1)
104 ret = (uint32_t)pst.psd_proc_cnt;
H A Dtuklib_physmem.c205 struct pst_static pst; local
206 if (pstat_getstatic(&pst, sizeof(pst), 1, 0) != -1)
207 ret = (uint64_t)pst.physical_memory * (uint64_t)pst.page_size;
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_entry.c60 const struct stat *pst; local
805 assert((pst = archive_entry_stat(e)) != NULL);
806 if (pst == NULL)
809 assertEqualInt(pst->st_atime, 456789);
810 assertEqualInt(pst->st_ctime, 345678);
811 assertEqualInt(pst->st_dev, 123);
812 assertEqualInt(pst->st_gid, 34);
813 assertEqualInt(pst->st_ino, 234);
814 assertEqualInt(pst->st_mode, 012345);
815 assertEqualInt(pst
[all...]
/freebsd-current/contrib/ntp/libntp/
H A Dstatestr.c288 static const char * peer_st_flags(u_char pst);
407 u_char pst
410 return decode_bitflags(pst, ", ", peer_st_bits,
457 u_char pst; local
472 pst = (u_char)CTL_PEER_STATVAL(st);
474 peer_st_flags(pst),
475 getcode(pst & 0x7, select_codes),
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dsetproctitle.c133 union pstun pst; local
157 pst.pst_command = ptitle;
158 pstat(PSTAT_SETCMD, pst, strlen(ptitle), 0, 0);
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp266 ptrace_state_t pst; local
267 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst));
274 if (pst.pe_report_event == PTRACE_VFORK_DONE) {
285 assert(pst.pe_report_event == PTRACE_FORK ||
286 pst.pe_report_event == PTRACE_VFORK);
287 MonitorClone(pst.pe_other_pid, pst.pe_report_event == PTRACE_VFORK,
293 ptrace_state_t pst; local
294 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeo
[all...]
/freebsd-current/sys/x86/cpufreq/
H A Dpowernow.c681 struct pst_header *pst; local
723 pst = (struct pst_header*) p;
728 struct pst_header *pst = (struct pst_header*) p; local
730 if (cpuid == pst->cpuid &&
731 maxfid == pst->maxfid &&
732 startvid == pst->startvid) {
733 sc->powernow_max_states = pst->numpstates;
736 if (abs(sc->fsb - pst->fsb) > 5)
747 p += sizeof(struct pst_header) + (2 * pst->numpstates);
748 } while (cpuid_is_k7(pst
[all...]
/freebsd-current/sys/netinet/
H A Din_fib_algo.c323 struct bsearch4_record *pst = get_last_entry(stack); local
330 if (pst->addr4 == (rib_entry->addr4 & pst->mask4))
353 struct bsearch4_record *pst = get_last_entry(stack); local
356 .mask4 = pst->mask4,
357 .nh = pst->nh,
/freebsd-current/usr.bin/script/
H A Dscript.c555 struct stat pst; local
563 if (fstat(fileno(fp), &pst) == -1)
566 reg = S_ISREG(pst.st_mode);
569 for (nread = 0; !reg || nread < pst.st_size; nread += save_len) {
580 (uint64_t)(pst.st_size - save_len) - nread)
/freebsd-current/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: label
276 NL | ';' | pst NL | pst ';'
/freebsd-current/contrib/unbound/validator/
H A Dval_anchor.c431 struct sldns_file_parse_state pst; local
441 memset(&pst, 0, sizeof(pst));
442 pst.default_ttl = 3600;
443 pst.lineno = 1;
447 status = sldns_fp2wire_rr_buf(in, rr, &len, &dname_len, &pst);
452 pst.lineno, LDNS_WIREPARSE_OFFSET(status),
463 log_err("mem error at %s line %d", fname, pst.lineno);
471 fname, pst.lineno);
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c246 * If this is valid, pst points to st. Otherwise,
247 * pst is null.
250 struct stat *pst; member in struct:archive_write_disk
503 if (a->pst != NULL) {
509 a->pst = &a->st;
523 a->pst = &a->st;
592 a->pst = NULL;
980 block_size = a->pst->st_blksize;
1754 a->pst = NULL;
1775 a->pst
[all...]
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp549 StatT pst; local
550 auto st = detail::posix_stat(p, pst, &m_ec);
561 return static_cast<uintmax_t>(pst.st_size) == 0;
/freebsd-current/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", -1);
141 printf("pst: vendor=<%.16s> product=<%.16s>\n",
143 printf("pst: description=<%.16s> revision=<%.8s>\n",
145 printf("pst: capacity=%lld blocksize=%d\n",
156 psc->disk->d_name = "pst";
169 printf("pst%d: %lluMB <%.40s> [%lld/%d/%d] on %.16s\n", lun,
202 printf("pst
[all...]
/freebsd-current/contrib/lib9p/backend/
H A Dfs.c809 * stat data. At most one of pacl+pst and cacl+cst can be NULL,
811 * be NULL but pst or cst must be non-NULL depending on the
816 struct l9p_acl *pacl, struct stat *pst,
832 args.aca_pstat = pst;
1729 struct stat pst, cst; local
1736 error = fs_pdir(sc, fid, dirname, sizeof(dirname), &pst);
1748 parent_acl, &pst, file->ff_acl, &cst, file->ff_ai, (gid_t)-1);
815 check_access(int32_t opmask, struct l9p_acl *pacl, struct stat *pst, struct l9p_acl *cacl, struct stat *cst, struct fs_authinfo *ai, gid_t egid) argument
/freebsd-current/sys/modules/
H A DMakefile872 _pst= pst
/freebsd-current/contrib/sqlite3/
H A Dshell.c815 PerStreamTags pst = *ppst; local
816 consoleInfo.pstDesignated[chix] = pst;
939 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
941 PerStreamTags *ppst = getEmitStreamInfo(1, &pst, &pfOut);
943 getEmitStreamInfo(1, &pst, &pfOut);
964 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
966 PerStreamTags *ppst = getEmitStreamInfo(2, &pst, &pfErr);
968 getEmitStreamInfo(2, &pst, &pfErr);
988 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
990 PerStreamTags *ppst = getEmitStreamInfo(0, &pst,
1012 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
1036 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
1055 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
1117 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
1137 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
1158 PerStreamTags pst = PST_INITIALIZER; /* for unknown streams */ local
29585 quickscan(char *zLine, QuickScanState qss, SCAN_TRACKER_REFTYPE pst) argument
[all...]
/freebsd-current/share/man/man4/
H A DMakefile467 pst.4 \
/freebsd-current/contrib/sendmail/src/
H A Dconf.c2589 union pstun pst; local
2615 pst.pst_command = buf;
2616 pstat(PSTAT_SETCMD, pst, i, 0, 0);

Completed in 322 milliseconds