Lines Matching refs:hw
107 struct task_struct *tsk = bp->hw.target; in task_bp_pinned()
111 list_for_each_entry(iter, &bp_task_head, hw.bp_list) { in task_bp_pinned()
112 if (iter->hw.target == tsk && in task_bp_pinned()
144 if (!bp->hw.target) in fetch_bp_busy_slots()
201 if (!bp->hw.target) { in toggle_bp_slot()
211 list_add_tail(&bp->hw.bp_list, &bp_task_head); in toggle_bp_slot()
213 list_del(&bp->hw.bp_list); in toggle_bp_slot()
392 struct arch_hw_breakpoint *hw) in hw_breakpoint_parse() argument
396 err = hw_breakpoint_arch_parse(bp, attr, hw); in hw_breakpoint_parse()
400 if (arch_check_bp_in_kernelspace(hw)) { in hw_breakpoint_parse()
416 struct arch_hw_breakpoint hw = { }; in register_perf_hw_breakpoint() local
423 err = hw_breakpoint_parse(bp, &bp->attr, &hw); in register_perf_hw_breakpoint()
429 bp->hw.info = hw; in register_perf_hw_breakpoint()
464 struct arch_hw_breakpoint hw = { }; in modify_user_hw_breakpoint_check() local
467 err = hw_breakpoint_parse(bp, attr, &hw); in modify_user_hw_breakpoint_check()
487 bp->hw.info = hw; in modify_user_hw_breakpoint_check()
625 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_add()
628 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
642 bp->hw.state = 0; in hw_breakpoint_start()
647 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_stop()