Lines Matching +full:console +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * internal.h - printk internal definitions
6 #include <linux/console.h>
19 (con->flags & CON_NBCON) ? "" : "legacy ", \
20 (con->flags & CON_BOOT) ? "boot" : "", \
21 con->name, con->index, ##__VA_ARGS__)
32 * the maximum size of a formatted record (i.e. with prefix added
37 /* the maximum size allowed to be reserved for a record */
75 u64 nbcon_seq_read(struct console *con);
76 void nbcon_seq_force(struct console *con, u64 seq);
77 bool nbcon_alloc(struct console *con);
78 void nbcon_init(struct console *con);
79 void nbcon_free(struct console *con);
89 * semaphore and some of console functions (console_unlock()/etc.), so
90 * printk-safe must preserve the existing local IRQ guarantees.
96 static inline u64 nbcon_seq_read(struct console *con) { return 0; } in nbcon_seq_read()
97 static inline void nbcon_seq_force(struct console *con, u64 seq) { } in nbcon_seq_force()
98 static inline bool nbcon_alloc(struct console *con) { return false; } in nbcon_alloc()
99 static inline void nbcon_init(struct console *con) { } in nbcon_init()
100 static inline void nbcon_free(struct console *con) { } in nbcon_free()
107 * struct printk_buffers - Buffers to read/format/output printk messages.
109 * @scratchbuf: Used as temporary ringbuffer reading and string-print space.
117 * struct printk_message - Container for a prepared printk message.
119 * @outbuf_len: The length of prepared text in @pbufs->outbuf to output. This
122 * @seq: The sequence number of the record used for @pbufs->outbuf.