Lines Matching refs:list
84 struct list_head list; member
140 list_for_each_entry_rcu(kip, &c->pages, list) { in __get_insn_slot()
178 INIT_LIST_HEAD(&kip->list); in __get_insn_slot()
184 list_add_rcu(&kip->list, &c->pages); in __get_insn_slot()
203 if (!list_is_singular(&kip->list)) { in collect_one_slot()
204 list_del_rcu(&kip->list); in collect_one_slot()
221 list_for_each_entry_safe(kip, next, &c->pages, list) { in collect_garbage_slots()
243 list_for_each_entry_rcu(kip, &c->pages, list) { in __free_insn_slot()
281 list_for_each_entry_rcu(kip, &c->pages, list) { in __is_insn_slot_addr()
351 list_empty(&p->list); in kprobe_unused()
375 list_for_each_entry_rcu(kp, &p->list, list) { in opt_pre_handler()
420 return kprobe_disabled(p) && list_empty(&op->list); in kprobe_disarmed()
430 if (!list_empty(&op->list)) in kprobe_queued()
513 list_for_each_entry_safe(op, tmp, &freeing_list, list) { in do_unoptimize_kprobes()
527 list_del_init(&op->list); in do_unoptimize_kprobes()
536 list_for_each_entry_safe(op, tmp, &freeing_list, list) { in do_free_cleaned_kprobes()
537 list_del_init(&op->list); in do_free_cleaned_kprobes()
621 list_for_each_entry(_op, &unoptimizing_list, list) { in optprobe_queued_unopt()
653 list_del_init(&op->list); in optimize_kprobe()
660 if (WARN_ON_ONCE(!list_empty(&op->list))) in optimize_kprobe()
663 list_add(&op->list, &optimizing_list); in optimize_kprobe()
689 if (!list_empty(&op->list)) { in unoptimize_kprobe()
698 list_move(&op->list, &freeing_list); in unoptimize_kprobe()
702 list_del_init(&op->list); in unoptimize_kprobe()
713 list_add(&op->list, &unoptimizing_list); in unoptimize_kprobe()
728 WARN_ON_ONCE(list_empty(&op->list)); in reuse_unused_kprobe()
745 if (!list_empty(&op->list)) in kill_optimized_kprobe()
747 list_del_init(&op->list); in kill_optimized_kprobe()
752 list_add(&op->list, &freeing_list); in kill_optimized_kprobe()
790 INIT_LIST_HEAD(&op->list); in alloc_aggr_kprobe()
1133 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_pre_handler()
1150 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_post_handler()
1184 list_for_each_entry_rcu(kp, &p->list, list) in kprobes_inc_nmissed_count()
1347 list_add_rcu(&p->list, &ap->list); in add_new_kprobe()
1371 INIT_LIST_HEAD(&ap->list); in init_aggr_kprobe()
1374 list_add_rcu(&p->list, &ap->list); in init_aggr_kprobe()
1451 list_del_rcu(&p->list); in register_aggr_kprobe()
1476 list_for_each_entry(ent, &kprobe_blacklist, list) { in __within_kprobe_blacklist()
1544 list_for_each_entry_rcu(list_p, &ap->list, list) in __get_valid_kprobe()
1657 INIT_LIST_HEAD(&p->list); in register_kprobe()
1711 list_for_each_entry_rcu(kp, &ap->list, list) in aggr_kprobe_disabled()
1782 if (list_is_singular(&ap->list) && kprobe_disarmed(ap)) in __unregister_kprobe_top()
1791 list_for_each_entry_rcu(list_p, &ap->list, list) { in __unregister_kprobe_top()
1808 list_del_rcu(&p->list); in __unregister_kprobe_top()
1827 if (list_empty(&p->list)) in __unregister_kprobe_bottom()
1830 else if (list_is_singular(&p->list)) { in __unregister_kprobe_bottom()
1832 ap = list_entry(p->list.next, struct kprobe, list); in __unregister_kprobe_bottom()
1833 list_del(&p->list); in __unregister_kprobe_bottom()
2143 list_for_each_entry_rcu(kp, &p->list, list) in kill_kprobe()
2243 INIT_LIST_HEAD(&ent->list); in kprobe_add_ksym_blacklist()
2244 list_add_tail(&ent->list, &kprobe_blacklist); in kprobe_add_ksym_blacklist()
2501 list_for_each_entry_rcu(kp, &p->list, list) in show_kprobe_addr()
2543 list_entry(v, struct kprobe_blacklist_entry, list); in kprobe_blacklist_seq_show()