Linux Kernel
3.7.1
|
#include <linux/kmod.h>
#include <linux/types.h>
#include <linux/err.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/ctype.h>
#include <asm/uaccess.h>
#include "sclp.h"
#include "sclp_rw.h"
Go to the source code of this file.
Macros | |
#define | MAX_SCCB_ROOM (PAGE_SIZE - sizeof(struct sclp_buffer)) |
#define | SCLP_BUFFER_MAX_RETRY 1 |
Functions | |
struct sclp_buffer * | sclp_make_buffer (void *page, unsigned short columns, unsigned short htab) |
void * | sclp_unmake_buffer (struct sclp_buffer *buffer) |
int | sclp_write (struct sclp_buffer *buffer, const unsigned char *msg, int count) |
int | sclp_buffer_space (struct sclp_buffer *buffer) |
int | sclp_chars_in_buffer (struct sclp_buffer *buffer) |
void | sclp_set_columns (struct sclp_buffer *buffer, unsigned short columns) |
void | sclp_set_htab (struct sclp_buffer *buffer, unsigned short htab) |
int | sclp_rw_init (void) |
int | sclp_emit_buffer (struct sclp_buffer *buffer, void(*callback)(struct sclp_buffer *, int)) |
#define MAX_SCCB_ROOM (PAGE_SIZE - sizeof(struct sclp_buffer)) |
int sclp_buffer_space | ( | struct sclp_buffer * | buffer | ) |
int sclp_chars_in_buffer | ( | struct sclp_buffer * | buffer | ) |
int sclp_emit_buffer | ( | struct sclp_buffer * | buffer, |
void(*)(struct sclp_buffer *, int) | callback | ||
) |
|
read |
void sclp_set_columns | ( | struct sclp_buffer * | buffer, |
unsigned short | columns | ||
) |
void sclp_set_htab | ( | struct sclp_buffer * | buffer, |
unsigned short | htab | ||
) |
void* sclp_unmake_buffer | ( | struct sclp_buffer * | buffer | ) |