Home
last modified time | relevance | path

Searched refs:nbcon_state (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/printk/
H A Dnbcon.c128 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new) in nbcon_state_set()
130 atomic_set(&ACCESS_PRIVATE(con, nbcon_state), new->atom); in nbcon_state_set()
138 static inline void nbcon_state_read(struct console *con, struct nbcon_state *state) in nbcon_state_read()
140 state->atom = atomic_read(&ACCESS_PRIVATE(con, nbcon_state)); in nbcon_state_read()
151 static inline bool nbcon_state_try_cmpxchg(struct console *con, struct nbcon_state *cur, in nbcon_state_try_cmpxchg()
152 struct nbcon_state *new) in nbcon_state_try_cmpxchg()
154 return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom); in nbcon_state_try_cmpxchg()
238 struct nbcon_state *cur) in nbcon_context_try_acquire_direct()
242 struct nbcon_state new; in nbcon_context_try_acquire_direct()
278 static bool nbcon_waiter_matches(struct nbcon_state *cur, int expected_prio) in nbcon_waiter_matches()
[all …]
/linux/include/linux/
H A Dconsole.h219 struct nbcon_state { struct
238 static_assert(sizeof(struct nbcon_state) <= sizeof(int));
460 atomic_t __private nbcon_state; member
/linux/Documentation/driver-api/tty/
H A Dconsole.rst19 :identifiers: nbcon_state nbcon_prio nbcon_context nbcon_write_context