Lines Matching refs:head
325 struct hlist_head *head; in get_kprobe() local
328 head = &kprobe_table[hash_ptr(addr, KPROBE_HASH_BITS)]; in get_kprobe()
329 hlist_for_each_entry_rcu(p, head, hlist) { in get_kprobe()
818 struct hlist_head *head; in optimize_all_kprobes() local
830 head = &kprobe_table[i]; in optimize_all_kprobes()
831 hlist_for_each_entry_rcu(p, head, hlist) in optimize_all_kprobes()
843 struct hlist_head *head; in unoptimize_all_kprobes() local
857 head = &kprobe_table[i]; in unoptimize_all_kprobes()
858 hlist_for_each_entry_rcu(p, head, hlist) { in unoptimize_all_kprobes()
1158 struct hlist_head *head) in recycle_rp_inst() argument
1171 hlist_add_head(&ri->hlist, head); in recycle_rp_inst()
1176 struct hlist_head **head, unsigned long *flags) in kretprobe_hash_lock() argument
1182 *head = &kretprobe_inst_table[hash]; in kretprobe_hash_lock()
1227 struct hlist_head *head, empty_rp; in kprobe_flush_task() local
1237 head = &kretprobe_inst_table[hash]; in kprobe_flush_task()
1239 hlist_for_each_entry_safe(ri, tmp, head, hlist) { in kprobe_flush_task()
1267 struct hlist_head *head; in cleanup_rp_inst() local
1272 head = &kretprobe_inst_table[hash]; in cleanup_rp_inst()
1273 hlist_for_each_entry_safe(ri, next, head, hlist) { in cleanup_rp_inst()
2202 struct hlist_head *head; in kprobes_module_callback() local
2218 head = &kprobe_table[i]; in kprobes_module_callback()
2219 hlist_for_each_entry_rcu(p, head, hlist) in kprobes_module_callback()
2358 struct hlist_head *head; in show_kprobe_addr() local
2365 head = &kprobe_table[i]; in show_kprobe_addr()
2367 hlist_for_each_entry_rcu(p, head, hlist) { in show_kprobe_addr()
2449 struct hlist_head *head; in arm_all_kprobes() local
2468 head = &kprobe_table[i]; in arm_all_kprobes()
2470 hlist_for_each_entry_rcu(p, head, hlist) { in arm_all_kprobes()
2495 struct hlist_head *head; in disarm_all_kprobes() local
2511 head = &kprobe_table[i]; in disarm_all_kprobes()
2513 hlist_for_each_entry_rcu(p, head, hlist) { in disarm_all_kprobes()