Home
last modified time | relevance | path

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

/drivers/tty/vt/
Dselection.c39 static volatile int sel_start = -1; /* cleared by clear_selection */ variable
75 if (sel_start != -1) { in clear_selection()
76 highlight(sel_start, sel_end); in clear_selection()
77 sel_start = -1; in clear_selection()
270 if (sel_start == -1) /* no current selection */ in set_selection()
272 else if (new_sel_start == sel_start) in set_selection()
283 if (new_sel_start < sel_start) /* extend to left */ in set_selection()
284 highlight(new_sel_start, sel_start - 2); in set_selection()
286 highlight(sel_start, new_sel_start - 2); in set_selection()
293 sel_start = new_sel_start; in set_selection()
[all …]
/drivers/staging/speakup/
Dselection.c24 static int sel_start = -1; variable
37 sel_start = -1; in speakup_clear_selection()
96 if ((new_sel_start == sel_start) && (new_sel_end == sel_end)) in speakup_set_selection()
99 sel_start = new_sel_start; in speakup_set_selection()
102 bp = kmalloc((sel_end-sel_start)/2+1, GFP_ATOMIC); in speakup_set_selection()
111 for (i = sel_start; i <= sel_end; i += 2) { in speakup_set_selection()