Lines Matching refs:sel_start
42 static volatile int sel_start = -1; /* cleared by clear_selection */ variable
80 if (sel_start != -1) { in clear_selection()
81 highlight(sel_start, sel_end); in clear_selection()
82 sel_start = -1; in clear_selection()
277 if (sel_start == -1) /* no current selection */ in set_selection_kernel()
279 else if (new_sel_start == sel_start) in set_selection_kernel()
290 if (new_sel_start < sel_start) /* extend to left */ in set_selection_kernel()
291 highlight(new_sel_start, sel_start - 2); in set_selection_kernel()
293 highlight(sel_start, new_sel_start - 2); in set_selection_kernel()
300 sel_start = new_sel_start; in set_selection_kernel()
305 bp = kmalloc_array((sel_end - sel_start) / 2 + 1, multiplier, in set_selection_kernel()
316 for (i = sel_start; i <= sel_end; i += 2) { in set_selection_kernel()