/openbmc/qemu/tests/tcg/aarch64/ |
H A D | mte-6.c | 13 void *brk = sbrk(16); in main() local 14 if (brk == (void *)-1) { in main() 19 if (mprotect(brk, 16, PROT_READ | PROT_WRITE | PROT_MTE)) { in main() 27 asm("irg %0,%1,%2" : "=r"(p1) : "r"(brk), "r"(excl)); in main() 29 asm("irg %0,%1,%2" : "=r"(p2) : "r"(brk), "r"(excl)); in main()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | dawr.c | 19 int set_dawr(int nr, struct arch_hw_breakpoint *brk) in set_dawr() argument 23 dawr = brk->address; in set_dawr() 25 dawrx = (brk->type & (HW_BRK_TYPE_READ | HW_BRK_TYPE_WRITE)) in set_dawr() 27 dawrx |= ((brk->type & (HW_BRK_TYPE_TRANSLATE)) >> 2) << (63 - 59); in set_dawr() 28 dawrx |= (brk->type & (HW_BRK_TYPE_PRIV_ALL)) >> 3; in set_dawr() 36 mrd = ((brk->hw_len + 7) >> 3) - 1; in set_dawr()
|
H A D | process.c | 763 __set_breakpoint(i, brk); in set_breakpoint() 811 dabr = brk->address | (brk->type & HW_BRK_TYPE_DABR); in set_dabr() 812 dabrx = ((brk->type >> 3) & 0x7); in set_dabr() 838 unsigned long end_addr = ALIGN(brk->address + brk->len, HW_BREAKPOINT_SIZE); in set_breakpoint_8xx() 869 set_dawr(nr, brk); in set_hw_breakpoint() 871 set_breakpoint_8xx(brk); in set_hw_breakpoint() 874 set_dabr(brk); in set_hw_breakpoint() 882 memcpy(this_cpu_ptr(¤t_brk[nr]), brk, sizeof(*brk)); in __set_breakpoint() 883 set_hw_breakpoint(nr, brk); in __set_breakpoint() 901 struct arch_hw_breakpoint brk = {0}; in suspend_breakpoints() local [all …]
|
/openbmc/qemu/target/arm/ |
H A D | hyp_gdbstub.c | 59 HWBreakpoint brk = { in insert_hw_breakpoint() local 68 brk.bcr = deposit32(brk.bcr, 1, 2, 0x3); /* PMC = 11 */ in insert_hw_breakpoint() 69 brk.bcr = deposit32(brk.bcr, 5, 4, 0xf); /* BAS = RES1 */ in insert_hw_breakpoint() 71 g_array_append_val(hw_breakpoints, brk); in insert_hw_breakpoint() 87 HWBreakpoint *brk = get_hw_bp(i); in delete_hw_breakpoint() local 88 if (brk->bvr == pc) { in delete_hw_breakpoint()
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-noadv.c | 202 struct arch_hw_breakpoint brk; in ppc_set_hwdebug() local 217 brk.address = ALIGN_DOWN(bp_info->addr, HW_BREAKPOINT_SIZE); in ppc_set_hwdebug() 218 brk.type = HW_BRK_TYPE_TRANSLATE | HW_BRK_TYPE_PRIV_ALL; in ppc_set_hwdebug() 219 brk.len = DABR_MAX_LEN; in ppc_set_hwdebug() 220 brk.hw_len = DABR_MAX_LEN; in ppc_set_hwdebug() 222 brk.type |= HW_BRK_TYPE_READ; in ppc_set_hwdebug() 224 brk.type |= HW_BRK_TYPE_WRITE; in ppc_set_hwdebug() 241 arch_bp_generic_fields(brk.type, &attr.bp_type); in ppc_set_hwdebug() 263 child->thread.hw_brk[i] = brk; in ppc_set_hwdebug()
|
/openbmc/linux/mm/ |
H A D | init-mm.c | 54 void *end_data, void *brk) in setup_initial_init_mm() argument 59 init_mm.brk = (unsigned long)brk; in setup_initial_init_mm()
|
H A D | nommu.c | 381 SYSCALL_DEFINE1(brk, unsigned long, brk) in SYSCALL_DEFINE1() argument 385 if (brk < mm->start_brk || brk > mm->context.end_brk) in SYSCALL_DEFINE1() 386 return mm->brk; in SYSCALL_DEFINE1() 388 if (mm->brk == brk) in SYSCALL_DEFINE1() 389 return mm->brk; in SYSCALL_DEFINE1() 394 if (brk <= mm->brk) { in SYSCALL_DEFINE1() 395 mm->brk = brk; in SYSCALL_DEFINE1() 396 return brk; in SYSCALL_DEFINE1() 402 flush_icache_user_range(mm->brk, brk); in SYSCALL_DEFINE1() 403 return mm->brk = brk; in SYSCALL_DEFINE1()
|
/openbmc/u-boot/common/ |
H A D | dlmalloc.c | 1090 brk = (char*)(MORECORE (sbrk_size)); 1093 if (brk == (char*)(MORECORE_FAILURE) || 1094 (brk < old_end && old_top != initial_top)) 1107 sbrk_base = brk; 1109 sbrked_mem += brk - (char*)old_end; 1116 brk += correction; 1132 top = (mchunkptr)brk; 1133 top_size = new_brk - brk + correction; 1978 if ((long)(brk - (char*)(p)) < MINSIZE) brk = brk + alignment; 1980 newp = (mchunkptr)brk; [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | process.c | 238 ret = PAGE_ALIGN(mm->brk + brk_rnd()); in arch_randomize_brk() 239 return (ret > mm->brk) ? ret : mm->brk; in arch_randomize_brk()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | hw_breakpoint.h | 121 int set_dawr(int nr, struct arch_hw_breakpoint *brk); 124 static inline int set_dawr(int nr, struct arch_hw_breakpoint *brk) { return -1; } in set_dawr() argument
|
H A D | debug.h | 48 void __set_breakpoint(int nr, struct arch_hw_breakpoint *brk);
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | sys_ia64.c | 91 ia64_brk (unsigned long brk) in ia64_brk() argument 93 unsigned long retval = sys_brk(brk); in ia64_brk()
|
/openbmc/linux/include/linux/ |
H A D | elf-randomize.h | 13 # define arch_randomize_brk(mm) (mm->brk)
|
H A D | serial.h | 42 __u32 frame, parity, overrun, brk; member
|
/openbmc/linux/arch/x86/kernel/ |
H A D | vmlinux.lds.S | 420 .brk : AT(ADDR(.brk) - LOAD_OFFSET) { 423 *(.bss..brk) /* areas brk users have reserved */ argument
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 40 err = brk(addr + 4096); in kernel_loop() 41 err |= brk(addr); in kernel_loop()
|
/openbmc/qemu/pc-bios/ |
H A D | petalogix-s3adsp1800.dts | 85 xlnx,number-of-pc-brk = <0x03>; 86 xlnx,number-of-rd-addr-brk = <0x02>; 87 xlnx,number-of-wr-addr-brk = <0x02>; 98 xlnx,use-ext-brk = <0x01>; 99 xlnx,use-ext-nm-brk = <0x01>;
|
H A D | petalogix-ml605.dts | 104 xlnx,number-of-pc-brk = < 0x01 >; 105 xlnx,number-of-rd-addr-brk = < 0x00 >; 106 xlnx,number-of-wr-addr-brk = < 0x00 >; 120 xlnx,use-ext-brk = < 0x01 >; 121 xlnx,use-ext-nm-brk = < 0x01 >;
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | asm-bug.h | 40 brk BUG_BRK_IMM
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | tagged-address-abi.rst | 36 - ``brk()`` syscall (i.e. the heap area between the initial location of 50 - ``brk()``, ``mmap()`` and the ``new_address`` argument to 55 incorrectly accept valid tagged pointers for the ``brk()``, 126 - ``brk()`` (since kernel v5.6).
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | overcommit-accounting.rst | 76 * 我们的审计 brk
|
/openbmc/linux/Documentation/bpf/ |
H A D | prog_lsm.rst | 31 unsigned long start_brk, brk, start_stack; 35 unsigned long start_brk, brk, start_stack; 80 vma->vm_end <= vma->vm_mm->brk);
|
/openbmc/linux/arch/microblaze/boot/dts/ |
H A D | system.dts | 93 xlnx,number-of-pc-brk = <0x1>; 94 xlnx,number-of-rd-addr-brk = <0x0>; 95 xlnx,number-of-wr-addr-brk = <0x0>; 106 xlnx,use-ext-brk = <0x1>; 107 xlnx,use-ext-nm-brk = <0x1>;
|
/openbmc/qemu/linux-user/ |
H A D | elfload.c | 2744 uintptr_t brk_last = brk + 16 * MiB - 1; in pgb_try_mmap_skip_brk() 2868 uintptr_t brk = (uintptr_t)sbrk(0); in pgb_fixed() local 2899 if (pgb_try_mmap_set(ga, base, brk)) { in pgb_find_fallback() 2966 uintptr_t brk, ret; in pgb_dynamic() local 2971 brk = (uintptr_t)sbrk(0); in pgb_dynamic() 2972 if (pgb_try_mmap_set(&ga, 0, brk)) { in pgb_dynamic() 2987 brk = (uintptr_t)sbrk(0); in pgb_dynamic() 2997 b->start = brk; in pgb_dynamic() 2998 b->last = brk + 16 * MiB - 1; in pgb_dynamic() 3848 if (interp_info.brk > info->brk && in load_elf_binary() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | zs.c | 578 icount->brk++; in zs_receive_chars() 651 u8 status, brk; in zs_status_handle() local 659 brk = status & BRK_ABRT; in zs_status_handle() 660 if (brk && !zport->brk) { in zs_status_handle() 668 zport->brk = brk; in zs_status_handle() 796 zport->brk = read_zsreg(zport, R0) & BRK_ABRT; in zs_startup()
|