Home
last modified time | relevance | path

Searched refs:sel_start (Results 1 – 2 of 2) sorted by relevance

/drivers/tty/vt/
Dselection.c38 static volatile int sel_start = -1; /* cleared by clear_selection */ variable
74 if (sel_start != -1) { in clear_selection()
75 highlight(sel_start, sel_end); in clear_selection()
76 sel_start = -1; in clear_selection()
269 if (sel_start == -1) /* no current selection */ in set_selection()
271 else if (new_sel_start == sel_start) in set_selection()
282 if (new_sel_start < sel_start) /* extend to left */ in set_selection()
283 highlight(new_sel_start, sel_start - 2); in set_selection()
285 highlight(sel_start, new_sel_start - 2); in set_selection()
292 sel_start = new_sel_start; in set_selection()
[all …]
/drivers/staging/speakup/
Dselection.c19 static int sel_start = -1; variable
32 sel_start = -1; in speakup_clear_selection()
90 if ((new_sel_start == sel_start) && (new_sel_end == sel_end)) in speakup_set_selection()
93 sel_start = new_sel_start; in speakup_set_selection()
96 bp = kmalloc((sel_end-sel_start)/2+1, GFP_ATOMIC); in speakup_set_selection()
106 for (i = sel_start; i <= sel_end; i += 2) { in speakup_set_selection()