• Home
  • Raw
  • Download

Lines Matching refs:inst

73 	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
128 list_for_each_entry_rcu(inst, &osnoise_instances, list, in osnoise_unregister_instance()
130 if (inst->tr == tr) { in osnoise_unregister_instance()
131 list_del_rcu(&inst->list); in osnoise_unregister_instance()
140 kvfree_rcu(inst); in osnoise_unregister_instance()
454 struct osnoise_instance *inst; \
458 list_for_each_entry_rcu(inst, &osnoise_instances, list) { \
459 buffer = inst->tr->array_buffer.buffer; \
499 struct osnoise_instance *inst; in trace_osnoise_sample() local
503 list_for_each_entry_rcu(inst, &osnoise_instances, list) { in trace_osnoise_sample()
504 buffer = inst->tr->array_buffer.buffer; in trace_osnoise_sample()
573 struct osnoise_instance *inst; in trace_timerlat_sample() local
577 list_for_each_entry_rcu(inst, &osnoise_instances, list) { in trace_timerlat_sample()
578 buffer = inst->tr->array_buffer.buffer; in trace_timerlat_sample()
650 struct osnoise_instance *inst; in timerlat_dump_stack() local
666 list_for_each_entry_rcu(inst, &osnoise_instances, list) { in timerlat_dump_stack()
667 buffer = inst->tr->array_buffer.buffer; in timerlat_dump_stack()
1248 struct osnoise_instance *inst; in osnoise_stop_tracing() local
1252 list_for_each_entry_rcu(inst, &osnoise_instances, list) { in osnoise_stop_tracing()
1253 tr = inst->tr; in osnoise_stop_tracing()
1267 struct osnoise_instance *inst; in notify_new_max_latency() local
1271 list_for_each_entry_rcu(inst, &osnoise_instances, list) { in notify_new_max_latency()
1272 tr = inst->tr; in notify_new_max_latency()