selection.c (d321cd13f6dca3c1b0e9e9735901fb5eee7a501c) | selection.c (d4c0c481e49fdf483c43e13e4a419ea19c045023) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * This module exports the functions: 4 * 5 * 'int set_selection_user(struct tiocl_selection __user *, 6 * struct tty_struct *)' 7 * 'int set_selection_kernel(struct tiocl_selection *, struct tty_struct *)' 8 * 'void clear_selection(void)' --- 74 unchanged lines hidden (view full) --- 83 highlight_pointer(-1); /* hide the pointer */ 84 if (vc_sel.start != -1) { 85 highlight(vc_sel.start, vc_sel.end); 86 vc_sel.start = -1; 87 } 88} 89EXPORT_SYMBOL_GPL(clear_selection); 90 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * This module exports the functions: 4 * 5 * 'int set_selection_user(struct tiocl_selection __user *, 6 * struct tty_struct *)' 7 * 'int set_selection_kernel(struct tiocl_selection *, struct tty_struct *)' 8 * 'void clear_selection(void)' --- 74 unchanged lines hidden (view full) --- 83 highlight_pointer(-1); /* hide the pointer */ 84 if (vc_sel.start != -1) { 85 highlight(vc_sel.start, vc_sel.end); 86 vc_sel.start = -1; 87 } 88} 89EXPORT_SYMBOL_GPL(clear_selection); 90 |
91bool vc_is_sel(struct vc_data *vc) | 91bool vc_is_sel(const struct vc_data *vc) |
92{ 93 return vc == vc_sel.cons; 94} 95 96/* 97 * User settable table: what characters are to be considered alphabetic? 98 * 128 bits. Locked by the console lock. 99 */ --- 329 unchanged lines hidden --- | 92{ 93 return vc == vc_sel.cons; 94} 95 96/* 97 * User settable table: what characters are to be considered alphabetic? 98 * 128 bits. Locked by the console lock. 99 */ --- 329 unchanged lines hidden --- |