/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | ptrace.c | 405 static struct perf_event *ptrace_hbp_get_event(unsigned int note_type, in ptrace_hbp_get_event() argument 411 switch (note_type) { in ptrace_hbp_get_event() 429 static int ptrace_hbp_set_event(unsigned int note_type, in ptrace_hbp_set_event() argument 434 switch (note_type) { in ptrace_hbp_set_event() 452 static struct perf_event *ptrace_hbp_create(unsigned int note_type, in ptrace_hbp_create() argument 460 switch (note_type) { in ptrace_hbp_create() 486 err = ptrace_hbp_set_event(note_type, tsk, idx, bp); in ptrace_hbp_create() 493 static int ptrace_hbp_fill_attr_ctrl(unsigned int note_type, in ptrace_hbp_fill_attr_ctrl() argument 503 switch (note_type) { in ptrace_hbp_fill_attr_ctrl() 523 static int ptrace_hbp_get_resource_info(unsigned int note_type, u6 argument 544 ptrace_hbp_get_initialised_bp(unsigned int note_type, struct task_struct *tsk, unsigned long idx) ptrace_hbp_get_initialised_bp() argument 556 ptrace_hbp_get_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 *ctrl) ptrace_hbp_get_ctrl() argument 570 ptrace_hbp_get_mask(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 *mask) ptrace_hbp_get_mask() argument 584 ptrace_hbp_get_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 *addr) ptrace_hbp_get_addr() argument 598 ptrace_hbp_set_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 uctrl) ptrace_hbp_set_ctrl() argument 620 ptrace_hbp_set_mask(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 mask) ptrace_hbp_set_mask() argument 639 ptrace_hbp_set_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 addr) ptrace_hbp_set_addr() argument 669 unsigned int note_type = regset->core_note_type; hw_break_get() local 710 unsigned int note_type = regset->core_note_type; hw_break_set() local [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | ptrace.c | 234 static struct perf_event *ptrace_hbp_get_event(unsigned int note_type, in ptrace_hbp_get_event() argument 240 switch (note_type) { in ptrace_hbp_get_event() 259 static int ptrace_hbp_set_event(unsigned int note_type, in ptrace_hbp_set_event() argument 266 switch (note_type) { in ptrace_hbp_set_event() 287 static struct perf_event *ptrace_hbp_create(unsigned int note_type, in ptrace_hbp_create() argument 295 switch (note_type) { in ptrace_hbp_create() 321 err = ptrace_hbp_set_event(note_type, tsk, idx, bp); in ptrace_hbp_create() 328 static int ptrace_hbp_fill_attr_ctrl(unsigned int note_type, in ptrace_hbp_fill_attr_ctrl() argument 342 switch (note_type) { in ptrace_hbp_fill_attr_ctrl() 362 static int ptrace_hbp_get_resource_info(unsigned int note_type, u3 argument 386 ptrace_hbp_get_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 *ctrl) ptrace_hbp_get_ctrl() argument 400 ptrace_hbp_get_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 *addr) ptrace_hbp_get_addr() argument 414 ptrace_hbp_get_initialised_bp(unsigned int note_type, struct task_struct *tsk, unsigned long idx) ptrace_hbp_get_initialised_bp() argument 426 ptrace_hbp_set_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 uctrl) ptrace_hbp_set_ctrl() argument 451 ptrace_hbp_set_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 addr) ptrace_hbp_set_addr() argument 480 unsigned int note_type = regset->core_note_type; hw_break_get() local 513 unsigned int note_type = regset->core_note_type; hw_break_set() local 1551 compat_ptrace_hbp_get(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) compat_ptrace_hbp_get() argument 1572 compat_ptrace_hbp_set(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) compat_ptrace_hbp_set() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | ptrace.c | 231 static struct perf_event *ptrace_hbp_get_event(unsigned int note_type, in ptrace_hbp_get_event() argument 237 switch (note_type) { in ptrace_hbp_get_event() 256 static int ptrace_hbp_set_event(unsigned int note_type, in ptrace_hbp_set_event() argument 263 switch (note_type) { in ptrace_hbp_set_event() 284 static struct perf_event *ptrace_hbp_create(unsigned int note_type, in ptrace_hbp_create() argument 292 switch (note_type) { in ptrace_hbp_create() 318 err = ptrace_hbp_set_event(note_type, tsk, idx, bp); in ptrace_hbp_create() 325 static int ptrace_hbp_fill_attr_ctrl(unsigned int note_type, in ptrace_hbp_fill_attr_ctrl() argument 339 switch (note_type) { in ptrace_hbp_fill_attr_ctrl() 359 static int ptrace_hbp_get_resource_info(unsigned int note_type, u3 argument 383 ptrace_hbp_get_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 *ctrl) ptrace_hbp_get_ctrl() argument 397 ptrace_hbp_get_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 *addr) ptrace_hbp_get_addr() argument 411 ptrace_hbp_get_initialised_bp(unsigned int note_type, struct task_struct *tsk, unsigned long idx) ptrace_hbp_get_initialised_bp() argument 423 ptrace_hbp_set_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 uctrl) ptrace_hbp_set_ctrl() argument 448 ptrace_hbp_set_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 addr) ptrace_hbp_set_addr() argument 477 unsigned int note_type = regset->core_note_type; hw_break_get() local 510 unsigned int note_type = regset->core_note_type; hw_break_set() local 1949 compat_ptrace_hbp_get(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) compat_ptrace_hbp_get() argument 1970 compat_ptrace_hbp_set(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) compat_ptrace_hbp_set() argument [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | binfmt_elf.c | 1796 int note_type = regset->core_note_type; in fill_thread_core_info() local 1797 bool is_fpreg = note_type == NT_PRFPREG; in fill_thread_core_info() 1802 if (!note_type) // not for coredumps in fill_thread_core_info() 1815 note_type, ret, data); in fill_thread_core_info()
|
/kernel/linux/linux-6.6/fs/ |
H A D | binfmt_elf.c | 1796 int note_type = regset->core_note_type; in fill_thread_core_info() local 1797 bool is_fpreg = note_type == NT_PRFPREG; in fill_thread_core_info() 1802 if (!note_type) // not for coredumps in fill_thread_core_info() 1818 note_type, ret, data); in fill_thread_core_info()
|