Home
last modified time | relevance | path

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

1234

/linux/arch/powerpc/kernel/
H A Ddawr.c19 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()
/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-noadv.c202 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()
/linux/arch/arm64/include/asm/
H A Dasm-bug.h45 brk BUG_BRK_IMM
65 __stringify(brk BUG_BRK_IMM)
/linux/arch/powerpc/include/asm/
H A Dhw_breakpoint.h121 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 Ddebug.h48 void __set_breakpoint(int nr, struct arch_hw_breakpoint *brk);
/linux/arch/arm64/kernel/probes/
H A Dkprobes_trampoline.S18 brk #KRETPROBES_BRK_IMM
/linux/include/linux/
H A Delf-randomize.h13 # define arch_randomize_brk(mm) (mm->brk)
H A Dserial.h42 __u32 frame, parity, overrun, brk; member
/linux/Documentation/arch/arm64/
H A Dtagged-address-abi.rst36 - ``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).
/linux/drivers/tty/serial/
H A Dzs.c577 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()
H A Dfsl_linflexuart.c232 bool brk; in linflex_rxint() local
239 brk = false; in linflex_rxint()
249 brk = true; in linflex_rxint()
250 sport->icount.brk++; in linflex_rxint()
261 if (brk) { in linflex_rxint()
H A Dzs.h32 u8 brk; /* BREAK state from RR0. */ member
H A Dqcom_geni_serial.c142 bool brk; member
598 if (port->brk && buf[c] == 0) { in handle_rx_console()
599 port->brk = false; in handle_rx_console()
1100 uport->icount.brk++; in qcom_geni_serial_isr()
1101 port->brk = true; in qcom_geni_serial_isr()
1120 uport->icount.brk++; in qcom_geni_serial_isr()
/linux/Documentation/bpf/
H A Dprog_lsm.rst31 unsigned long start_brk, brk, start_stack;
35 unsigned long start_brk, brk, start_stack;
80 vma->vm_end <= vma->vm_mm->brk);
/linux/arch/microblaze/boot/dts/
H A Dsystem.dts93 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>;
/linux/include/uapi/linux/
H A Dserial.h106 int frame, overrun, parity, brk; member
H A Dprctl.h140 __u64 brk; member
/linux/drivers/tty/
H A Dn_gsm.c457 static int gsm_modem_update(struct gsm_dlci *dlci, u8 brk);
1310 u8 brk) in gsm_dlci_modem_output() argument
1322 if (brk > 0) in gsm_dlci_modem_output()
1341 if (brk == 0) { in gsm_dlci_modem_output()
1345 *dp++ = (brk << 4) | 2 | EA; /* Length, Break, EA */ in gsm_dlci_modem_output()
1512 u8 brk = 0; in gsm_process_modem() local
1523 brk = modem & 0x7f; in gsm_process_modem()
1553 if (brk & 0x01) in gsm_process_modem()
4122 static void gsm_modem_upd_via_data(struct gsm_dlci *dlci, u8 brk) in gsm_modem_upd_via_data() argument
4131 gsm_dlci_modem_output(gsm, dlci, brk); in gsm_modem_upd_via_data()
[all …]
H A Dvcc.c516 int brk; in break_store() local
524 if (sscanf(buf, "%ud", &brk) != 1 || brk != 1) in break_store()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c758 char *brk = sbrk(0) != (void *)-1 ? sbrk(0) : &end; in test_getdents64()
761 brk = NULL; in test_getdents64()
778 CASE_TEST(argv_addr); EXPECT_PTRGT(1, test_argv, brk); break; in test_dirent()
781 CASE_TEST(argv0_addr); EXPECT_PTRGT(1, argv0, brk); break; in test_dirent()
782 CASE_TEST(argv0_str); EXPECT_STRNZ(1, argv0 > brk ? argv0 : NULL); break; in test_dirent()
783 CASE_TEST(argv0_len); EXPECT_GE(1, argv0 > brk ? strlen(argv0) : 0, 1); break; in test_dirent()
784 CASE_TEST(environ_addr); EXPECT_PTRGT(1, environ, brk); break; in test_dirent()
789 CASE_TEST(auxv_addr); EXPECT_PTRGT(test_auxv != (void *)-1, test_auxv, brk); break; in test_dirent()
1599 /* on musl setting brk()/sbrk() always fails */ in test_scanf()
1600 has_brk = brk( in test_scanf()
711 char *brk = sbrk(0) != (void *)-1 ? sbrk(0) : &end; run_startup() local
[all...]
/linux/tools/include/uapi/linux/
H A Dprctl.h140 __u64 brk; member
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dprctl.h140 __u64 brk; member
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dkasan.rst306 报告。使用inline插桩,编译器会发出 ``brk`` 指令,并使用专用的 ``brk`` 处理程序
/linux/drivers/mmc/core/
H A Dsdio_uart.c61 __u32 brk; member
371 port->icount.brk++; in sdio_uart_receive_chars()
963 if (port->icount.brk) in sdio_uart_proc_show()
965 port->icount.brk); in sdio_uart_proc_show()
/linux/Documentation/mm/
H A Dovercommit-accounting.rst75 * We account brk

1234