| /linux/Documentation/translations/zh_CN/scheduler/ |
| H A D | sched-arch.rst | 35 1. 现在抢占应该在空闲的例程上禁用。应该只在调用schedule()时启用,然后再禁用。 37 2. need_resched/TIF_NEED_RESCHED 只会被设置,并且在运行任务调用 schedule() 40 3. 当cpu_idle发现(need_resched() == 'true'),它应该调用schedule()。否则 41 它不应该调用schedule()。
|
| H A D | sched-stats.rst | 46 接下来的三个是schedule()的统计数据: 50 3) schedule()被调用了#次 51 4) 调用schedule()导致处理器变为空闲了#次
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_snprintf.c | 35 extern const void schedule __ksym; 58 &schedule, &schedule, &schedule); in handler()
|
| /linux/include/linux/ |
| H A D | wait.h | 331 schedule()) 370 0, 0, schedule()) 446 cmd1; schedule(); cmd2) 459 cmd1; schedule(); cmd2) 484 schedule()) 563 schedule()); \ 624 schedule()) 637 schedule()) 651 schedule()) 679 ___wait_event(wq_head, condition, TASK_IDLE, 0, 0, schedule()); \ [all …]
|
| H A D | swait.h | 184 schedule()) 208 schedule()) 233 (void)___swait_event(wq, condition, TASK_IDLE, 0, schedule())
|
| H A D | wait_bit.h | 282 schedule()) 341 schedule()) 406 schedule()) 465 schedule(); \
|
| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| H A D | func_traceonoff_triggers.tc | 75 cnt=`grep schedule set_ftrace_filter | wc -l` 110 cnt=`grep schedule set_ftrace_filter | wc -l` 122 cnt=`grep schedule set_ftrace_filter | wc -l` 140 cnt=`grep schedule set_ftrace_filter | wc -l`
|
| H A D | fgraph-filter-stack.tc | 43 count=`cat trace | grep '()' | grep -v schedule | wc -l` 60 count=`cat trace | grep '()' | grep -v schedule | wc -l`
|
| H A D | fgraph-filter.tc | 29 count=`cat trace | grep '()' | grep -v schedule | wc -l`
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_tas.c | 166 struct sja1105_schedule_entry *schedule; in sja1105_init_scheduling() local 236 schedule = table->entries; in sja1105_init_scheduling() 313 schedule[k].delta = ns_to_sja1105_delta(delta_ns); in sja1105_init_scheduling() 314 schedule[k].destports = BIT(port); in sja1105_init_scheduling() 315 schedule[k].resmedia_en = true; in sja1105_init_scheduling() 316 schedule[k].resmedia = SJA1105_GATE_MASK & in sja1105_init_scheduling() 344 schedule[k].delta = ns_to_sja1105_delta(e->interval); in sja1105_init_scheduling() 345 schedule[k].destports = e->rule->vl.destports; in sja1105_init_scheduling() 346 schedule[k].setvalid = true; in sja1105_init_scheduling() 347 schedule[k].txen = true; in sja1105_init_scheduling() [all …]
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_calendar.c | 293 data->schedule[idx] = SPX5_DSM_CAL_EMPTY; in sparx5_dsm_calendar_calc() 297 data->schedule[0] = SPX5_DSM_CAL_MAX_DEVS_PER_TAXI; in sparx5_dsm_calendar_calc() 386 data->schedule[idx] = SPX5_DSM_CAL_MAX_DEVS_PER_TAXI; in sparx5_dsm_calendar_calc() 409 if (data->schedule[slot] == SPX5_DSM_CAL_EMPTY) in sparx5_dsm_calendar_calc() 419 memcpy(data->short_list, data->schedule, in sparx5_dsm_calendar_calc() 428 memcpy(data->long_list, data->schedule, in sparx5_dsm_calendar_calc() 465 data->schedule[slot] = data->temp_sched[slot]; in sparx5_dsm_calendar_calc() 479 u32 cal_length = sparx5_dsm_cal_len(data->schedule); in sparx5_dsm_calendar_check() 490 if (data->schedule[idx] == port) { in sparx5_dsm_calendar_check() 532 u32 cal_len = sparx5_dsm_cal_len(data->schedule), len, idx; in sparx5_dsm_calendar_update() [all …]
|
| /linux/kernel/time/ |
| H A D | sleep_timeout.c | 75 schedule(); in schedule_timeout() 99 schedule(); in schedule_timeout() 207 schedule(); in schedule_hrtimeout_range_clock() 216 schedule(); in schedule_hrtimeout_range_clock()
|
| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_calendar.c | 128 data->schedule[0] = SPX5_DSM_CAL_EMPTY; in lan969x_dsm_calendar_calc() 171 data->schedule[i] = SPX5_DSM_CAL_EMPTY; in lan969x_dsm_calendar_calc() 180 err = lan969x_dsm_cal_idx_get(data->schedule, in lan969x_dsm_calendar_calc() 184 data->schedule[idx] = speed->devs[dev]; in lan969x_dsm_calendar_calc()
|
| /linux/net/atm/ |
| H A D | svc.c | 64 schedule(); in svc_disconnect() 140 schedule(); in svc_bind() 221 schedule(); in svc_connect() 244 schedule(); in svc_connect() 251 schedule(); in svc_connect() 311 schedule(); in svc_listen() 363 schedule(); in svc_accept() 405 schedule(); in svc_accept() 450 schedule(); in svc_change_qos() 552 schedule(); in svc_addparty() [all …]
|
| /linux/Documentation/tools/rv/ |
| H A D | rv-mon-sched.rst | 49 * scpd: schedule called with preemption disabled 50 * snep: schedule does not enable preempt 51 * sncid: schedule not called with interrupt disabled
|
| /linux/Documentation/scheduler/ |
| H A D | sched-arch.rst | 27 be enabled to call schedule() then disabled again. 30 be cleared until the running task has called schedule(). Idle 35 schedule(). It should not call schedule() otherwise.
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-probe.txt | 234 …or code changes. For example, actual 10th line of schedule() can be moved easily by modifying sche… 247 Display which lines in schedule() can be probed: 249 ./perf probe --line schedule 251 Add a probe on schedule() function 12th line with recording cpu local variable: 253 ./perf probe schedule:12 cpu 255 ./perf probe --add='schedule:12 cpu' 257 Add one or more probes which has the name start with "schedule". 259 ./perf probe schedule* 261 ./perf probe --add='schedule*' 263 Add probes on lines in schedule() function which calls update_rq_clock(). [all …]
|
| /linux/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek.c | 1541 const struct tc_taprio_qopt_offload *schedule) in hellcreek_setup_maxsdu() argument 1546 u32 max_sdu = schedule->max_sdu[tc] + VLAN_ETH_HLEN - ETH_FCS_LEN; in hellcreek_setup_maxsdu() 1549 if (!schedule->max_sdu[tc]) in hellcreek_setup_maxsdu() 1580 const struct tc_taprio_qopt_offload *schedule) in hellcreek_setup_gcl() argument 1585 cur = initial = &schedule->entries[0]; in hellcreek_setup_gcl() 1588 for (i = 1; i <= schedule->num_entries; ++i) { in hellcreek_setup_gcl() 1592 if (i == schedule->num_entries) in hellcreek_setup_gcl() 1601 if (i == schedule->num_entries) in hellcreek_setup_gcl() 1627 const struct tc_taprio_qopt_offload *schedule) in hellcreek_set_cycle_time() argument 1629 u32 cycle_time = schedule->cycle_time; in hellcreek_set_cycle_time() [all …]
|
| /linux/kernel/power/ |
| H A D | process.c | 210 schedule(); in thaw_processes() 231 schedule(); in thaw_kernel_threads()
|
| /linux/kernel/trace/ |
| H A D | ring_buffer_benchmark.c | 225 schedule(); in ring_buffer_consumer() 377 schedule(); in wait_to_die() 393 schedule(); in ring_buffer_consumer_thread()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | context_tracking.h | 8 #define SCHEDULE_USER bl schedule
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_wait.c | 104 if (engine->sched_engine->schedule) in fence_set_priority() 105 engine->sched_engine->schedule(rq, attr); in fence_set_priority()
|
| /linux/tools/testing/shared/linux/ |
| H A D | kernel.h | 21 #define schedule() macro
|
| /linux/kernel/entry/ |
| H A D | virt.c | 14 schedule(); in xfer_to_guest_mode_work()
|
| /linux/drivers/usb/host/ |
| H A D | sl811-hcd.c | 319 struct sl811h_ep, schedule); in start() 332 if (ep->schedule.next == &sl811->async) in start() 335 sl811->next_async = container_of(ep->schedule.next, in start() 336 struct sl811h_ep, schedule); in start() 443 if (!list_empty(&ep->schedule)) { in finish_request() 444 list_del_init(&ep->schedule); in finish_request() 845 INIT_LIST_HEAD(&ep->schedule); in sl811h_urb_enqueue() 898 if (list_empty(&ep->schedule)) in sl811h_urb_enqueue() 899 list_add_tail(&ep->schedule, &sl811->async); in sl811h_urb_enqueue() 1437 list_for_each_entry (ep, &sl811->async, schedule) { in sl811h_debug_show()
|