Home
last modified time | relevance | path

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

123

/kernel/power/
Dsuspend.c163 static bool valid_state(suspend_state_t state) in valid_state()
187 suspend_state_t state; in mem_sleep_default_setup() local
234 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
240 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
245 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
251 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
257 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
266 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
276 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
282 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()
/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.c70 unsigned int state) in __rwbase_read_lock()
138 unsigned int state) in rwbase_read_lock()
147 unsigned int state) in __rwbase_read_unlock()
167 unsigned int state) in rwbase_read_unlock()
230 unsigned int state) in rwbase_write_lock()
Dspinlock_rt.c137 #define rwbase_set_and_save_current_state(state) \ argument
144 rwbase_rtmutex_lock_state(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_lock_state()
152 rwbase_rtmutex_slowlock_locked(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_slowlock_locked()
174 #define rwbase_signal_pending_state(state, current) (0) argument
Drwsem.c719 enum owner_state state; in rwsem_spin_on_owner() local
951 rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int state) in rwsem_down_read_slowpath()
1084 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()
1312 static inline int __down_write_common(struct rw_semaphore *sem, int state) in __down_write_common()
1410 #define rwbase_set_and_save_current_state(state) \ argument
1416 #define rwbase_rtmutex_lock_state(rtm, state) \ argument
1419 #define rwbase_rtmutex_slowlock_locked(rtm, state) \ argument
1428 #define rwbase_signal_pending_state(state, current) \ argument
Drtmutex.c1513 unsigned int state, in rt_mutex_slowlock_block()
1593 unsigned int state, in __rt_mutex_slowlock()
1641 unsigned int state) in __rt_mutex_slowlock_locked()
1664 unsigned int state) in rt_mutex_slowlock()
1685 unsigned int state) in __rt_mutex_lock()
Dww_rt_mutex.c14 unsigned int state, unsigned long ip) in __ww_rt_mutex_lock()
Dmutex.c581 __mutex_lock_common(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock_common()
750 __mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock()
757 __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()
486 unsigned int state, in __mutex_lock_common()
/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
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()
672 enum cpuhp_state state; in __cpuhp_invoke_callback_range() local
783 enum cpuhp_state state; in cpuhp_thread_fun() local
846 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_invoke_ap_callback()
1330 void cpuhp_online_idle(enum cpuhp_state state) in cpuhp_online_idle()
1889 static int cpuhp_cb_check(enum cpuhp_state state) in cpuhp_cb_check()
[all …]
Dauditsc.c475 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_syscall() local
846 enum audit_state state; in audit_filter_inode_name() local
924 static inline struct audit_context *audit_alloc_context(enum audit_state state) in audit_alloc_context()
952 enum audit_state state; in audit_alloc() local
1722 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.c128 static long no_blink(int state) in no_blink()
250 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.c265 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
280 …re_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_exclusive()
306 …repare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_event()
/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()
630 const struct bpf_func_state *state) in print_verifier_state()
836 static int resize_reference_state(struct bpf_func_state *state, size_t n) in resize_reference_state()
847 static int grow_stack_state(struct bpf_func_state *state, int size) in grow_stack_state()
869 struct bpf_func_state *state = cur_func(env); in acquire_reference_state() local
885 static int release_reference_state(struct bpf_func_state *state, int ptr_id) in release_reference_state()
906 static void free_func_state(struct bpf_func_state *state) in free_func_state()
915 static void clear_jmp_history(struct bpf_verifier_state *state) in clear_jmp_history()
922 static void free_verifier_state(struct bpf_verifier_state *state, in free_verifier_state()
1509 struct bpf_func_state *state) in init_reg_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.c489 char state; in kdb_task_state_char() local
525 char state = kdb_task_state_char(p); in kdb_task_state() local

123