Home
last modified time | relevance | path

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

1234

/kernel/power/
A Dsuspend.c176 static bool valid_state(suspend_state_t state) in valid_state()
202 suspend_state_t state; in mem_sleep_default_setup() local
252 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
258 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
285 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
317 static void platform_resume_end(suspend_state_t state) in platform_resume_end()
325 static void platform_recover(suspend_state_t state) in platform_recover()
365 static int suspend_prepare(suspend_state_t state) in suspend_prepare()
498 int suspend_devices_and_enter(suspend_state_t state) in suspend_devices_and_enter()
570 static int enter_state(suspend_state_t state) in enter_state()
[all …]
A Dmain.c176 suspend_state_t state; in decode_suspend_state() local
196 suspend_state_t state; in mem_sleep_store() local
706 suspend_state_t state; in decode_state() local
733 suspend_state_t state; in state_store() local
839 suspend_state_t state = pm_autosleep_state(); in autosleep_show() local
860 suspend_state_t state = decode_state(buf, n); in autosleep_store() local
A Dautosleep.c89 int pm_autosleep_set_state(suspend_state_t state) in pm_autosleep_set_state()
/kernel/unwind/
A Duser.c15 #define for_each_user_frame(state) \ argument
18 static int unwind_user_next_fp(struct unwind_user_state *state) in unwind_user_next_fp()
58 static int unwind_user_next(struct unwind_user_state *state) in unwind_user_next()
88 static int unwind_user_start(struct unwind_user_state *state) in unwind_user_start()
111 struct unwind_user_state state; in unwind_user() local
/kernel/livepatch/
A 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/locking/
A Drwbase_rt.c69 unsigned int state) in __rwbase_read_lock()
140 unsigned int state) in rwbase_read_lock()
151 unsigned int state) in __rwbase_read_unlock()
175 unsigned int state) in rwbase_read_unlock()
238 unsigned int state) in rwbase_write_lock()
A Dspinlock_rt.c150 #define rwbase_set_and_save_current_state(state) \ argument
157 rwbase_rtmutex_lock_state(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_lock_state()
165 rwbase_rtmutex_slowlock_locked(struct rt_mutex_base *rtm, unsigned int state, in rwbase_rtmutex_slowlock_locked()
188 #define rwbase_signal_pending_state(state, current) (0) argument
A Drwsem.c748 enum owner_state state; in rwsem_spin_on_owner() local
993 rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int state) in rwsem_down_read_slowpath()
1111 rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) in rwsem_down_write_slowpath()
1254 static __always_inline int __down_read_common(struct rw_semaphore *sem, int state) in __down_read_common()
1311 static __always_inline int __down_write_common(struct rw_semaphore *sem, int state) in __down_write_common()
1420 #define rwbase_set_and_save_current_state(state) \ argument
1426 #define rwbase_rtmutex_lock_state(rtm, state) \ argument
1429 #define rwbase_rtmutex_slowlock_locked(rtm, state, wq) \ argument
1438 #define rwbase_signal_pending_state(state, current) \ argument
A Dsemaphore.c252 static inline int __sched ___down_common(struct semaphore *sem, long state, in ___down_common()
285 static inline int __sched __down_common(struct semaphore *sem, long state, in __down_common()
A Drtmutex.c1606 unsigned int state, in rt_mutex_slowlock_block()
1693 unsigned int state, in __rt_mutex_slowlock()
1751 unsigned int state, in __rt_mutex_slowlock_locked()
1776 unsigned int state) in rt_mutex_slowlock()
1808 unsigned int state) in __rt_mutex_lock()
A Dww_rt_mutex.c39 unsigned int state, unsigned long ip) in __ww_rt_mutex_lock()
/kernel/sched/
A Dcompletion.c87 long (*action)(long), long timeout, int state) in do_wait_for_common()
114 long (*action)(long), long timeout, int state) in __wait_for_common()
130 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common()
136 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io()
267 int __sched wait_for_completion_state(struct completion *x, unsigned int state) in wait_for_completion_state()
A 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()
A Dwait.c248 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
263 …re_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_exclusive()
289 …repare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_event()
/kernel/
A Dcpu.c68 enum cpuhp_state state; member
253 static bool cpuhp_is_ap_state(enum cpuhp_state state) in cpuhp_is_ap_state()
277 static bool cpuhp_is_atomic_state(enum cpuhp_state state) in cpuhp_is_atomic_state()
962 enum cpuhp_state state; in __cpuhp_invoke_callback_range() local
1065 enum cpuhp_state state; in cpuhp_thread_fun() local
1606 void cpuhp_online_idle(enum cpuhp_state state) in cpuhp_online_idle()
2261 static int cpuhp_cb_check(enum cpuhp_state state) in cpuhp_cb_check()
2273 static int cpuhp_reserve_state(enum cpuhp_state state) in cpuhp_reserve_state()
2531 int __cpuhp_setup_state(enum cpuhp_state state, in __cpuhp_setup_state()
2547 int __cpuhp_state_remove_instance(enum cpuhp_state state, in __cpuhp_state_remove_instance()
[all …]
A Dfreezer.c64 unsigned int state = get_current_state(); in __refrigerator() local
110 unsigned int state = READ_ONCE(p->__state); in __set_task_frozen() local
191 unsigned int state = p->saved_state; in __restore_freezer_state() local
A Dcontext_tracking.c467 void noinstr __ct_user_enter(enum ctx_state state) in __ct_user_enter()
556 void ct_user_enter(enum ctx_state state) in ct_user_enter()
609 void noinstr __ct_user_exit(enum ctx_state state) in __ct_user_exit()
666 void ct_user_exit(enum ctx_state state) in ct_user_exit()
/kernel/cgroup/
A Dlegacy_freezer.c46 unsigned int state; member
77 static const char *freezer_state_strs(unsigned int state) in freezer_state_strs()
346 unsigned int state) in freezer_apply_state()
/kernel/bpf/
A Dverifier.c2869 struct bpf_func_state *state) in init_reg_state()
2894 struct bpf_func_state *state, in init_func_state()
5053 struct bpf_func_state *state, in save_register_state()
10299 struct bpf_func_state *state; in clear_all_pkt_pointers() local
10357 struct bpf_func_state *state; in release_reference() local
11496 struct bpf_func_state *state; in check_helper_call() local
13852 struct bpf_func_state *state; in check_kfunc_call() local
15791 struct bpf_func_state *state; in find_good_pkt_pointers() local
19089 struct bpf_func_state *state; in propagate_precision() local
19265 struct bpf_func_state *state; in iter_active_depths_differ() local
[all …]
A Dlog.c518 const char *iter_state_str(enum bpf_iter_state state) in iter_state_str()
682 const struct bpf_func_state *state, in print_reg_state()
760 const struct bpf_func_state *state = vstate->frame[frameno]; in print_verifier_state() local
/kernel/time/
A Dtick-broadcast.c796 static int ___tick_broadcast_oneshot_control(enum tick_broadcast_state state, in ___tick_broadcast_oneshot_control()
934 static int tick_oneshot_wakeup_control(enum tick_broadcast_state state, in tick_oneshot_wakeup_control()
963 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
1220 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
/kernel/irq/
A Dirq_sim.c54 enum irqchip_irq_state which, bool *state) in irq_sim_get_irqchip_state()
72 enum irqchip_irq_state which, bool state) in irq_sim_set_irqchip_state()
/kernel/debug/kdb/
A Dkdb_support.c488 char state; in kdb_task_state_char() local
524 char state = kdb_task_state_char(p); in kdb_task_state() local
/kernel/trace/rv/monitors/sco/
A Dsco.c22 static void handle_sched_set_state(void *data, struct task_struct *tsk, int state) in handle_sched_set_state()
/kernel/trace/rv/monitors/snroc/
A Dsnroc.c22 static void handle_sched_set_state(void *data, struct task_struct *tsk, int state) in handle_sched_set_state()

Completed in 86 milliseconds

1234