Lines Matching +full:- +full:- +full:trim +full:- +full:-
1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #define ex_to_insn(x) ((x)->insn)
20 return (unsigned long)&x->insn + x->insn; in ex_to_insn()
31 int delta = b - a; in swap_ex()
34 x->insn = y->insn + delta; in swap_ex()
35 y->insn = tmp.insn - delta; in swap_ex()
40 x->fixup = y->fixup + delta; in swap_ex()
41 y->fixup = tmp.fixup - delta; in swap_ex()
60 return -1; in cmp_ex_sort()
67 sort(start, finish - start, sizeof(struct exception_table_entry), in sort_extable()
78 /*trim the beginning*/ in trim_init_extable()
79 while (m->num_exentries && in trim_init_extable()
80 within_module_init(ex_to_insn(&m->extable[0]), m)) { in trim_init_extable()
81 m->extable++; in trim_init_extable()
82 m->num_exentries--; in trim_init_extable()
84 /*trim the end*/ in trim_init_extable()
85 while (m->num_exentries && in trim_init_extable()
86 within_module_init(ex_to_insn(&m->extable[m->num_exentries - 1]), in trim_init_extable()
88 m->num_exentries--; in trim_init_extable()
104 return -1; in cmp_ex_search()