Home
last modified time | relevance | path

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

/linux/kernel/trace/
H A Dtrace.c614 static int __trace_array_get(struct trace_array *this_tr) in __trace_array_get() argument
617 if (autoremove_wq && this_tr->free_on_close) in __trace_array_get()
620 this_tr->ref++; in __trace_array_get()
624 int trace_array_get(struct trace_array *this_tr) in trace_array_get() argument
630 if (tr == this_tr) { in trace_array_get()
638 static void __trace_array_put(struct trace_array *this_tr) in __trace_array_put() argument
640 WARN_ON(!this_tr->ref); in __trace_array_put()
641 this_tr->ref--; in __trace_array_put()
646 if (this_tr->ref == 1 && this_tr->free_on_close) in __trace_array_put()
647 trace_array_kick_autoremove(this_tr); in __trace_array_put()
[all …]