#include <linux/module.h>
#include <linux/tty.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <asm/uaccess.h>
#include <linux/kbd_kern.h>
#include <linux/vt_kern.h>
#include <linux/consolemap.h>
#include <linux/selection.h>
#include <linux/tiocl.h>
#include <linux/console.h>
Go to the source code of this file.
#define isspace |
( |
|
c | ) |
((c) == ' ') |
clear_selection - remove current selection
Remove the current selection highlight, if any from the console holding the selection. The caller must hold the console lock.
Definition at line 71 of file selection.c.
set loadlut - load the LUT table
: user table
Load the LUT table from user space. The caller must hold the console lock. Make a temporary copy so a partial update doesn't make a mess.
Definition at line 106 of file selection.c.
set_selection - set the current selection. : user selection info : the console tty
Invoked by the ioctl handle for the vt layer.
The entire selection process is managed under the console_lock. It's a lot under the lock but its hardly a performance path
Definition at line 158 of file selection.c.