Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/vt/
Dselection.c41 static int sel_end; variable
79 highlight(sel_start, sel_end); in clear_selection()
269 if (new_sel_end == sel_end) /* no action required */ in set_selection()
271 else if (new_sel_end > sel_end) /* extend to right */ in set_selection()
272 highlight(sel_end + 2, new_sel_end); in set_selection()
274 highlight(new_sel_end + 2, sel_end); in set_selection()
276 else if (new_sel_end == sel_end) in set_selection()
289 sel_end = new_sel_end; in set_selection()
293 bp = kmalloc_array((sel_end - sel_start) / 2 + 1, multiplier, in set_selection()
304 for (i = sel_start; i <= sel_end; i += 2) { in set_selection()
/Linux-v4.19/drivers/staging/speakup/
Dselection.c26 static int sel_end; variable
92 if ((new_sel_start == sel_start) && (new_sel_end == sel_end)) in speakup_set_selection()
96 sel_end = new_sel_end; in speakup_set_selection()
98 bp = kmalloc((sel_end - sel_start) / 2 + 1, GFP_ATOMIC); in speakup_set_selection()
107 for (i = sel_start; i <= sel_end; i += 2) { in speakup_set_selection()