Home
last modified time | relevance | path

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

/kernel/
Dcpu.c702 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
714 return prev_state; in cpuhp_set_state()
719 enum cpuhp_state prev_state) in cpuhp_reset_state() argument
723 st->target = prev_state; in cpuhp_reset_state()
770 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
773 prev_state = cpuhp_set_state(cpu, st, target); in cpuhp_kick_ap()
776 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_kick_ap()
1008 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
1017 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_up_callbacks()
1020 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.h145 __field( unsigned char, prev_state ) \
158 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
176 __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.c1084 S = task_index_to_char(field->prev_state); in trace_ctxwake_print()
1119 S = task_index_to_char(field->prev_state); in trace_ctxwake_raw()
1155 S = task_index_to_char(field->prev_state); in trace_ctxwake_hex()
1191 SEQ_PUT_FIELD(s, field->prev_state); in trace_ctxwake_bin()
Dfgraph.c454 unsigned int prev_state) in ftrace_graph_probe_sched_switch() argument
Dtrace_events.c791 unsigned int prev_state) in event_filter_pid_sched_switch_probe_pre() argument
817 unsigned int prev_state) in event_filter_pid_sched_switch_probe_post() argument
Dtrace_osnoise.c1268 unsigned int prev_state) in trace_sched_switch_callback() argument
Dftrace.c7472 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.c565 enum bpf_struct_ops_state prev_state; in bpf_struct_ops_map_delete_elem() local
572 prev_state = cmpxchg(&st_map->kvalue.state, in bpf_struct_ops_map_delete_elem()
575 switch (prev_state) { in bpf_struct_ops_map_delete_elem()
/kernel/sched/
Dcore.c5347 unsigned int prev_state; in finish_task_switch() local
5378 prev_state = READ_ONCE(prev->__state); in finish_task_switch()
5413 if (unlikely(prev_state == TASK_DEAD)) { in finish_task_switch()
6728 unsigned long prev_state; in __schedule() local
6774 prev_state = READ_ONCE(prev->__state); in __schedule()
6775 if (!(sched_mode & SM_MASK_PREEMPT) && prev_state) { in __schedule()
6776 if (signal_pending_state(prev_state, prev)) { in __schedule()
6780 (prev_state & TASK_UNINTERRUPTIBLE) && in __schedule()
6781 !(prev_state & TASK_NOLOAD) && in __schedule()
6782 !(prev_state & TASK_FROZEN); in __schedule()
[all …]