Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 50) sorted by relevance

12

/kernel/power/
Dsuspend.c105 static bool valid_state(suspend_state_t state) in valid_state()
173 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
179 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
184 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
190 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
196 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
202 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
208 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
214 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
220 static int platform_suspend_begin(suspend_state_t state) in platform_suspend_begin()
[all …]
Dmain.c331 suspend_state_t state; in decode_state() local
358 suspend_state_t state; in state_store() local
460 suspend_state_t state = pm_autosleep_state(); in autosleep_show() local
481 suspend_state_t state = decode_state(buf, n); in autosleep_store() local
Dautosleep.c89 int pm_autosleep_set_state(suspend_state_t state) in pm_autosleep_set_state()
Dsuspend_test.c63 static void __init test_wakealarm(struct rtc_device *rtc, suspend_state_t state) in test_wakealarm()
/kernel/
Dcontext_tracking.c61 void __context_tracking_enter(enum ctx_state state) in __context_tracking_enter()
104 void context_tracking_enter(enum ctx_state state) in context_tracking_enter()
144 void __context_tracking_exit(enum ctx_state state) in __context_tracking_exit()
168 void context_tracking_exit(enum ctx_state state) in context_tracking_exit()
Dcpu.c49 enum cpuhp_state state; member
103 static bool cpuhp_is_ap_state(enum cpuhp_state state) in cpuhp_is_ap_state()
112 static struct cpuhp_step *cpuhp_get_step(enum cpuhp_state state) in cpuhp_get_step()
128 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback()
611 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_invoke_ap_callback()
662 enum cpuhp_state state = st->state; in cpuhp_kick_ap_work() local
1007 void cpuhp_online_idle(enum cpuhp_state state) in cpuhp_online_idle()
1450 static int cpuhp_cb_check(enum cpuhp_state state) in cpuhp_cb_check()
1457 static void cpuhp_store_callbacks(enum cpuhp_state state, in cpuhp_store_callbacks()
1474 static void *cpuhp_get_teardown_cb(enum cpuhp_state state) in cpuhp_get_teardown_cb()
[all …]
Dcgroup_freezer.c45 unsigned int state; member
76 static const char *freezer_state_strs(unsigned int state) in freezer_state_strs()
350 unsigned int state) in freezer_apply_state()
Dauditsc.c443 enum audit_state *state, in audit_filter_rules()
716 enum audit_state state; in audit_filter_task() local
758 enum audit_state state; in audit_filter_syscall() local
789 enum audit_state state; in audit_filter_inode_name() local
902 static inline struct audit_context *audit_alloc_context(enum audit_state state) in audit_alloc_context()
928 enum audit_state state; in audit_alloc() local
1498 enum audit_state state; in __audit_syscall_entry() local
Dpanic.c47 static long no_blink(int state) in no_blink()
135 int state = 0; in panic() local
/kernel/sched/
Dcompletion.c62 long (*action)(long), long timeout, int state) in do_wait_for_common()
88 long (*action)(long), long timeout, int state) in __wait_for_common()
99 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common()
105 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io()
Dswait.c82 void prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait()
93 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event()
Dwait.c172 prepare_to_wait(wait_queue_head_t *q, wait_queue_t *wait, int state) in prepare_to_wait()
186 prepare_to_wait_exclusive(wait_queue_head_t *q, wait_queue_t *wait, int state) in prepare_to_wait_exclusive()
208 long prepare_to_wait_event(wait_queue_head_t *q, wait_queue_t *wait, int state) in prepare_to_wait_event()
Didle.c284 void cpu_startup_entry(enum cpuhp_state state) in cpu_startup_entry()
/kernel/locking/
Drtmutex.c1192 __rt_mutex_slowlock(struct rt_mutex *lock, int state, in __rt_mutex_slowlock()
1255 rt_mutex_slowlock(struct rt_mutex *lock, int state, in rt_mutex_slowlock()
1430 rt_mutex_fastlock(struct rt_mutex *lock, int state, in rt_mutex_fastlock()
1443 rt_mutex_timed_fastlock(struct rt_mutex *lock, int state, in rt_mutex_timed_fastlock()
Dsemaphore.c204 static inline int __sched __down_common(struct semaphore *sem, long state, in __down_common()
Drwsem-spinlock.c194 int __sched __down_write_common(struct rw_semaphore *sem, int state) in __down_write_common()
Drwsem-xadd.c458 __rwsem_down_write_failed_common(struct rw_semaphore *sem, int state) in __rwsem_down_write_failed_common()
/kernel/bpf/
Dverifier.c193 static void print_verifier_state(struct bpf_verifier_state *state) in print_verifier_state()
543 static int check_stack_write(struct bpf_verifier_state *state, int off, in check_stack_write()
577 static int check_stack_read(struct bpf_verifier_state *state, int off, int size, in check_stack_read()
754 struct bpf_verifier_state *state = &env->cur_state; in check_mem_access() local
931 struct bpf_verifier_state *state = &env->cur_state; in check_stack_boundary() local
1182 struct bpf_verifier_state *state = &env->cur_state; in clear_all_pkt_pointers() local
1205 struct bpf_verifier_state *state = &env->cur_state; in check_call() local
1964 static void find_good_pkt_pointers(struct bpf_verifier_state *state, in find_good_pkt_pointers()
2194 static void mark_map_regs(struct bpf_verifier_state *state, u32 regno, in mark_map_regs()
2852 struct bpf_verifier_state *state = &env->cur_state; in do_check() local
/kernel/time/
Dhrtimer.c335 static bool hrtimer_fixup_init(void *addr, enum debug_obj_state state) in hrtimer_fixup_init()
354 static bool hrtimer_fixup_activate(void *addr, enum debug_obj_state state) in hrtimer_fixup_activate()
369 static bool hrtimer_fixup_free(void *addr, enum debug_obj_state state) in hrtimer_fixup_free()
893 u8 state = timer->state; in __remove_hrtimer() local
923 u8 state = timer->state; in remove_hrtimer() local
Dclockevents.c98 enum clock_event_state state) in __clockevents_switch_state()
154 enum clock_event_state state) in clockevents_switch_state()
Dtick-broadcast.c697 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
987 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
Dtimer.c628 static bool timer_fixup_init(void *addr, enum debug_obj_state state) in timer_fixup_init()
653 static bool timer_fixup_activate(void *addr, enum debug_obj_state state) in timer_fixup_activate()
674 static bool timer_fixup_free(void *addr, enum debug_obj_state state) in timer_fixup_free()
692 static bool timer_fixup_assert_init(void *addr, enum debug_obj_state state) in timer_fixup_assert_init()
Dtick-sched.h79 __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
/kernel/debug/kdb/
Dkdb_support.c624 char state; in kdb_task_state_char() local
663 char state[] = { kdb_task_state_char(p), '\0' }; in kdb_task_state() local
/kernel/irq/
Dspurious.c155 unsigned int state; in poll_spurious_irqs() local

12