Home
last modified time | relevance | path

Searched refs:sclp_buffer (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/s390/char/
Dsclp_rw.h58 #define NR_EMPTY_MSG_PER_SCCB ((PAGE_SIZE - sizeof(struct sclp_buffer) - \
65 struct sclp_buffer { struct
80 void (*callback)(struct sclp_buffer *, int); argument
84 struct sclp_buffer *sclp_make_buffer(void *, unsigned short, unsigned short);
85 void *sclp_unmake_buffer(struct sclp_buffer *);
86 int sclp_buffer_space(struct sclp_buffer *);
87 int sclp_write(struct sclp_buffer *buffer, const unsigned char *, int);
88 int sclp_emit_buffer(struct sclp_buffer *,void (*)(struct sclp_buffer *,int));
89 unsigned int sclp_chars_in_buffer(struct sclp_buffer *);
Dsclp_rw.c27 #define MAX_SCCB_ROOM (PAGE_SIZE - sizeof(struct sclp_buffer))
40 struct sclp_buffer *
43 struct sclp_buffer *buffer; in sclp_make_buffer()
51 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
73 sclp_unmake_buffer(struct sclp_buffer *buffer) in sclp_unmake_buffer()
83 sclp_initialize_mto(struct sclp_buffer *buffer, int max_len) in sclp_initialize_mto()
133 sclp_finalize_mto(struct sclp_buffer *buffer) in sclp_finalize_mto()
170 sclp_write(struct sclp_buffer *buffer, const unsigned char *msg, int count) in sclp_write()
306 sclp_buffer_space(struct sclp_buffer *buffer) in sclp_buffer_space()
322 sclp_chars_in_buffer(struct sclp_buffer *buffer) in sclp_chars_in_buffer()
[all …]
Dsclp_con.c36 static struct sclp_buffer *sclp_conbuf;
47 sclp_conbuf_callback(struct sclp_buffer *buffer, int rc) in sclp_conbuf_callback()
64 struct sclp_buffer, list); in sclp_conbuf_callback()
79 struct sclp_buffer* buffer; in sclp_conbuf_emit()
91 buffer = list_first_entry(&sclp_con_outqueue, struct sclp_buffer, in sclp_conbuf_emit()
138 struct sclp_buffer *buffer; in sclp_console_drop_buffer()
150 buffer = list_entry(list, struct sclp_buffer, list); in sclp_console_drop_buffer()
Dsclp_tty.c46 static struct sclp_buffer *sclp_ttybuf;
107 sclp_ttybuf_callback(struct sclp_buffer *buffer, int rc) in sclp_ttybuf_callback()
123 struct sclp_buffer, list); in sclp_ttybuf_callback()
131 __sclp_ttybuf_emit(struct sclp_buffer *buffer) in __sclp_ttybuf_emit()
156 struct sclp_buffer *buf; in sclp_tty_timeout()
177 struct sclp_buffer *buf; in sclp_tty_write_string()
287 struct sclp_buffer *t; in sclp_tty_chars_in_buffer()