Lines Matching +full:xlen +full:- +full:1
1 // SPDX-License-Identifier: GPL-2.0-only
28 BP_X = 1,
58 int xtype, xlen; in toggle_breakpoint() local
66 xtype = 1; in toggle_breakpoint()
74 case 1: in toggle_breakpoint()
75 xlen = 0; in toggle_breakpoint()
78 xlen = 4; in toggle_breakpoint()
81 xlen = 0xc; in toggle_breakpoint()
84 xlen = 8; in toggle_breakpoint()
91 vdr7 = (xlen | xtype) << 16; in toggle_breakpoint()
95 vdr7 |= 1 << (2 * n); in toggle_breakpoint()
96 vdr7 |= 1 << 8; in toggle_breakpoint()
100 vdr7 |= 1 << 9; in toggle_breakpoint()
112 exit(-1); in toggle_breakpoint()
154 case 1: in write_var()
182 case 1: in read_var()
232 for (len = 1; len <= sizeof(long); len <<= 1) { in trigger_tests()
243 for (len = 1; len <= sizeof(long); len <<= 1) { in trigger_tests()
279 ret = 1; in check_success()
280 if (ptrace(PTRACE_POKEDATA, child_pid, &trapped, 1)) in check_success()
298 toggle_breakpoint(i, BP_X, 1, local, global, 1); in launch_instruction_breakpoints()
303 toggle_breakpoint(i, BP_X, 1, local, global, 0); in launch_instruction_breakpoints()
320 toggle_breakpoint(i, mode, len, local, global, 1); in launch_watchpoints()
353 for (len = 1; len <= sizeof(long); len <<= 1) { in launch_tests()
364 /* Read-Write watchpoint */ in launch_tests()
365 for (len = 1; len <= sizeof(long); len <<= 1) { in launch_tests()