Lines Matching refs:address
48 fn insert_break_point(&mut self, address: usize, kprobe: LockKprobe) { in insert_break_point()
49 let list = self.break_list.entry(address).or_default(); in insert_break_point()
58 fn insert_debug_point(&mut self, address: usize, kprobe: LockKprobe) { in insert_debug_point()
59 let list = self.debug_list.entry(address).or_default(); in insert_debug_point()
63 pub fn get_break_list(&self, address: usize) -> Option<&Vec<LockKprobe>> { in get_break_list()
64 self.break_list.get(&address) in get_break_list()
67 pub fn get_debug_list(&self, address: usize) -> Option<&Vec<LockKprobe>> { in get_debug_list()
68 self.debug_list.get(&address) in get_debug_list()
75 pub fn kprobe_num(&self, address: usize) -> usize { in kprobe_num()
76 self.break_list_len(address) in kprobe_num()
80 fn break_list_len(&self, address: usize) -> usize { in break_list_len()
82 .get(&address) in break_list_len()
87 fn debug_list_len(&self, address: usize) -> usize { in debug_list_len()
89 .get(&address) in debug_list_len()
111 fn remove_one_break(&mut self, address: usize, kprobe: &LockKprobe) { in remove_one_break()
112 if let Some(list) = self.break_list.get_mut(&address) { in remove_one_break()
115 if self.break_list_len(address) == 0 { in remove_one_break()
116 self.break_list.remove(&address); in remove_one_break()
127 fn remove_one_debug(&mut self, address: usize, kprobe: &LockKprobe) { in remove_one_debug()
128 if let Some(list) = self.debug_list.get_mut(&address) { in remove_one_debug()
131 if self.debug_list_len(address) == 0 { in remove_one_debug()
132 self.debug_list.remove(&address); in remove_one_debug()
152 let address = kprobe_builder.probe_addr(); in register_kprobe() localVariable
153 let existed_point = KPROBE_POINT_LIST.lock().get(&address).map(Clone::clone); in register_kprobe()
163 KPROBE_POINT_LIST.lock().insert(address, probe_point); in register_kprobe()