Symbol: nbcon_state
include/linux/console.h
234
static_assert(sizeof(struct nbcon_state) <= sizeof(int));
include/linux/console.h
464
atomic_t __private nbcon_state;
kernel/printk/nbcon.c
133
static inline void nbcon_state_set(struct console *con, struct nbcon_state *new)
kernel/printk/nbcon.c
135
atomic_set(&ACCESS_PRIVATE(con, nbcon_state), new->atom);
kernel/printk/nbcon.c
143
static inline void nbcon_state_read(struct console *con, struct nbcon_state *state)
kernel/printk/nbcon.c
145
state->atom = atomic_read(&ACCESS_PRIVATE(con, nbcon_state));
kernel/printk/nbcon.c
156
static inline bool nbcon_state_try_cmpxchg(struct console *con, struct nbcon_state *cur,
kernel/printk/nbcon.c
157
struct nbcon_state *new)
kernel/printk/nbcon.c
159
return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom);
kernel/printk/nbcon.c
1772
struct nbcon_state state = { };
kernel/printk/nbcon.c
1835
struct nbcon_state state = { };
kernel/printk/nbcon.c
244
struct nbcon_state *cur, bool is_reacquire)
kernel/printk/nbcon.c
248
struct nbcon_state new;
kernel/printk/nbcon.c
293
static bool nbcon_waiter_matches(struct nbcon_state *cur, int expected_prio)
kernel/printk/nbcon.c
352
struct nbcon_state *cur)
kernel/printk/nbcon.c
356
struct nbcon_state new;
kernel/printk/nbcon.c
435
struct nbcon_state *cur)
kernel/printk/nbcon.c
439
struct nbcon_state new;
kernel/printk/nbcon.c
551
struct nbcon_state *cur)
kernel/printk/nbcon.c
555
struct nbcon_state new;
kernel/printk/nbcon.c
601
struct nbcon_state cur;
kernel/printk/nbcon.c
635
static bool nbcon_owner_matches(struct nbcon_state *cur, int expected_cpu,
kernel/printk/nbcon.c
681
struct nbcon_state cur;
kernel/printk/nbcon.c
682
struct nbcon_state new;
kernel/printk/nbcon.c
730
static bool nbcon_context_can_proceed(struct nbcon_context *ctxt, struct nbcon_state *cur)
kernel/printk/nbcon.c
802
struct nbcon_state cur;
kernel/printk/nbcon.c
835
struct nbcon_state cur;
kernel/printk/nbcon.c
836
struct nbcon_state new;
kernel/printk/nbcon.c
865
struct nbcon_state cur;
kernel/printk/nbcon.c
989
struct nbcon_state cur;