Home
last modified time | relevance | path

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

/f-stack/freebsd/netpfil/ipfw/
H A Ddn_aqm_pie.c219 pst->current_qdelay = ((uint64_t)pst->pq->ni.len_bytes * in calculate_drop_prob()
229 ((int64_t)pst->current_qdelay - (int64_t)pst->qdelay_old); in calculate_drop_prob()
290 if (pst->current_qdelay == 0 && pst->qdelay_old == 0) { in calculate_drop_prob()
303 pst->qdelay_old = pst->current_qdelay; in calculate_drop_prob()
306 if ((pst->sflags & PIE_ACTIVE) && pst->burst_allowance>0) { in calculate_drop_prob()
489 if(!pst) { in aqm_pie_enqueue()
508 else if ((pst->sflags & PIE_ACTIVE) && pst->burst_allowance==0 in aqm_pie_enqueue()
528 if ((pst->sflags & PIE_ACTIVE) && pst->drop_prob == 0 && in aqm_pie_enqueue()
599 pst->pq = q; in aqm_pie_init()
607 callout_init_mtx(&pst->aqm_pie_callout, &pst->lock_mtx, in aqm_pie_init()
[all …]
H A Ddn_sched_fq_pie.c376 struct pie_status *pst = &q->pst; in fq_calculate_drop_prob() local
462 if (pst->current_qdelay == 0 && pst->qdelay_old == 0) { in fq_calculate_drop_prob()
475 pst->qdelay_old = pst->current_qdelay; in fq_calculate_drop_prob()
478 if ((pst->sflags & PIE_ACTIVE) && pst->burst_allowance) { in fq_calculate_drop_prob()
499 struct pie_status *pst = &q->pst; in fq_activate_pie() local
541 struct pie_status *pst=&q->pst; in pie_init() local
557 callout_init_mtx(&pst->aqm_pie_callout, &pst->lock_mtx, in pie_init()
573 struct pie_status *pst = &q->pst; in fqpie_callout_cleanup() local
599 struct pie_status *pst = &q->pst; in pie_cleanup() local
622 pst = &q->pst; in pie_dequeue()
[all …]
H A Ddn_aqm_pie.h109 drop_early(struct pie_status *pst, uint32_t qlen) in drop_early() argument
113 pprms = pst->parms; in drop_early()
117 if ((pst->qdelay_old < (pprms->qdelay_ref >> 1) in drop_early()
118 && pst->drop_prob < PIE_MAX_PROB / 5 ) in drop_early()
122 if (pst->drop_prob == 0) in drop_early()
123 pst->accu_prob = 0; in drop_early()
127 pst->accu_prob += pst->drop_prob; in drop_early()
137 if(pst->accu_prob < (uint64_t) (PIE_MAX_PROB * 17 / 20)) in drop_early()
139 if( pst->accu_prob >= (uint64_t) (PIE_MAX_PROB * 17 / 2)) in drop_early()
143 if (random() < pst->drop_prob) { in drop_early()
[all …]
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_flow_parse.c30 if (!pst->tunnel) in otx2_flow_parse_lh()
65 rc = otx2_flow_parse_item_basic(pst->pattern, &info, pst->error); in otx2_flow_parse_lh()
81 if (!pst->tunnel) in otx2_flow_parse_lg()
104 rc = otx2_flow_parse_item_basic(pst->pattern, &info, pst->error); in otx2_flow_parse_lg()
123 if (!pst->tunnel) in otx2_flow_parse_lf()
183 rc = otx2_flow_parse_item_basic(pst->pattern, &info, pst->error); in otx2_flow_parse_lf()
218 if (pst->tunnel) in otx2_flow_parse_le()
281 pst->tunnel = 1; in otx2_flow_parse_le()
366 rc = otx2_flow_parse_item_basic(pst->pattern, &info, pst->error); in otx2_flow_parse_mpls()
378 pst->tunnel = 1; in otx2_flow_parse_mpls()
[all …]
H A Dotx2_flow.h367 struct otx2_parse_state *pst,
370 void otx2_flow_get_hw_supp_mask(struct otx2_parse_state *pst,
377 int otx2_flow_parse_lh(struct otx2_parse_state *pst);
379 int otx2_flow_parse_lg(struct otx2_parse_state *pst);
381 int otx2_flow_parse_lf(struct otx2_parse_state *pst);
383 int otx2_flow_parse_le(struct otx2_parse_state *pst);
385 int otx2_flow_parse_ld(struct otx2_parse_state *pst);
387 int otx2_flow_parse_lc(struct otx2_parse_state *pst);
389 int otx2_flow_parse_lb(struct otx2_parse_state *pst);
391 int otx2_flow_parse_la(struct otx2_parse_state *pst);
[all …]
H A Dotx2_flow_utils.c161 intf = pst->flow->nix_intf; in otx2_flow_get_hw_supp_mask()
221 pst->pattern, in flow_update_extraction_data()
232 pst->pattern, in flow_update_extraction_data()
281 pst->layer_mask |= lid; in otx2_flow_update_parse_state()
282 pst->lt[lid] = lt; in otx2_flow_update_parse_state()
283 pst->flags[lid] = flags; in otx2_flow_update_parse_state()
285 intf = pst->flow->nix_intf; in otx2_flow_update_parse_state()
289 pst->terminate = 1; in otx2_flow_update_parse_state()
317 pst->flags[lid] = j; in otx2_flow_update_parse_state()
324 pst->pattern++; in otx2_flow_update_parse_state()
[all …]
H A Dotx2_flow.c60 int intf = pst->flow->nix_intf; in flow_program_npc()
82 lt = pst->lt[lid] & 0xf; in flow_program_npc()
83 flags = pst->flags[lid] & 0xff; in flow_program_npc()
139 return otx2_flow_mcam_alloc_and_write(pst->flow, mbox, pst, flow_info); in flow_program_npc()
370 memset(pst, 0, sizeof(*pst)); in flow_parse_pattern()
371 pst->npc = &hw->npc_flow; in flow_parse_pattern()
372 pst->error = error; in flow_parse_pattern()
373 pst->flow = flow; in flow_parse_pattern()
390 pst->pattern = pattern; in flow_parse_pattern()
402 pattern = pst->pattern; in flow_parse_pattern()
[all …]
/f-stack/dpdk/drivers/crypto/ccp/
H A Dccp_crypto.c1585 pst.dir = 1; in ccp_perform_hmac()
1636 pst.dir = 0; in ccp_perform_hmac()
1644 pst.dir = 0; in ccp_perform_hmac()
1653 pst.dir = 0; in ccp_perform_hmac()
1665 pst.dir = 1; in ccp_perform_hmac()
1715 pst.dir = 0; in ccp_perform_hmac()
1759 pst.dir = 1; in ccp_perform_sha()
1805 pst.dir = 0; in ccp_perform_sha()
2169 pst.dir = 0; in ccp_perform_aes_cmac()
2412 pst.dir = 1; in ccp_perform_aes_gcm()
[all …]
/f-stack/freebsd/i386/conf/
H A DPAE20 makeoptions WITHOUT_MODULES+="pst"
21 nodevice pst
H A DGENERIC163 device pst # Promise Supertrak SX6000
H A DNOTES620 device pst
/f-stack/freebsd/x86/cpufreq/
H A Dpowernow.c685 struct pst_header *pst; in pn_decode_pst() local
727 pst = (struct pst_header*) p; in pn_decode_pst()
732 struct pst_header *pst = (struct pst_header*) p; in pn_decode_pst() local
734 if (cpuid == pst->cpuid && in pn_decode_pst()
735 maxfid == pst->maxfid && in pn_decode_pst()
736 startvid == pst->startvid) { in pn_decode_pst()
737 sc->powernow_max_states = pst->numpstates; in pn_decode_pst()
740 if (abs(sc->fsb - pst->fsb) > 5) in pn_decode_pst()
751 p += sizeof(struct pst_header) + (2 * pst->numpstates); in pn_decode_pst()
752 } while (cpuid_is_k7(pst->cpuid) && maxpst--); in pn_decode_pst()
/f-stack/freebsd/netinet/
H A Din_fib_algo.c324 struct bsearch4_record *pst = get_last_entry(stack); in bsearch4_process_record() local
331 if (pst->addr4 == (rib_entry->addr4 & pst->mask4)) in bsearch4_process_record()
354 struct bsearch4_record *pst = get_last_entry(stack); in bsearch4_process_record() local
357 .mask4 = pst->mask4, in bsearch4_process_record()
358 .nh = pst->nh, in bsearch4_process_record()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy.cfg35 export PST_RECORD_FILE=$BASEDIR/pst-record-file.$$
/f-stack/freebsd/amd64/conf/
H A DGENERIC181 #device pst # Promise Supertrak SX6000
H A DNOTES397 #device pst