Home
last modified time | relevance | path

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

1234

/kernel/power/
Dsuspend.c167 static bool valid_state(suspend_state_t state) in valid_state()
193 suspend_state_t state; in mem_sleep_default_setup() local
242 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
248 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
254 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
260 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
266 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
275 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
285 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
291 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
[all …]
Dmain.c155 suspend_state_t state; in decode_suspend_state() local
175 suspend_state_t state; in mem_sleep_store() local
595 suspend_state_t state; in decode_state() local
622 suspend_state_t state; in state_store() local
728 suspend_state_t state = pm_autosleep_state(); in autosleep_show() local
749 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()
/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/locking/
Drwbase_rt.c69 unsigned int state) in __rwbase_read_lock()
141 unsigned int state) in rwbase_read_lock()
150 unsigned int state) in __rwbase_read_unlock()
174 unsigned int state) in rwbase_read_unlock()
237 unsigned int state) in rwbase_write_lock()
Dspinlock_rt.c148 #define rwbase_set_and_save_current_state(state) \ argument
155 rwbase_rtmutex_lock_state(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_lock_state()
163 rwbase_rtmutex_slowlock_locked(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_slowlock_locked()
185 #define rwbase_signal_pending_state(state, current) (0) argument
Drwsem.c762 enum owner_state state; in rwsem_spin_on_owner() local
1021 rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int state) in rwsem_down_read_slowpath()
1145 rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) in rwsem_down_write_slowpath()
1296 static __always_inline int __down_read_common(struct rw_semaphore *sem, int state) in __down_read_common()
1354 static inline int __down_write_common(struct rw_semaphore *sem, int state) in __down_write_common()
1454 #define rwbase_set_and_save_current_state(state) \ argument
1460 #define rwbase_rtmutex_lock_state(rtm, state) \ argument
1463 #define rwbase_rtmutex_slowlock_locked(rtm, state) \ argument
1472 #define rwbase_signal_pending_state(state, current) \ argument
Dsemaphore.c209 static inline int __sched ___down_common(struct semaphore *sem, long state, in ___down_common()
240 static inline int __sched __down_common(struct semaphore *sem, long state, in __down_common()
Drtmutex.c1536 unsigned int state, in rt_mutex_slowlock_block()
1616 unsigned int state, in __rt_mutex_slowlock()
1669 unsigned int state) in __rt_mutex_slowlock_locked()
1692 unsigned int state) in rt_mutex_slowlock()
1713 unsigned int state) in __rt_mutex_lock()
Dww_rt_mutex.c39 unsigned int state, unsigned long ip) in __ww_rt_mutex_lock()
Dmutex.c591 __mutex_lock_common(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock_common()
771 __mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock()
778 __ww_mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __ww_mutex_lock()
Drtmutex_api.c23 unsigned int state, in __rt_mutex_lock_common()
508 unsigned int state, in __mutex_lock_common()
/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()
252 int __sched wait_for_completion_state(struct completion *x, unsigned int state) in wait_for_completion_state()
Dswait.c91 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive()
102 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event()
Dwait.c268 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
283 …re_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_exclusive()
309 …repare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_event()
/kernel/
Dcpu.c66 enum cpuhp_state state; member
145 static struct cpuhp_step *cpuhp_get_step(enum cpuhp_state state) in cpuhp_get_step()
167 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback()
250 static bool cpuhp_is_ap_state(enum cpuhp_state state) in cpuhp_is_ap_state()
274 static bool cpuhp_is_atomic_state(enum cpuhp_state state) in cpuhp_is_atomic_state()
694 enum cpuhp_state state; in __cpuhp_invoke_callback_range() local
797 enum cpuhp_state state; in cpuhp_thread_fun() local
860 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_invoke_ap_callback()
1387 void cpuhp_online_idle(enum cpuhp_state state) in cpuhp_online_idle()
1906 static int cpuhp_cb_check(enum cpuhp_state state) in cpuhp_cb_check()
[all …]
Dfreezer.c67 unsigned int state = get_current_state(); in __refrigerator() local
114 unsigned int state = READ_ONCE(p->__state); in __set_task_frozen() local
190 unsigned int state = p->saved_state; in __restore_freezer_state() local
Dcontext_tracking.c466 void noinstr __ct_user_enter(enum ctx_state state) in __ct_user_enter()
555 void ct_user_enter(enum ctx_state state) in ct_user_enter()
606 void noinstr __ct_user_exit(enum ctx_state state) in __ct_user_exit()
663 void ct_user_exit(enum ctx_state state) in ct_user_exit()
Dauditsc.c465 enum audit_state *state, in audit_filter_rules()
776 enum audit_state state; in audit_filter_task() local
817 enum audit_state state; in audit_filter_uring() local
845 enum audit_state state; in audit_filter_syscall() local
874 enum audit_state state; in audit_filter_inode_name() local
1022 static inline struct audit_context *audit_alloc_context(enum audit_state state) in audit_alloc_context()
1051 enum audit_state state; in audit_alloc() local
2011 enum audit_state state; in __audit_syscall_entry() local
/kernel/cgroup/
Dlegacy_freezer.c46 unsigned int state; member
69 unsigned int state; in cgroup_freezing() local
83 static const char *freezer_state_strs(unsigned int state) in freezer_state_strs()
354 unsigned int state) in freezer_apply_state()
/kernel/bpf/
Dverifier.c228 static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) in bpf_map_key_store()
627 static bool is_spi_bounds_valid(struct bpf_func_state *state, int spi, int nr_slots) in is_spi_bounds_valid()
712 struct bpf_func_state *state = func(env, reg); in mark_stack_slots_dynptr() local
749 struct bpf_func_state *state = func(env, reg); in unmark_stack_slots_dynptr() local
778 struct bpf_func_state *state = func(env, reg); in is_dynptr_reg_valid_uninit() local
797 struct bpf_func_state *state = func(env, reg); in is_dynptr_reg_valid_init() local
818 struct bpf_func_state *state = func(env, reg); in is_dynptr_type_expected() local
846 const struct bpf_func_state *state, in print_verifier_state()
992 const struct bpf_func_state *state) in print_insn_state()
1087 static int resize_reference_state(struct bpf_func_state *state, size_t n) in resize_reference_state()
[all …]
/kernel/time/
Dtick-broadcast.c792 static int ___tick_broadcast_oneshot_control(enum tick_broadcast_state state, in ___tick_broadcast_oneshot_control()
930 static int tick_oneshot_wakeup_control(enum tick_broadcast_state state, in tick_oneshot_wakeup_control()
959 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
1190 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
/kernel/irq/
Dirq_sim.c53 enum irqchip_irq_state which, bool *state) in irq_sim_get_irqchip_state()
71 enum irqchip_irq_state which, bool state) in irq_sim_set_irqchip_state()
/kernel/entry/
Dsyscall_user_dispatch.c37 char state; in syscall_user_dispatch() local
/kernel/debug/kdb/
Dkdb_support.c488 char state; in kdb_task_state_char() local
524 char state = kdb_task_state_char(p); in kdb_task_state() local

1234