Searched refs:wctxt (Results 1 – 2 of 2) sorted by relevance
772 bool nbcon_can_proceed(struct nbcon_write_context *wctxt) in nbcon_can_proceed() argument774 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() argument837 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() argument861 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 …]
384 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() argument612 static inline bool nbcon_enter_unsafe(struct nbcon_write_context *wctxt) { return false; } in nbcon_enter_unsafe() argument613 static inline bool nbcon_exit_unsafe(struct nbcon_write_context *wctxt) { return false; } in nbcon_exit_unsafe() argument614 static inline void nbcon_reacquire_nobuf(struct nbcon_write_context *wctxt) { } in nbcon_reacquire_nobuf() argument