Lines Matching refs:hw
110 struct task_struct *tsk = bp->hw.target; in get_task_bps_mutex()
334 head = rhltable_lookup(&task_bps_ht, &bp->hw.target, task_bps_ht_params); in task_bp_pinned()
338 rhl_for_each_entry_rcu(iter, pos, head, hw.bp_list) { in task_bp_pinned()
376 if (bp->hw.target && bp->cpu < 0) { in max_bp_pinned_slots()
394 if (!bp->hw.target) in max_bp_pinned_slots()
416 if (!bp->hw.target) { in toggle_bp_slot()
464 int ret = rhltable_remove(&task_bps_ht, &bp->hw.bp_list, task_bps_ht_params); in toggle_bp_slot()
521 return rhltable_insert(&task_bps_ht, &bp->hw.bp_list, task_bps_ht_params); in toggle_bp_slot()
719 struct arch_hw_breakpoint *hw) in hw_breakpoint_parse() argument
723 err = hw_breakpoint_arch_parse(bp, attr, hw); in hw_breakpoint_parse()
727 if (arch_check_bp_in_kernelspace(hw)) { in hw_breakpoint_parse()
743 struct arch_hw_breakpoint hw = { }; in register_perf_hw_breakpoint() local
750 err = hw_breakpoint_parse(bp, &bp->attr, &hw); in register_perf_hw_breakpoint()
756 bp->hw.info = hw; in register_perf_hw_breakpoint()
792 struct arch_hw_breakpoint hw = { }; in modify_user_hw_breakpoint_check() local
795 err = hw_breakpoint_parse(bp, attr, &hw); in modify_user_hw_breakpoint_check()
815 bp->hw.info = hw; in modify_user_hw_breakpoint_check()
998 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_add()
1001 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
1015 bp->hw.state = 0; in hw_breakpoint_start()
1020 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_stop()