Home
last modified time | relevance | path

Searched refs:wctxt (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/kernel/printk/
Dnbcon.c772 bool nbcon_can_proceed(struct nbcon_write_context *wctxt) in nbcon_can_proceed() argument
774 struct nbcon_context *ctxt = &ACCESS_PRIVATE(wctxt, ctxt); in nbcon_can_proceed()
834 static void nbcon_write_context_set_buf(struct nbcon_write_context *wctxt, in nbcon_write_context_set_buf() argument
837 struct nbcon_context *ctxt = &ACCESS_PRIVATE(wctxt, ctxt); in nbcon_write_context_set_buf()
841 wctxt->outbuf = buf; in nbcon_write_context_set_buf()
842 wctxt->len = len; in nbcon_write_context_set_buf()
844 wctxt->unsafe_takeover = cur.unsafe_takeover; in nbcon_write_context_set_buf()
859 bool nbcon_enter_unsafe(struct nbcon_write_context *wctxt) in nbcon_enter_unsafe() argument
861 struct nbcon_context *ctxt = &ACCESS_PRIVATE(wctxt, ctxt); in nbcon_enter_unsafe()
866 nbcon_write_context_set_buf(wctxt, NULL, 0); in nbcon_enter_unsafe()
[all …]
/linux-6.12.1/include/linux/
Dconsole.h384 void (*write_atomic)(struct console *con, struct nbcon_write_context *wctxt);
415 void (*write_thread)(struct console *con, struct nbcon_write_context *wctxt);
604 extern bool nbcon_can_proceed(struct nbcon_write_context *wctxt);
605 extern bool nbcon_enter_unsafe(struct nbcon_write_context *wctxt);
606 extern bool nbcon_exit_unsafe(struct nbcon_write_context *wctxt);
607 extern void nbcon_reacquire_nobuf(struct nbcon_write_context *wctxt);
611 static inline bool nbcon_can_proceed(struct nbcon_write_context *wctxt) { return false; } in nbcon_can_proceed() argument
612 static inline bool nbcon_enter_unsafe(struct nbcon_write_context *wctxt) { return false; } in nbcon_enter_unsafe() argument
613 static inline bool nbcon_exit_unsafe(struct nbcon_write_context *wctxt) { return false; } in nbcon_exit_unsafe() argument
614 static inline void nbcon_reacquire_nobuf(struct nbcon_write_context *wctxt) { } in nbcon_reacquire_nobuf() argument