Home
last modified time | relevance | path

Searched refs:sched (Results 1 – 25 of 67) sorted by relevance

123

/f-stack/dpdk/examples/performance-thread/common/
H A Dlthread_diag.c94 struct lthread_sched *sched; in _sched_stats_consistency_check() local
99 sched = schedcore[i]; in _sched_stats_consistency_check()
100 if (sched == NULL) in _sched_stats_consistency_check()
105 count += DIAG_COUNT(sched->ready, size); in _sched_stats_consistency_check()
202 struct lthread_sched *sched; in lthread_sched_stats_display() local
205 sched = schedcore[i]; in lthread_sched_stats_display()
206 if (sched != NULL) { in lthread_sched_stats_display()
208 sched->lcore_id, in lthread_sched_stats_display()
214 _lthread_queue_display(sched->ready); in lthread_sched_stats_display()
219 _objcache_display(sched->tls_cache); in lthread_sched_stats_display()
[all …]
H A Dlthread_sched.c326 sched->current_lthread = lt; in _lthread_resume()
332 sched->current_lthread = NULL; in _lthread_resume()
340 lt->sched = THIS_SCHED; in _lthread_resume()
360 ctx_switch(&lt->ctx, &sched->ctx); in _lthread_resume()
376 sched->current_lthread = NULL; in _lthread_resume()
407 return (sched->run_flag == 0) && in _lthread_sched_isdone()
410 (sched->nb_blocked_threads == 0); in _lthread_sched_isdone()
462 sched, rte_lcore_id(), in lthread_run()
479 while (!_lthread_sched_isdone(sched)) { in lthread_run()
499 sched, rte_lcore_id(), in lthread_run()
[all …]
H A Dlthread_sched.h24 _ready_queue_insert(struct lthread_sched *sched, struct lthread *lt) in _ready_queue_insert() argument
26 if (sched == THIS_SCHED) in _ready_queue_insert()
29 _lthread_queue_insert_mp(sched->pready, lt); in _ready_queue_insert()
H A Dlthread.c256 struct lthread_sched *sched = THIS_SCHED; in lthread_current() local
258 if (sched) in lthread_current()
259 return sched->current_lthread; in lthread_current()
291 if (cancel_lt->sched != THIS_SCHED) { in lthread_cancel()
295 cancel_lt->sched->lcore_id, in lthread_cancel()
380 _ready_queue_insert(lt->lt_join->sched, in lthread_exit()
426 _ready_queue_insert(lt->sched, lt); in lthread_join()
H A Dlthread_cond.c141 _ready_queue_insert((struct lthread_sched *)lt->sched, lt); in lthread_cond_signal()
166 _ready_queue_insert((struct lthread_sched *)lt->sched, in lthread_cond_broadcast()
H A Dlthread_mutex.c204 RTE_ASSERT(unblocked->sched != NULL); in lthread_mutex_unlock()
206 unblocked->sched, unblocked); in lthread_mutex_unlock()
/f-stack/freebsd/contrib/openzfs/config/
H A Dkernel-sched.m43 dnl # Moved things from linux/sched.h to linux/sched/rt.h
7 #include <linux/sched.h>
8 #include <linux/sched/rt.h>
15 AC_MSG_CHECKING([whether header linux/sched/rt.h exists])
25 dnl # Moved things from linux/sched.h to linux/sched/signal.h
29 #include <linux/sched.h>
30 #include <linux/sched/signal.h>
37 AC_MSG_CHECKING([whether header linux/sched/signal.h exists])
40 [linux/sched/signal.h exists])
55 #include <linux/sched.h>
H A Dkernel-inode-create.m47 #include <linux/sched.h>
/f-stack/dpdk/lib/librte_port/
H A Drte_port_sched.c31 struct rte_sched_port *sched; member
43 (conf->sched == NULL)) { in rte_port_sched_reader_create()
57 port->sched = conf->sched; in rte_port_sched_reader_create()
68 nb_rx = rte_sched_port_dequeue(p->sched, pkts, n_pkts); in rte_port_sched_reader_rx()
124 struct rte_sched_port *sched; member
139 (conf->sched == NULL) || in rte_port_sched_writer_create()
156 port->sched = conf->sched; in rte_port_sched_writer_create()
174 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, p->tx_buf_count); in rte_port_sched_writer_tx()
198 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, in rte_port_sched_writer_tx_bulk()
204 nb_tx = rte_sched_port_enqueue(p->sched, pkts, n_pkts); in rte_port_sched_writer_tx_bulk()
[all …]
H A Drte_port_sched.h30 struct rte_sched_port *sched; member
39 struct rte_sched_port *sched; member
/f-stack/freebsd/kern/
H A Dsched_4bsd.c265 SDT_PROVIDER_DEFINE(sched);
269 SDT_PROBE_DEFINE3(sched, , , dequeue, "struct thread *",
271 SDT_PROBE_DEFINE4(sched, , , enqueue, "struct thread *",
275 SDT_PROBE_DEFINE2(sched, , , load__change, "int", "int");
276 SDT_PROBE_DEFINE2(sched, , , off__cpu, "struct thread *",
278 SDT_PROBE_DEFINE(sched, , , on__cpu);
279 SDT_PROBE_DEFINE(sched, , , remain__cpu);
1087 SDT_PROBE0(sched, , , on__cpu); in sched_switch()
1094 SDT_PROBE0(sched, , , remain__cpu); in sched_switch()
1504 SDT_PROBE2(sched, , , surrender, td, td->td_proc); in sched_preempt()
[all …]
H A Dsched_ule.c289 #define TDQ_SELF() ((struct tdq *)PCPU_GET(sched))
347 SDT_PROVIDER_DEFINE(sched);
351 SDT_PROBE_DEFINE3(sched, , , dequeue, "struct thread *",
360 SDT_PROBE_DEFINE(sched, , , on__cpu);
361 SDT_PROBE_DEFINE(sched, , , remain__cpu);
1440 PCPU_SET(sched, DPCPU_PTR(tdq)); in sched_setup_smp()
2149 SDT_PROBE0(sched, , , on__cpu); in sched_switch()
2156 SDT_PROBE0(sched, , , remain__cpu); in sched_switch()
2362 SDT_PROBE2(sched, , , surrender, td, td->td_proc); in sched_preempt()
2900 PCPU_SET(sched, DPCPU_PTR(tdq)); in sched_throw()
[all …]
/f-stack/freebsd/opencrypto/
H A Dxform_rijndael.c90 rijndael128_setkey(void *sched, const uint8_t *key, int len) in rijndael128_setkey() argument
96 rijndael_set_key(sched, key, len * 8); in rijndael128_setkey()
H A Dxform_aes_xts.c144 aes_xts_setkey(void *sched, const uint8_t *key, int len) in aes_xts_setkey() argument
151 ctx = sched; in aes_xts_setkey()
H A Dxform_aes_icm.c184 aes_icm_setkey(void *sched, const uint8_t *key, int len) in aes_icm_setkey() argument
191 ctx = sched; in aes_icm_setkey()
/f-stack/dpdk/lib/librte_mbuf/
H A Drte_mbuf.h1899 return m->hash.sched.queue_id; in rte_mbuf_sched_queue_get()
1908 return m->hash.sched.traffic_class; in rte_mbuf_sched_traffic_class_get()
1917 return m->hash.sched.color; in rte_mbuf_sched_color_get()
1937 struct rte_mbuf_sched sched = m->hash.sched; in rte_mbuf_sched_get() local
1939 *queue_id = sched.queue_id; in rte_mbuf_sched_get()
1940 *traffic_class = sched.traffic_class; in rte_mbuf_sched_get()
1941 *color = sched.color; in rte_mbuf_sched_get()
1950 m->hash.sched.queue_id = queue_id; in rte_mbuf_sched_queue_set()
1959 m->hash.sched.traffic_class = traffic_class; in rte_mbuf_sched_traffic_class_set()
1968 m->hash.sched.color = color; in rte_mbuf_sched_color_set()
[all …]
/f-stack/freebsd/netpfil/ipfw/
H A Dip_dummynet.c510 si->sched = s; in si_new()
671 if (si->sched->fs->aqmfp && si->sched->fs->aqmfp->cleanup) in si_cleanup_q()
696 if (fs->sched && !(fs->sched->fp->flags & DN_MULTIQUEUE)) { in aqm_cleanup_deconfig_fs()
709 if (fs->sched && fs->sched->fp->flags & DN_MULTIQUEUE && fs->qht) { in aqm_cleanup_deconfig_fs()
740 h = fs->sched ? &fs->sched->fsk_list : &dn_cfg.fsu; in fsk_detach()
754 if (fs->sched && fs->sched->fp->free_fsk) in fsk_detach()
756 fs->sched = NULL; in fsk_detach()
1282 fs->sched = s; in fsk_attach()
1675 if (fs->sched) { in config_fs()
1990 struct dn_sch sched; in do_config() member
[all …]
H A Ddn_sched_fq_codel_helper.h57 struct fq_codel_schk *schk = (struct fq_codel_schk *)(si->_si.sched+1); in fqc_dodequeue()
107 struct fq_codel_schk *schk = (struct fq_codel_schk *)(si->_si.sched+1); in fqc_codel_dequeue()
/f-stack/freebsd/contrib/device-tree/Bindings/net/
H A Dsnps,dwmac.yaml151 * snps,rx-sched-sp, Strict priority
152 * snps,rx-sched-wsp, Weighted Strict priority
174 * snps,tx-sched-wrr, Weighted Round Robin
175 * snps,tx-sched-wfq, Weighted Fair Queuing
176 * snps,tx-sched-dwrr, Deficit Weighted Round Robin
177 * snps,tx-sched-sp, Strict priority
369 snps,rx-sched-sp;
379 snps,tx-sched-wrr;
/f-stack/freebsd/netpfil/ipfw/test/
H A Dmain.c67 struct dn_schk *sched; member
549 c->sched = calloc(1, c->schk_len); /* one parent scheduler */ in init()
554 if (!c->sched || !c->si || !c->fs || !c->q || !c->q_wfi) { in init()
558 c->si->sched = c->sched; /* link scheduler instance to template */ in init()
562 p->config(c->si->sched); in init()
573 fsk->sched = c->si->sched; in init()
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_pipeline.c238 struct rte_port_sched_reader_params sched; in softnic_pipeline_port_in_create() member
316 pp.sched.sched = tmgr_port->s; in softnic_pipeline_port_in_create()
319 p.arg_create = &pp.sched; in softnic_pipeline_port_in_create()
459 struct rte_port_sched_writer_params sched; in softnic_pipeline_port_out_create() member
556 pp.sched.sched = tmgr_port->s; in softnic_pipeline_port_out_create()
557 pp.sched.tx_burst_sz = params->burst_size; in softnic_pipeline_port_out_create()
560 p.arg_create = &pp.sched; in softnic_pipeline_port_out_create()
/f-stack/dpdk/examples/ip_pipeline/
H A Dpipeline.c161 struct rte_port_sched_reader_params sched; in pipeline_port_in_create() member
241 pp.sched.sched = tmgr_port->s; in pipeline_port_in_create()
244 p.arg_create = &pp.sched; in pipeline_port_in_create()
405 struct rte_port_sched_writer_params sched; in pipeline_port_out_create() member
507 pp.sched.sched = tmgr_port->s; in pipeline_port_out_create()
508 pp.sched.tx_burst_sz = params->burst_size; in pipeline_port_out_create()
511 p.arg_create = &pp.sched; in pipeline_port_out_create()
/f-stack/dpdk/drivers/net/bonding/
H A Dmeson.build8 deps += 'sched' # needed for rte_bitmap.h
/f-stack/dpdk/lib/librte_pipeline/
H A Dmeson.build16 deps += ['port', 'table', 'meter', 'sched', 'cryptodev']
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dmeson.build24 deps += ['bus_ifpga', 'ethdev', 'sched']

123