Searched refs:inst (Results 1 – 2 of 2) sorted by relevance
73 struct osnoise_instance *inst; in osnoise_instance_registered() local77 list_for_each_entry_rcu(inst, &osnoise_instances, list) { in osnoise_instance_registered()78 if (inst->tr == tr) in osnoise_instance_registered()94 struct osnoise_instance *inst; in osnoise_register_instance() local102 inst = kmalloc(sizeof(*inst), GFP_KERNEL); in osnoise_register_instance()103 if (!inst) in osnoise_register_instance()106 INIT_LIST_HEAD_RCU(&inst->list); in osnoise_register_instance()107 inst->tr = tr; in osnoise_register_instance()108 list_add_tail_rcu(&inst->list, &osnoise_instances); in osnoise_register_instance()121 struct osnoise_instance *inst; in osnoise_unregister_instance() local[all …]
2195 struct kretprobe_instance *inst; in register_kretprobe() local2234 inst = kzalloc(sizeof(struct kretprobe_instance) + in register_kretprobe()2236 if (inst == NULL) { in register_kretprobe()2241 rethook_add_node(rp->rh, &inst->node); in register_kretprobe()2258 inst = kzalloc(sizeof(struct kretprobe_instance) + in register_kretprobe()2260 if (inst == NULL) { in register_kretprobe()2265 inst->rph = rp->rph; in register_kretprobe()2266 freelist_add(&inst->freelist, &rp->freelist); in register_kretprobe()