Lines Matching refs:nbcon_state
14 * The state of the console is maintained in the "nbcon_state" atomic
80 * All operations on @console::nbcon_state are atomic cmpxchg based to
114 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new)
116 atomic_set(&ACCESS_PRIVATE(con, nbcon_state), new->atom);
124 static inline void nbcon_state_read(struct console *con, struct nbcon_state *state)
126 state->atom = atomic_read(&ACCESS_PRIVATE(con, nbcon_state));
137 static inline bool nbcon_state_try_cmpxchg(struct console *con, struct nbcon_state *cur,
138 struct nbcon_state *new)
140 return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom);
227 struct nbcon_state *cur)
231 struct nbcon_state new;
260 static bool nbcon_waiter_matches(struct nbcon_state *cur, int expected_prio)
307 struct nbcon_state *cur)
311 struct nbcon_state new;
390 struct nbcon_state *cur)
394 struct nbcon_state new;
496 struct nbcon_state *cur)
500 struct nbcon_state new;
546 struct nbcon_state cur;
580 static bool nbcon_owner_matches(struct nbcon_state *cur, int expected_cpu,
608 struct nbcon_state cur;
609 struct nbcon_state new;
657 static bool nbcon_context_can_proceed(struct nbcon_context *ctxt, struct nbcon_state *cur)
729 struct nbcon_state cur;
741 * __nbcon_context_update_unsafe - Update the unsafe bit in @con->nbcon_state
762 struct nbcon_state cur;
763 struct nbcon_state new;
853 struct nbcon_state cur;
972 struct nbcon_state state = { };
987 struct nbcon_state state = { };