Lines Matching refs:list
91 struct list_head list; member
148 list_for_each_entry_rcu(kip, &c->pages, list) { in __get_insn_slot()
186 INIT_LIST_HEAD(&kip->list); in __get_insn_slot()
192 list_add_rcu(&kip->list, &c->pages); in __get_insn_slot()
215 if (!list_is_singular(&kip->list)) { in collect_one_slot()
223 list_del_rcu(&kip->list); in collect_one_slot()
240 list_for_each_entry_safe(kip, next, &c->pages, list) { in collect_garbage_slots()
262 list_for_each_entry_rcu(kip, &c->pages, list) { in __free_insn_slot()
300 list_for_each_entry_rcu(kip, &c->pages, list) { in __is_insn_slot_addr()
319 list_for_each_entry_rcu(kip, &c->pages, list) { in kprobe_cache_get_kallsym()
392 list_empty(&p->list); in kprobe_unused()
416 list_for_each_entry_rcu(kp, &p->list, list) { in opt_pre_handler()
461 return kprobe_disabled(p) && list_empty(&op->list); in kprobe_disarmed()
471 if (!list_empty(&op->list)) in kprobe_queued()
552 list_for_each_entry_safe(op, tmp, &freeing_list, list) { in do_unoptimize_kprobes()
566 list_del_init(&op->list); in do_unoptimize_kprobes()
575 list_for_each_entry_safe(op, tmp, &freeing_list, list) { in do_free_cleaned_kprobes()
576 list_del_init(&op->list); in do_free_cleaned_kprobes()
657 list_for_each_entry(_op, &unoptimizing_list, list) { in optprobe_queued_unopt()
689 list_del_init(&op->list); in optimize_kprobe()
696 if (WARN_ON_ONCE(!list_empty(&op->list))) in optimize_kprobe()
699 list_add(&op->list, &optimizing_list); in optimize_kprobe()
723 if (!list_empty(&op->list)) { in unoptimize_kprobe()
732 list_move(&op->list, &freeing_list); in unoptimize_kprobe()
736 list_del_init(&op->list); in unoptimize_kprobe()
747 list_add(&op->list, &unoptimizing_list); in unoptimize_kprobe()
762 WARN_ON_ONCE(list_empty(&op->list)); in reuse_unused_kprobe()
779 if (!list_empty(&op->list)) in kill_optimized_kprobe()
781 list_del_init(&op->list); in kill_optimized_kprobe()
791 list_move(&op->list, &freeing_list); in kill_optimized_kprobe()
823 INIT_LIST_HEAD(&op->list); in alloc_aggr_kprobe()
1166 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_pre_handler()
1183 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_post_handler()
1217 list_for_each_entry_rcu(kp, &p->list, list) in kprobes_inc_nmissed_count()
1388 list_add_rcu(&p->list, &ap->list); in add_new_kprobe()
1412 INIT_LIST_HEAD(&ap->list); in init_aggr_kprobe()
1415 list_add_rcu(&p->list, &ap->list); in init_aggr_kprobe()
1492 list_del_rcu(&p->list); in register_aggr_kprobe()
1517 list_for_each_entry(ent, &kprobe_blacklist, list) { in __within_kprobe_blacklist()
1587 list_for_each_entry(list_p, &ap->list, list) in __get_valid_kprobe()
1713 INIT_LIST_HEAD(&p->list); in register_kprobe()
1769 list_for_each_entry(kp, &ap->list, list) in aggr_kprobe_disabled()
1840 if (list_is_singular(&ap->list) && kprobe_disarmed(ap)) in __unregister_kprobe_top()
1849 list_for_each_entry(list_p, &ap->list, list) { in __unregister_kprobe_top()
1866 list_del_rcu(&p->list); in __unregister_kprobe_top()
1885 if (list_empty(&p->list)) in __unregister_kprobe_bottom()
1888 else if (list_is_singular(&p->list)) { in __unregister_kprobe_bottom()
1890 ap = list_entry(p->list.next, struct kprobe, list); in __unregister_kprobe_bottom()
1891 list_del(&p->list); in __unregister_kprobe_bottom()
2288 list_for_each_entry(kp, &p->list, list) in kill_kprobe()
2388 INIT_LIST_HEAD(&ent->list); in kprobe_add_ksym_blacklist()
2389 list_add_tail(&ent->list, &kprobe_blacklist); in kprobe_add_ksym_blacklist()
2415 list_for_each_entry_safe(ent, n, &kprobe_blacklist, list) { in kprobe_remove_area_blacklist()
2418 list_del(&ent->list); in kprobe_remove_area_blacklist()
2756 list_for_each_entry_rcu(kp, &p->list, list) in show_kprobe_addr()
2789 list_entry(v, struct kprobe_blacklist_entry, list); in kprobe_blacklist_seq_show()