Lines Matching refs:err
172 int err; in kgdb_arch_set_breakpoint() local
174 err = probe_kernel_read(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
176 if (err) in kgdb_arch_set_breakpoint()
177 return err; in kgdb_arch_set_breakpoint()
178 err = probe_kernel_write((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
180 return err; in kgdb_arch_set_breakpoint()
192 int err; in kgdb_validate_break_address() local
199 err = kgdb_arch_set_breakpoint(&tmp); in kgdb_validate_break_address()
200 if (err) in kgdb_validate_break_address()
201 return err; in kgdb_validate_break_address()
202 err = kgdb_arch_remove_breakpoint(&tmp); in kgdb_validate_break_address()
203 if (err) in kgdb_validate_break_address()
206 return err; in kgdb_validate_break_address()
270 int err = kgdb_validate_break_address(addr); in dbg_set_sw_break() local
274 if (err) in dbg_set_sw_break()
275 return err; in dbg_set_sw_break()
935 int err; in kgdb_register_io_module() local
948 err = new_dbg_io_ops->init(); in kgdb_register_io_module()
949 if (err) { in kgdb_register_io_module()
951 return err; in kgdb_register_io_module()