Home
last modified time | relevance | path

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

/kernel/trace/
Dtrace_dynevent.h43 int (*show)(struct seq_file *m, struct dyn_event *ev);
44 bool (*is_busy)(struct dyn_event *ev);
45 int (*free)(struct dyn_event *ev);
47 int argc, const char **argv, struct dyn_event *ev);
69 int dyn_event_init(struct dyn_event *ev, struct dyn_event_operations *ops) in dyn_event_init() argument
71 if (!ev || !ops) in dyn_event_init()
74 INIT_LIST_HEAD(&ev->list); in dyn_event_init()
75 ev->ops = ops; in dyn_event_init()
79 static inline int dyn_event_add(struct dyn_event *ev) in dyn_event_add() argument
83 if (!ev || !ev->ops) in dyn_event_add()
[all …]
Dtrace_dynevent.c121 struct dyn_event *ev = v; in dyn_event_seq_show() local
123 if (ev && ev->ops) in dyn_event_seq_show()
124 return ev->ops->show(m, ev); in dyn_event_seq_show()
149 struct dyn_event *ev, *tmp; in dyn_events_release_all() local
153 for_each_dyn_event(ev) { in dyn_events_release_all()
154 if (type && ev->ops != type) in dyn_events_release_all()
156 if (ev->ops->is_busy(ev)) { in dyn_events_release_all()
161 for_each_dyn_event_safe(ev, tmp) { in dyn_events_release_all()
162 if (type && ev->ops != type) in dyn_events_release_all()
164 ret = ev->ops->free(ev); in dyn_events_release_all()
Dtrace_uprobe.c38 static int trace_uprobe_show(struct seq_file *m, struct dyn_event *ev);
39 static int trace_uprobe_release(struct dyn_event *ev);
40 static bool trace_uprobe_is_busy(struct dyn_event *ev);
42 int argc, const char **argv, struct dyn_event *ev);
67 static bool is_trace_uprobe(struct dyn_event *ev) in is_trace_uprobe() argument
69 return ev->ops == &trace_uprobe_ops; in is_trace_uprobe()
72 static struct trace_uprobe *to_trace_uprobe(struct dyn_event *ev) in to_trace_uprobe() argument
74 return container_of(ev, struct trace_uprobe, devent); in to_trace_uprobe()
278 static bool trace_uprobe_is_busy(struct dyn_event *ev) in trace_uprobe_is_busy() argument
280 struct trace_uprobe *tu = to_trace_uprobe(ev); in trace_uprobe_is_busy()
[all …]
Dtrace_kprobe.c39 static int trace_kprobe_show(struct seq_file *m, struct dyn_event *ev);
40 static int trace_kprobe_release(struct dyn_event *ev);
41 static bool trace_kprobe_is_busy(struct dyn_event *ev);
43 int argc, const char **argv, struct dyn_event *ev);
64 static bool is_trace_kprobe(struct dyn_event *ev) in is_trace_kprobe() argument
66 return ev->ops == &trace_kprobe_ops; in is_trace_kprobe()
69 static struct trace_kprobe *to_trace_kprobe(struct dyn_event *ev) in to_trace_kprobe() argument
71 return container_of(ev, struct trace_kprobe, devent); in to_trace_kprobe()
135 static bool trace_kprobe_is_busy(struct dyn_event *ev) in trace_kprobe_is_busy() argument
137 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy()
[all …]
Dtrace_events_synth.c66 static int synth_event_show(struct seq_file *m, struct dyn_event *ev);
67 static int synth_event_release(struct dyn_event *ev);
68 static bool synth_event_is_busy(struct dyn_event *ev);
70 int argc, const char **argv, struct dyn_event *ev);
80 static bool is_synth_event(struct dyn_event *ev) in is_synth_event() argument
82 return ev->ops == &synth_event_ops; in is_synth_event()
85 static struct synth_event *to_synth_event(struct dyn_event *ev) in to_synth_event() argument
87 return container_of(ev, struct synth_event, devent); in to_synth_event()
90 static bool synth_event_is_busy(struct dyn_event *ev) in synth_event_is_busy() argument
92 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy()
[all …]
/kernel/locking/
Dlock_events.h43 #define lockevent_inc(ev) __lockevent_inc(LOCKEVENT_ ##ev, true) argument
44 #define lockevent_cond_inc(ev, c) __lockevent_inc(LOCKEVENT_ ##ev, c) argument
51 #define lockevent_add(ev, c) __lockevent_add(LOCKEVENT_ ##ev, c) argument
55 #define lockevent_inc(ev) argument
56 #define lockevent_add(ev, c) argument
57 #define lockevent_cond_inc(ev, c) argument
Dqspinlock_stat.h18 #define EVENT_COUNT(ev) lockevents[LOCKEVENT_ ## ev] argument
/kernel/rcu/
Dtree_stall.h91 static int rcu_panic(struct notifier_block *this, unsigned long ev, void *ptr) in rcu_panic() argument