Home
last modified time | relevance | path

Searched refs:brk (Results 1 – 25 of 55) sorted by relevance

123

/arch/powerpc/include/asm/
Dhw_breakpoint.h77 struct arch_hw_breakpoint brk; in hw_breakpoint_disable() local
79 brk.address = 0; in hw_breakpoint_disable()
80 brk.type = 0; in hw_breakpoint_disable()
81 brk.len = 0; in hw_breakpoint_disable()
82 set_breakpoint(&brk); in hw_breakpoint_disable()
Ddebug.h49 int set_breakpoint(struct arch_hw_breakpoint *brk);
/arch/x86/include/asm/
Dsetup.h124 .brk.name: \
126 .size .brk.name,.-1b; \
Da.out-core.h32 dump->u_dsize = ((unsigned long)(current->mm->brk + (PAGE_SIZE - 1))) in aout_dump_thread()
/arch/powerpc/kernel/
Dprocess.c413 static inline int set_dabr(struct arch_hw_breakpoint *brk) in set_dabr() argument
417 dabr = brk->address | (brk->type & HW_BRK_TYPE_DABR); in set_dabr()
418 dabrx = ((brk->type >> 3) & 0x7); in set_dabr()
426 static inline int set_dawr(struct arch_hw_breakpoint *brk) in set_dawr() argument
430 dawr = brk->address; in set_dawr()
432 dawrx = (brk->type & (HW_BRK_TYPE_READ | HW_BRK_TYPE_WRITE)) \ in set_dawr()
434 dawrx |= ((brk->type & (HW_BRK_TYPE_TRANSLATE)) >> 2) \ in set_dawr()
436 dawrx |= (brk->type & (HW_BRK_TYPE_PRIV_ALL)) \ in set_dawr()
444 mrd = ((brk->len + 7) >> 3) - 1; in set_dawr()
454 int set_breakpoint(struct arch_hw_breakpoint *brk) in set_breakpoint() argument
[all …]
Dptrace.c1387 struct arch_hw_breakpoint brk; in ppc_set_hwdebug() local
1435 brk.address = bp_info->addr & ~7UL; in ppc_set_hwdebug()
1436 brk.type = HW_BRK_TYPE_TRANSLATE; in ppc_set_hwdebug()
1437 brk.len = 8; in ppc_set_hwdebug()
1439 brk.type |= HW_BRK_TYPE_READ; in ppc_set_hwdebug()
1441 brk.type |= HW_BRK_TYPE_WRITE; in ppc_set_hwdebug()
1466 arch_bp_generic_fields(brk.type, &attr.bp_type); in ppc_set_hwdebug()
1486 child->thread.hw_brk = brk; in ppc_set_hwdebug()
/arch/mips/mm/
Dmmap.c193 unsigned long base = mm->brk; in arch_randomize_brk()
198 if (ret < mm->brk) in arch_randomize_brk()
199 return mm->brk; in arch_randomize_brk()
/arch/ia64/kernel/
Dsys_ia64.c88 ia64_brk (unsigned long brk) in ia64_brk() argument
90 unsigned long retval = sys_brk(brk); in ia64_brk()
/arch/s390/kernel/
Dprocess.c258 unsigned long ret = PAGE_ALIGN(mm->brk + brk_rnd()); in arch_randomize_brk()
260 if (ret < mm->brk) in arch_randomize_brk()
261 return mm->brk; in arch_randomize_brk()
/arch/unicore32/kernel/
Dprocess.c314 unsigned long range_end = mm->brk + 0x02000000; in arch_randomize_brk()
315 return randomize_range(mm->brk, range_end, 0) ? : mm->brk; in arch_randomize_brk()
/arch/arm/include/asm/
Da.out-core.h32 dump->u_dsize = (tsk->mm->brk - tsk->mm->start_data + PAGE_SIZE - 1) >> PAGE_SHIFT; in aout_dump_thread()
/arch/x86/kernel/
Dprocess.c455 unsigned long range_end = mm->brk + 0x02000000; in arch_randomize_brk()
456 return randomize_range(mm->brk, range_end, 0) ? : mm->brk; in arch_randomize_brk()
Dftrace.c290 unsigned char brk = BREAKPOINT_INSTRUCTION; in add_break() local
299 if (ftrace_write(ip, &brk, 1)) in add_break()
390 unsigned char brk = BREAKPOINT_INSTRUCTION; in remove_breakpoint() local
400 if (ins[0] != brk) in remove_breakpoint()
Dvmlinux.lds.S308 .brk : AT(ADDR(.brk) - LOAD_OFFSET) {
/arch/arm64/include/asm/
Dinsn.h85 __AARCH64_INSN_FUNCS(brk, 0xFFE0001F, 0xD4200000)
/arch/cris/kernel/
Dsetup.c91 init_mm.brk = (unsigned long) &_end; in setup_arch()
/arch/arc/mm/
Dinit.c59 init_mm.brk = (unsigned long)_end; in setup_arch_memory()
/arch/m68k/include/asm/
Da.out-core.h32 dump->u_dsize = ((unsigned long) (current->mm->brk + in aout_dump_thread()
/arch/arm/kernel/
Dprocess.c558 unsigned long range_end = mm->brk + 0x02000000; in arch_randomize_brk()
559 return randomize_range(mm->brk, range_end, 0) ? : mm->brk; in arch_randomize_brk()
/arch/h8300/kernel/
Dtraps.c68 (int) current->mm->brk); in dump()
Dsetup.c125 init_mm.brk = (unsigned long) 0; in setup_arch()
/arch/microblaze/platform/generic/
Dsystem.dts108 xlnx,number-of-pc-brk = <0x1>;
109 xlnx,number-of-rd-addr-brk = <0x0>;
110 xlnx,number-of-wr-addr-brk = <0x0>;
121 xlnx,use-ext-brk = <0x1>;
122 xlnx,use-ext-nm-brk = <0x1>;
/arch/microblaze/boot/dts/
Dsystem.dts108 xlnx,number-of-pc-brk = <0x1>;
109 xlnx,number-of-rd-addr-brk = <0x0>;
110 xlnx,number-of-wr-addr-brk = <0x0>;
121 xlnx,use-ext-brk = <0x1>;
122 xlnx,use-ext-nm-brk = <0x1>;
/arch/alpha/include/asm/
Da.out-core.h33 dump->u_dsize = ((current->mm->brk + PAGE_SIZE-1 - dump->start_data) in aout_dump_thread()
/arch/x86/ia32/
Dia32_aout.c58 (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread32()
309 current->mm->brk = ex.a_bss + in load_aout_binary()
393 set_brk(current->mm->start_brk, current->mm->brk); in load_aout_binary()

123