/openbmc/linux/drivers/gpu/drm/scheduler/ |
H A D | sched_main.c | 134 rq->sched = sched; in drm_sched_rq_init() 268 struct drm_gpu_scheduler *sched = s_fence->sched; in drm_sched_job_done() local 304 queue_delayed_work(sched->timeout_wq, &sched->work_tdr, sched->timeout); in drm_sched_start_timeout() 375 struct drm_gpu_scheduler *sched = s_job->sched; in drm_sched_job_begin() local 451 if (bad && bad->sched == sched) in drm_sched_stop() 671 sched = entity->rq->sched; in drm_sched_job_arm() 673 job->sched = sched; in drm_sched_job_arm() 1098 sched->score = score ? score : &sched->_score; in drm_sched_init() 1101 drm_sched_rq_init(sched, &sched->sched_rq[i]); in drm_sched_init() 1113 sched->thread = kthread_run(drm_sched_main, sched, sched->name); in drm_sched_init() [all …]
|
H A D | sched_entity.c | 172 job->sched->ops->free_job(job); in drm_sched_entity_kill_jobs_work() 263 struct drm_gpu_scheduler *sched; in drm_sched_entity_flush() local 270 sched = entity->rq->sched; in drm_sched_entity_flush() 278 sched->job_scheduled, in drm_sched_entity_flush() 282 wait_event_killable(sched->job_scheduled, in drm_sched_entity_flush() 389 struct drm_gpu_scheduler *sched = entity->rq->sched; in drm_sched_entity_add_dependency_cb() local 405 if (!fence->error && s_fence && s_fence->sched == sched && in drm_sched_entity_add_dependency_cb() 448 if (job->sched->ops->prepare_job) in drm_sched_job_dependency() 511 struct drm_gpu_scheduler *sched; in drm_sched_entity_select_rq() local 538 rq = sched ? &sched->sched_rq[entity->priority] : NULL; in drm_sched_entity_select_rq() [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-sched.c | 483 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); in register_pid() 625 struct perf_sched *sched = parms->sched; in thread_func() local 682 parms->sched = sched; in create_tasks() 749 sched->runavg_cpu_usage = sched->cpu_usage; in wait_for_tasks() 750 …sched->runavg_cpu_usage = (sched->runavg_cpu_usage * (sched->replay_repeat - 1) + sched->cpu_usage… in wait_for_tasks() 781 avg_delta = sched->sum_runtime / sched->nr_runs; in run_one_test() 789 sched->run_avg = (sched->run_avg * (sched->replay_repeat - 1) + delta) / sched->replay_repeat; in run_one_test() 2101 if (sched->show_wakeups && !sched->show_next) in timehist_print_sample() 2872 totals.sched = sched; in timehist_print_summary() 3110 sched->summary = sched->summary_only; in perf_sched__timehist() [all …]
|
/openbmc/linux/net/mptcp/ |
H A D | sched.c | 46 ret = sched; in mptcp_sched_find() 89 if (!sched) in mptcp_init_sched() 92 if (!bpf_try_module_get(sched, sched->owner)) in mptcp_init_sched() 95 msk->sched = sched; in mptcp_init_sched() 106 struct mptcp_sched_ops *sched = msk->sched; in mptcp_release_sched() local 108 if (!sched) in mptcp_release_sched() 111 msk->sched = NULL; in mptcp_release_sched() 112 if (sched->release) in mptcp_release_sched() 115 bpf_module_put(sched, sched->owner); in mptcp_release_sched() 148 if (msk->sched == &mptcp_sched_default || !msk->sched) in mptcp_sched_get_send() [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-filter.tc | 14 echo 'traceoff if child_pid == 0' > events/sched/sched_process_fork/trigger 23 ! echo 'traceoff if a' > events/sched/sched_process_fork/trigger 24 ! echo 'traceoff if common_pid=0' > events/sched/sched_process_fork/trigger 25 ! echo 'traceoff if common_pid==b' > events/sched/sched_process_fork/trigger 26 echo 'traceoff if common_pid == 0' > events/sched/sched_process_fork/trigger 27 echo '!traceoff' > events/sched/sched_process_fork/trigger 29 echo 'traceoff if common_pid <= 0' > events/sched/sched_process_fork/trigger 30 echo '!traceoff' > events/sched/sched_process_fork/trigger 32 echo '!traceoff' > events/sched/sched_process_fork/trigger 34 echo '!traceoff' > events/sched/sched_process_fork/trigger [all …]
|
H A D | trigger-eventonoff.tc | 12 FEATURE=`grep enable_event events/sched/sched_process_fork/trigger` 19 echo 0 > events/sched/sched_switch/enable 20 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger 22 if [ `cat events/sched/sched_switch/enable` != '1*' ]; then 29 echo 1 > events/sched/sched_switch/enable 30 echo 'disable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger 32 if [ `cat events/sched/sched_switch/enable` != '0*' ]; then 39 ! echo 'enable_event:nogroup:noevent' > events/sched/sched_process_fork/trigger 40 ! echo 'disable_event+1' > events/sched/sched_process_fork/trigger 41 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger [all …]
|
H A D | trigger-multihist.tc | 14 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger 15 echo 'hist:keys=parent_comm:vals=child_pid' >> events/sched/sched_process_fork/trigger 17 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 19 grep child events/sched/sched_process_fork/hist > /dev/null || \ 22 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 29 echo 'hist:name=test_hist:keys=common_pid' > events/sched/sched_process_fork/trigger 31 grep test_hist events/sched/sched_process_fork/hist > /dev/null || \ 36 echo 'hist:name=test_hist:keys=common_pid' > events/sched/sched_process_exit/trigger 38 grep test_hist events/sched/sched_process_exit/hist > /dev/null || \ 41 diffs=`diff events/sched/sched_process_exit/hist events/sched/sched_process_fork/hist | wc -l`
|
H A D | trigger-traceonoff.tc | 13 echo 'traceoff' > events/sched/sched_process_fork/trigger 23 echo 'traceon' > events/sched/sched_process_fork/trigger 32 ! echo 'traceoff:badparam' > events/sched/sched_process_fork/trigger 33 ! echo 'traceoff+0' > events/sched/sched_process_fork/trigger 34 echo 'traceon' > events/sched/sched_process_fork/trigger 35 ! echo 'traceon' > events/sched/sched_process_fork/trigger 36 ! echo 'traceoff' > events/sched/sched_process_fork/trigger
|
H A D | trigger-snapshot.tc | 11 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger` 19 echo 1 > events/sched/sched_process_fork/enable 21 echo 'snapshot:1' > events/sched/sched_process_fork/trigger 28 echo 0 > events/sched/sched_process_fork/enable 32 ! echo "snapshot+1" > events/sched/sched_process_fork/trigger 33 echo "snapshot" > events/sched/sched_process_fork/trigger 34 ! echo "snapshot" > events/sched/sched_process_fork/trigger
|
H A D | trigger-hist.tc | 14 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger 16 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 18 grep child events/sched/sched_process_fork/hist > /dev/null || \ 25 echo 'hist:keys=parent_pid,child_pid' > events/sched/sched_process_fork/trigger 27 grep '^{ parent_pid:.*, child_pid:.*}' events/sched/sched_process_fork/hist > /dev/null || \ 34 echo 'hist:keys=parent_comm' > events/sched/sched_process_fork/trigger 37 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 62 echo 'hist:keys=parent_pid,child_pid:sort=child_pid.ascending' > events/sched/sched_process_fork/tr… 73 events/sched/sched_process_fork/hist | cut -d: -f2 ` ||
|
H A D | trigger-stacktrace.tc | 11 FEATURE=`grep stacktrace events/sched/sched_process_fork/trigger` 20 echo 'stacktrace' > events/sched/sched_process_fork/trigger 29 ! echo "stacktrace:foo" > events/sched/sched_process_fork/trigger 30 echo "stacktrace" > events/sched/sched_process_fork/trigger 31 ! echo "stacktrace" > events/sched/sched_process_fork/trigger
|
/openbmc/linux/drivers/slimbus/ |
H A D | sched.c | 29 struct slim_sched *sched = &ctrl->sched; in slim_ctrl_clk_pause() local 38 mutex_lock(&sched->m_reconf); in slim_ctrl_clk_pause() 41 mutex_unlock(&sched->m_reconf); in slim_ctrl_clk_pause() 52 mutex_unlock(&sched->m_reconf); in slim_ctrl_clk_pause() 67 mutex_unlock(&sched->m_reconf); in slim_ctrl_clk_pause() 74 mutex_unlock(&sched->m_reconf); in slim_ctrl_clk_pause() 83 mutex_unlock(&sched->m_reconf); in slim_ctrl_clk_pause() 112 sched->clk_state = SLIM_CLK_ACTIVE; in slim_ctrl_clk_pause() 114 sched->clk_state = SLIM_CLK_PAUSED; in slim_ctrl_clk_pause() 115 complete(&sched->pause_comp); in slim_ctrl_clk_pause() [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | index.rst | 10 sched-arch 11 sched-bwc 12 sched-deadline 13 sched-design-CFS 14 sched-domains 15 sched-capacity 16 sched-energy 18 sched-util-clamp 20 sched-rt-group 21 sched-stats [all …]
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sched.c | 70 if (sched->done_service) in ip_vs_unbind_scheduler() 71 sched->done_service(svc); in ip_vs_unbind_scheduler() 81 struct ip_vs_scheduler *sched; in ip_vs_sched_getbyname() local 91 if (sched->module && !try_module_get(sched->module)) { in ip_vs_sched_getbyname() 100 return sched; in ip_vs_sched_getbyname() 102 module_put(sched->module); in ip_vs_sched_getbyname() 115 struct ip_vs_scheduler *sched; in ip_vs_scheduler_get() local 125 if (sched == NULL) { in ip_vs_scheduler_get() 130 return sched; in ip_vs_scheduler_get() 146 char *sched_name = sched ? sched->name : "none"; in ip_vs_scheduler_err() [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/scheduler/ |
H A D | index.rst | 22 sched-arch 23 sched-bwc 24 sched-design-CFS 25 sched-domains 26 sched-capacity 27 sched-energy 29 sched-nice-design 30 sched-stats 31 sched-debug 35 sched-deadline [all …]
|
/openbmc/linux/crypto/ |
H A D | fcrypt.c | 54 __be32 sched[ROUNDS]; member 223 #define F_ENCRYPT(R, L, sched) \ argument 226 u.l = sched ^ R; \ 242 F_ENCRYPT(X.r, X.l, ctx->sched[0x0]); in fcrypt_encrypt() 243 F_ENCRYPT(X.l, X.r, ctx->sched[0x1]); in fcrypt_encrypt() 244 F_ENCRYPT(X.r, X.l, ctx->sched[0x2]); in fcrypt_encrypt() 245 F_ENCRYPT(X.l, X.r, ctx->sched[0x3]); in fcrypt_encrypt() 246 F_ENCRYPT(X.r, X.l, ctx->sched[0x4]); in fcrypt_encrypt() 247 F_ENCRYPT(X.l, X.r, ctx->sched[0x5]); in fcrypt_encrypt() 343 ctx->sched[0xf] = cpu_to_be32(k); in fcrypt_setkey() [all …]
|
/openbmc/openbmc-tools/tracing/ |
H A D | README.md | 15 Valid EVENTSETs: fsi, occ, sbefifo, timer, sched 20 For example, capturing the defined tracepoints for the `sched` event set: 23 $ ./trace root@my-bmc sched 30 + EVENT_sched='sched/sched_switch sched/sched_wakeup sched/sched_wakeup_new sched/sched_waking' 33 + for elem in sched 37 +++ echo sched/sched_switch sched/sched_wakeup sched/sched_wakeup_new sched/sched_waking 65 + for elem in sched 69 +++ echo sched/sched_switch sched/sched_wakeup sched/sched_wakeup_new sched/sched_waking
|
/openbmc/linux/net/sctp/ |
H A D | stream_sched.c | 119 sctp_sched_ops[sched] = sched_ops; in sctp_sched_ops_register() 137 sched->unsched_all(stream); in sctp_sched_free_sched() 142 sched->free_sid(stream, i); in sctp_sched_free_sched() 149 enum sctp_sched_type sched) in sctp_sched_set_sched() argument 157 if (sched > SCTP_SS_MAX) in sctp_sched_set_sched() 160 n = sctp_sched_ops[sched]; in sctp_sched_set_sched() 167 asoc->outqueue.sched = n; in sctp_sched_set_sched() 200 if (asoc->outqueue.sched == sctp_sched_ops[i]) in sctp_sched_get_sched() 253 q->sched->dequeue_done(q, ch); in sctp_sched_dequeue_done() 270 return sched->init_sid(stream, sid, gfp); in sctp_sched_init_sid() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 451 if (sc->sched.extend_absence) in ath_chanctx_set_periodic_noa() 460 sc->sched.extend_absence) in ath_chanctx_set_periodic_noa() 535 if (sc->sched.offchannel_pending && !sc->sched.wait_switch) { in ath_chanctx_event() 558 if (sc->sched.mgd_prepare_tx) in ath_chanctx_event() 665 sc->sched.beacon_pending) in ath_chanctx_event() 666 sc->sched.beacon_miss++; in ath_chanctx_event() 680 sc->sched.beacon_miss = 0; in ath_chanctx_event() 732 sc->sched.beacon_miss = 0; in ath_chanctx_event() 780 if (sc->sched.beacon_pending) in ath_chanctx_beacon_sent_ev() 814 sc->sched.wait_switch = true; in ath_chanctx_switch() [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-sched.txt | 1 perf-sched(1) 6 perf-sched - Tool to trace/measure scheduler properties (latencies) 11 'perf sched' {record|latency|map|replay|script|timehist} 15 There are several variants of 'perf sched': 17 'perf sched record <command>' to record the scheduling events 42 perf sched record -- sleep 1 43 perf sched timehist 46 time (time between sched-out and next sched-in events for the task), the 75 Display verbose dump of the sched data. 81 OPTIONS for 'perf sched map' [all …]
|
/openbmc/linux/include/drm/ |
H A D | gpu_scheduler.h | 258 struct drm_gpu_scheduler *sched; member 302 struct drm_gpu_scheduler *sched; member 339 struct drm_gpu_scheduler *sched; member 521 int drm_sched_init(struct drm_gpu_scheduler *sched, 527 void drm_sched_fini(struct drm_gpu_scheduler *sched); 551 void drm_sched_wakeup_if_can_queue(struct drm_gpu_scheduler *sched); 553 void drm_sched_start(struct drm_gpu_scheduler *sched, bool full_recovery); 554 void drm_sched_resubmit_jobs(struct drm_gpu_scheduler *sched); 560 void drm_sched_fault(struct drm_gpu_scheduler *sched); 595 unsigned long drm_sched_suspend_timeout(struct drm_gpu_scheduler *sched); [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
H A D | trigger-field-variable-support.tc | 14 echo 'hist:keys=comm:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger 15 …ext_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigg… 23 if ! grep -q "synthetic_prio=prio" events/sched/sched_waking/hist; then 27 …xt_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigg… 29 if grep -q "synthetic_prio=prio" events/sched/sched_waking/hist; then
|
/openbmc/linux/tools/perf/scripts/python/bin/ |
H A D | sched-migration-record | 2 perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched…
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_job.c | 36 struct amdgpu_ring *ring = to_amdgpu_ring(s_job->sched); in amdgpu_job_timedout() 45 __func__, s_job->sched->name); in amdgpu_job_timedout() 57 s_job->sched->name); in amdgpu_job_timedout() 63 job->base.sched->name, atomic_read(&ring->fence_drv.last_seq), in amdgpu_job_timedout() 82 drm_sched_suspend_timeout(&ring->sched); in amdgpu_job_timedout() 108 (*job)->base.sched = &adev->rings[0]->sched; in amdgpu_job_alloc() 162 struct amdgpu_ring *ring = to_amdgpu_ring(job->base.sched); in amdgpu_job_free_resources() 242 job->base.sched = &ring->sched; in amdgpu_job_submit_direct() 285 struct amdgpu_ring *ring = to_amdgpu_ring(sched_job->sched); in amdgpu_job_run() 331 struct drm_sched_rq *rq = &sched->sched_rq[i]; in amdgpu_job_stop_all_jobs_on_sched() [all …]
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | lock_contention.sh | 40 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1 60 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 71 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \ 95 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 118 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 140 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging > /dev/null 2> ${result} 172 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging > /dev/null 2> ${result} 200 perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 228 …perf lock con -a -b -t -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${resul… 262 perf lock con -a -b -E 1 -x , --output ${result} -- perf bench sched messaging > /dev/null 2>&1
|