Home
last modified time | relevance | path

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

123

/kernel/power/
Dsuspend.c162 static bool valid_state(suspend_state_t state) in valid_state()
186 suspend_state_t state; in mem_sleep_default_setup() local
232 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
238 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
243 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
249 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
255 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
264 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
274 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
280 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
[all …]
Dmain.c149 suspend_state_t state; in decode_suspend_state() local
169 suspend_state_t state; in mem_sleep_store() local
617 suspend_state_t state; in decode_state() local
644 suspend_state_t state; in state_store() local
750 suspend_state_t state = pm_autosleep_state(); in autosleep_show() local
771 suspend_state_t state = decode_state(buf, n); in autosleep_store() local
Dautosleep.c90 int pm_autosleep_set_state(suspend_state_t state) in pm_autosleep_set_state()
Dsuspend_test.c62 static void __init test_wakealarm(struct rtc_device *rtc, suspend_state_t state) in test_wakealarm()
/kernel/livepatch/
Dstate.c15 #define klp_for_each_state(patch, state) \ argument
33 struct klp_state *state; in klp_get_state() local
67 struct klp_state *state, *last_state = NULL; in klp_get_prev_state() local
90 struct klp_state *state; in klp_is_state_compatible() local
/kernel/
Dcontext_tracking.c62 void noinstr __context_tracking_enter(enum ctx_state state) in __context_tracking_enter()
106 void context_tracking_enter(enum ctx_state state) in context_tracking_enter()
146 void noinstr __context_tracking_exit(enum ctx_state state) in __context_tracking_exit()
171 void context_tracking_exit(enum ctx_state state) in context_tracking_exit()
Dcpu.c66 enum cpuhp_state state; member
142 static struct cpuhp_step *cpuhp_get_step(enum cpuhp_state state) in cpuhp_get_step()
157 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback()
242 static bool cpuhp_is_ap_state(enum cpuhp_state state) in cpuhp_is_ap_state()
266 static bool cpuhp_is_atomic_state(enum cpuhp_state state) in cpuhp_is_atomic_state()
680 enum cpuhp_state state; in cpuhp_thread_fun() local
750 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_invoke_ap_callback()
1482 void cpuhp_online_idle(enum cpuhp_state state) in cpuhp_online_idle()
2045 static int cpuhp_cb_check(enum cpuhp_state state) in cpuhp_cb_check()
2057 static int cpuhp_reserve_state(enum cpuhp_state state) in cpuhp_reserve_state()
[all …]
Dauditsc.c471 enum audit_state *state, in audit_filter_rules()
772 enum audit_state state; in audit_filter_task() local
814 enum audit_state state; in audit_filter_syscall() local
843 enum audit_state state; in audit_filter_inode_name() local
921 static inline struct audit_context *audit_alloc_context(enum audit_state state) in audit_alloc_context()
947 enum audit_state state; in audit_alloc() local
1713 enum audit_state state; in __audit_syscall_entry() local
Dstackleak.c26 int state = !static_branch_unlikely(&stack_erasing_bypass); in stack_erasing_sysctl() local
Dpanic.c127 static long no_blink(int state) in no_blink()
249 int state = 0; in panic() local
/kernel/sched/
Dcompletion.c72 long (*action)(long), long timeout, int state) in do_wait_for_common()
99 long (*action)(long), long timeout, int state) in __wait_for_common()
115 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common()
121 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io()
Dswait.c92 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive()
103 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event()
Dwait.c250 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
265 …re_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_exclusive()
291 …repare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_event()
Dcputime.c886 int state = READ_ONCE(vtime->state); in vtime_state_fetch() local
928 int state; in kcpustat_field_vtime() local
1018 int state; in kcpustat_cpu_fetch_vtime() local
/kernel/locking/
Drtmutex.c1166 __rt_mutex_slowlock(struct rt_mutex *lock, int state, in __rt_mutex_slowlock()
1231 rt_mutex_slowlock(struct rt_mutex *lock, int state, in rt_mutex_slowlock()
1407 rt_mutex_fastlock(struct rt_mutex *lock, int state, in rt_mutex_fastlock()
1419 rt_mutex_timed_fastlock(struct rt_mutex *lock, int state, in rt_mutex_timed_fastlock()
Dmutex.c956 __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock_common()
1131 __mutex_lock(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock()
1138 __ww_mutex_lock(struct mutex *lock, long state, unsigned int subclass, in __ww_mutex_lock()
Drwsem.c718 enum owner_state state; in rwsem_spin_on_owner() local
1003 rwsem_down_read_slowpath(struct rw_semaphore *sem, int state) in rwsem_down_read_slowpath()
1161 rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) in rwsem_down_write_slowpath()
Dsemaphore.c204 static inline int __sched __down_common(struct semaphore *sem, long state, in __down_common()
/kernel/cgroup/
Dlegacy_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()
/kernel/bpf/
Dverifier.c223 static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) in bpf_map_key_store()
580 const struct bpf_func_state *state) in print_verifier_state()
788 struct bpf_func_state *state = cur_func(env); in acquire_reference_state() local
803 static int release_reference_state(struct bpf_func_state *state, int ptr_id) in release_reference_state()
833 static void free_func_state(struct bpf_func_state *state) in free_func_state()
842 static void clear_jmp_history(struct bpf_verifier_state *state) in clear_jmp_history()
849 static void free_verifier_state(struct bpf_verifier_state *state, in free_verifier_state()
1414 struct bpf_func_state *state) in init_reg_state()
1434 struct bpf_func_state *state, in init_func_state()
1572 const struct bpf_reg_state *state, in mark_reg_read()
[all …]
/kernel/time/
Dtick-broadcast.c791 static int ___tick_broadcast_oneshot_control(enum tick_broadcast_state state, in ___tick_broadcast_oneshot_control()
929 static int tick_oneshot_wakeup_control(enum tick_broadcast_state state, in tick_oneshot_wakeup_control()
958 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
1117 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
Dhrtimer.c356 static bool hrtimer_fixup_init(void *addr, enum debug_obj_state state) in hrtimer_fixup_init()
375 static bool hrtimer_fixup_activate(void *addr, enum debug_obj_state state) in hrtimer_fixup_activate()
390 static bool hrtimer_fixup_free(void *addr, enum debug_obj_state state) in hrtimer_fixup_free()
1007 u8 state = timer->state; in __remove_hrtimer() local
1036 u8 state = timer->state; in remove_hrtimer() local
Dtimer.c641 static bool timer_fixup_init(void *addr, enum debug_obj_state state) in timer_fixup_init()
666 static bool timer_fixup_activate(void *addr, enum debug_obj_state state) in timer_fixup_activate()
687 static bool timer_fixup_free(void *addr, enum debug_obj_state state) in timer_fixup_free()
705 static bool timer_fixup_assert_init(void *addr, enum debug_obj_state state) in timer_fixup_assert_init()
2071 unsigned int state) in usleep_range_state()
Dclockevents.c92 enum clock_event_state state) in __clockevents_switch_state()
148 enum clock_event_state state) in clockevents_switch_state()
/kernel/irq/
Dirq_sim.c57 enum irqchip_irq_state which, bool *state) in irq_sim_get_irqchip_state()
75 enum irqchip_irq_state which, bool state) in irq_sim_set_irqchip_state()

123