Home
last modified time | relevance | path

Searched refs:prev_state (Results 1 – 14 of 14) sorted by relevance

/kernel/
Dcpu.c502 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
514 return prev_state; in cpuhp_set_state()
519 enum cpuhp_state prev_state) in cpuhp_reset_state() argument
523 st->target = prev_state; in cpuhp_reset_state()
570 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
573 prev_state = cpuhp_set_state(cpu, st, target); in cpuhp_kick_ap()
576 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_kick_ap()
752 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
761 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_up_callbacks()
764 prev_state)); in cpuhp_up_callbacks()
[all …]
Dstackleak.c29 int prev_state = state; in stack_erasing_sysctl() local
35 if (ret || !write || state == prev_state) in stack_erasing_sysctl()
/kernel/trace/rv/monitors/wwnr/
Dwwnr.c22 struct task_struct *n, unsigned int prev_state) in handle_switch() argument
25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
/kernel/trace/
Dtrace_entries.h119 __field( unsigned char, prev_state ) \
132 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
150 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
Dtrace_sched_wakeup.c391 entry->prev_state = task_state_index(prev); in tracing_sched_switch_trace()
419 entry->prev_state = task_state_index(curr); in tracing_sched_wakeup_trace()
432 unsigned int prev_state) in probe_wakeup_sched_switch() argument
Dtrace_sched_switch.c26 unsigned int prev_state) in probe_sched_switch() argument
Dtrace_output.c944 S = task_index_to_char(field->prev_state); in trace_ctxwake_print()
979 S = task_index_to_char(field->prev_state); in trace_ctxwake_raw()
1015 S = task_index_to_char(field->prev_state); in trace_ctxwake_hex()
1051 SEQ_PUT_FIELD(s, field->prev_state); in trace_ctxwake_bin()
Dfgraph.c429 unsigned int prev_state) in ftrace_graph_probe_sched_switch() argument
Dtrace_osnoise.c1172 unsigned int prev_state) in trace_sched_switch_callback() argument
Dtrace_events.c789 unsigned int prev_state) in event_filter_pid_sched_switch_probe_pre() argument
815 unsigned int prev_state) in event_filter_pid_sched_switch_probe_post() argument
Dftrace.c7662 unsigned int prev_state) in ftrace_filter_pid_sched_switch_probe() argument
/kernel/debug/kdb/
Dkdb_main.c2200 char state, prev_state = '?'; in kdb_cpu_status() local
2214 if (state != prev_state) { in kdb_cpu_status()
2215 if (prev_state != '?') { in kdb_cpu_status()
2222 if (prev_state != ' ') in kdb_cpu_status()
2223 kdb_printf("(%c)", prev_state); in kdb_cpu_status()
2225 prev_state = state; in kdb_cpu_status()
2230 if (prev_state != 'F') { in kdb_cpu_status()
2236 if (prev_state != ' ') in kdb_cpu_status()
2237 kdb_printf("(%c)", prev_state); in kdb_cpu_status()
/kernel/bpf/
Dbpf_struct_ops.c530 enum bpf_struct_ops_state prev_state; in bpf_struct_ops_map_delete_elem() local
534 prev_state = cmpxchg(&st_map->kvalue.state, in bpf_struct_ops_map_delete_elem()
537 switch (prev_state) { in bpf_struct_ops_map_delete_elem()
/kernel/sched/
Dcore.c5242 unsigned int prev_state; in finish_task_switch() local
5273 prev_state = READ_ONCE(prev->__state); in finish_task_switch()
5307 if (unlikely(prev_state == TASK_DEAD)) { in finish_task_switch()
6613 unsigned long prev_state; in __schedule() local
6658 prev_state = READ_ONCE(prev->__state); in __schedule()
6659 if (!(sched_mode & SM_MASK_PREEMPT) && prev_state) { in __schedule()
6660 if (signal_pending_state(prev_state, prev)) { in __schedule()
6664 (prev_state & TASK_UNINTERRUPTIBLE) && in __schedule()
6665 !(prev_state & TASK_NOLOAD) && in __schedule()
6666 !(prev_state & TASK_FROZEN); in __schedule()
[all …]