Home
last modified time | relevance | path

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

1234

/kernel/power/
Dsuspend.c173 static bool valid_state(suspend_state_t state) in valid_state()
199 suspend_state_t state; in mem_sleep_default_setup() local
249 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
255 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
261 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
267 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
273 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
282 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
292 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
298 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
[all …]
Dmain.c180 suspend_state_t state; in decode_suspend_state() local
200 suspend_state_t state; in mem_sleep_store() local
639 suspend_state_t state; in decode_state() local
666 suspend_state_t state; in state_store() local
772 suspend_state_t state = pm_autosleep_state(); in autosleep_show() local
793 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/locking/
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()
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
Drwsem.c772 enum owner_state state; in rwsem_spin_on_owner() local
1028 rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int state) in rwsem_down_read_slowpath()
1160 rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) in rwsem_down_write_slowpath()
1310 static __always_inline int __down_read_common(struct rw_semaphore *sem, int state) in __down_read_common()
1377 static __always_inline int __down_write_common(struct rw_semaphore *sem, int state) in __down_write_common()
1488 #define rwbase_set_and_save_current_state(state) \ argument
1494 #define rwbase_rtmutex_lock_state(rtm, state) \ argument
1497 #define rwbase_rtmutex_slowlock_locked(rtm, state, wq) \ argument
1506 #define rwbase_signal_pending_state(state, current) \ argument
Dsemaphore.c213 static inline int __sched ___down_common(struct semaphore *sem, long state, in ___down_common()
244 static inline int __sched __down_common(struct semaphore *sem, long state, in __down_common()
Drtmutex.c1607 unsigned int state, in rt_mutex_slowlock_block()
1696 unsigned int state, in __rt_mutex_slowlock()
1750 unsigned int state, in __rt_mutex_slowlock_locked()
1774 unsigned int state) in rt_mutex_slowlock()
1809 unsigned int state) in __rt_mutex_lock()
Dmutex.c586 __mutex_lock_common(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock_common()
800 __mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock()
807 __ww_mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __ww_mutex_lock()
Dww_rt_mutex.c39 unsigned int state, unsigned long ip) in __ww_rt_mutex_lock()
Drtmutex_api.c23 unsigned int state, in __rt_mutex_lock_common()
514 unsigned int state, in __mutex_lock_common()
/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/sched/
Dcompletion.c82 long (*action)(long), long timeout, int state) in do_wait_for_common()
109 long (*action)(long), long timeout, int state) in __wait_for_common()
125 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common()
131 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io()
262 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.c233 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
248 …re_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait_exclusive()
274 …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.c67 enum cpuhp_state state; member
147 static struct cpuhp_step *cpuhp_get_step(enum cpuhp_state state) in cpuhp_get_step()
169 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback()
252 static bool cpuhp_is_ap_state(enum cpuhp_state state) in cpuhp_is_ap_state()
276 static bool cpuhp_is_atomic_state(enum cpuhp_state state) in cpuhp_is_atomic_state()
299 static inline void cpuhp_ap_update_sync_state(enum cpuhp_sync_state state) in cpuhp_ap_update_sync_state()
308 static bool cpuhp_wait_for_sync_state(unsigned int cpu, enum cpuhp_sync_state state, in cpuhp_wait_for_sync_state()
340 static inline void cpuhp_ap_update_sync_state(enum cpuhp_sync_state state) { } in cpuhp_ap_update_sync_state()
959 enum cpuhp_state state; in __cpuhp_invoke_callback_range() local
1062 enum cpuhp_state state; in cpuhp_thread_fun() local
[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
195 unsigned int state = p->saved_state; in __restore_freezer_state() local
Dcontext_tracking.c468 void noinstr __ct_user_enter(enum ctx_state state) in __ct_user_enter()
557 void ct_user_enter(enum ctx_state state) in ct_user_enter()
610 void noinstr __ct_user_exit(enum ctx_state state) in __ct_user_exit()
667 void ct_user_exit(enum ctx_state state) in ct_user_exit()
/kernel/cgroup/
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/
Dlog.c518 const char *iter_state_str(enum bpf_iter_state state) in iter_state_str()
681 const struct bpf_func_state *state, in print_reg_state()
756 void print_verifier_state(struct bpf_verifier_env *env, const struct bpf_func_state *state, in print_verifier_state()
867 void print_insn_state(struct bpf_verifier_env *env, const struct bpf_func_state *state) in print_insn_state()
Dverifier.c242 static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) in bpf_map_key_store()
592 static bool is_spi_bounds_valid(struct bpf_func_state *state, int spi, int nr_slots) in is_spi_bounds_valid()
711 struct bpf_func_state *state = func(env, reg); in mark_stack_slots_dynptr() local
769 static void invalidate_dynptr(struct bpf_verifier_env *env, struct bpf_func_state *state, int spi) in invalidate_dynptr()
808 struct bpf_func_state *state = func(env, reg); in unmark_stack_slots_dynptr() local
864 struct bpf_func_state *state, int spi) in destroy_if_dynptr_stack_slot()
949 struct bpf_func_state *state = func(env, reg); in is_dynptr_reg_valid_init() local
979 struct bpf_func_state *state = func(env, reg); in is_dynptr_type_expected() local
1009 struct bpf_func_state *state = func(env, reg); in mark_stack_slots_iter() local
1051 struct bpf_func_state *state = func(env, reg); in unmark_stack_slots_iter() local
[all …]
/kernel/time/
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()
1218 int __tick_broadcast_oneshot_control(enum tick_broadcast_state state) in __tick_broadcast_oneshot_control()
/kernel/irq/
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/
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/printk/
Dnbcon.c138 static inline void nbcon_state_read(struct console *con, struct nbcon_state *state) in nbcon_state_read()
1691 struct nbcon_state state = { }; in nbcon_alloc() local
1741 struct nbcon_state state = { }; in nbcon_free() local

1234