Home
last modified time | relevance | path

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

/kernel/
Dcpu.c480 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
492 return prev_state; in cpuhp_set_state()
497 enum cpuhp_state prev_state) in cpuhp_reset_state() argument
501 st->target = prev_state; in cpuhp_reset_state()
548 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
551 prev_state = cpuhp_set_state(cpu, st, target); in cpuhp_kick_ap()
554 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_kick_ap()
730 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
739 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_up_callbacks()
742 prev_state)); in cpuhp_up_callbacks()
[all …]
Dstackleak.c27 int prev_state = state; in stack_erasing_sysctl() local
33 if (ret || !write || state == prev_state) in stack_erasing_sysctl()
/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()
Dtrace_output.c945 S = task_index_to_char(field->prev_state); in trace_ctxwake_print()
980 S = task_index_to_char(field->prev_state); in trace_ctxwake_raw()
1016 S = task_index_to_char(field->prev_state); in trace_ctxwake_hex()
1052 SEQ_PUT_FIELD(s, field->prev_state); in trace_ctxwake_bin()
/kernel/debug/kdb/
Dkdb_main.c2249 char state, prev_state = '?'; in kdb_cpu_status() local
2263 if (state != prev_state) { in kdb_cpu_status()
2264 if (prev_state != '?') { in kdb_cpu_status()
2271 if (prev_state != ' ') in kdb_cpu_status()
2272 kdb_printf("(%c)", prev_state); in kdb_cpu_status()
2274 prev_state = state; in kdb_cpu_status()
2279 if (prev_state != 'F') { in kdb_cpu_status()
2285 if (prev_state != ' ') in kdb_cpu_status()
2286 kdb_printf("(%c)", prev_state); in kdb_cpu_status()
/kernel/bpf/
Dbpf_struct_ops.c488 enum bpf_struct_ops_state prev_state; in bpf_struct_ops_map_delete_elem() local
492 prev_state = cmpxchg(&st_map->kvalue.state, in bpf_struct_ops_map_delete_elem()
495 switch (prev_state) { in bpf_struct_ops_map_delete_elem()
/kernel/sched/
Dcore.c4986 long prev_state; in finish_task_switch() local
5017 prev_state = READ_ONCE(prev->__state); in finish_task_switch()
5051 if (unlikely(prev_state == TASK_DEAD)) { in finish_task_switch()
6393 unsigned long prev_state; in __schedule() local
6441 prev_state = READ_ONCE(prev->__state); in __schedule()
6442 if (!(sched_mode & SM_MASK_PREEMPT) && prev_state) { in __schedule()
6443 if (signal_pending_state(prev_state, prev)) { in __schedule()
6447 (prev_state & TASK_UNINTERRUPTIBLE) && in __schedule()
6448 !(prev_state & TASK_NOLOAD) && in __schedule()
6640 enum ctx_state prev_state = exception_enter(); in schedule_user() local
[all …]