Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dtrace_osnoise.c73 struct osnoise_instance *inst; in osnoise_instance_registered() local
77 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() local
102 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 …]
/kernel/
Dkprobes.c2195 struct kretprobe_instance *inst; in register_kretprobe() local
2234 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()