/kernel/trace/ |
D | trace_dynevent.h | 43 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 84 if (!ev || !ev->ops) in dyn_event_add() [all …]
|
D | trace_dynevent.c | 170 struct dyn_event *ev = v; in dyn_event_seq_show() local 172 if (ev && ev->ops) in dyn_event_seq_show() 173 return ev->ops->show(m, ev); in dyn_event_seq_show() 198 struct dyn_event *ev, *tmp; in dyn_events_release_all() local 202 for_each_dyn_event(ev) { in dyn_events_release_all() 203 if (type && ev->ops != type) in dyn_events_release_all() 205 if (ev->ops->is_busy(ev)) { in dyn_events_release_all() 210 for_each_dyn_event_safe(ev, tmp) { in dyn_events_release_all() 211 if (type && ev->ops != type) in dyn_events_release_all() 213 ret = ev->ops->free(ev); in dyn_events_release_all()
|
D | trace_uprobe.c | 38 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() 275 static bool trace_uprobe_is_busy(struct dyn_event *ev) in trace_uprobe_is_busy() argument 277 struct trace_uprobe *tu = to_trace_uprobe(ev); in trace_uprobe_is_busy() [all …]
|
D | trace_kprobe.c | 40 static int trace_kprobe_show(struct seq_file *m, struct dyn_event *ev); 41 static int trace_kprobe_release(struct dyn_event *ev); 42 static bool trace_kprobe_is_busy(struct dyn_event *ev); 44 int argc, const char **argv, struct dyn_event *ev); 65 static bool is_trace_kprobe(struct dyn_event *ev) in is_trace_kprobe() argument 67 return ev->ops == &trace_kprobe_ops; in is_trace_kprobe() 70 static struct trace_kprobe *to_trace_kprobe(struct dyn_event *ev) in to_trace_kprobe() argument 72 return container_of(ev, struct trace_kprobe, devent); in to_trace_kprobe() 132 static bool trace_kprobe_is_busy(struct dyn_event *ev) in trace_kprobe_is_busy() argument 134 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy() [all …]
|
D | trace_events_synth.c | 69 static int synth_event_show(struct seq_file *m, struct dyn_event *ev); 70 static int synth_event_release(struct dyn_event *ev); 71 static bool synth_event_is_busy(struct dyn_event *ev); 73 int argc, const char **argv, struct dyn_event *ev); 83 static bool is_synth_event(struct dyn_event *ev) in is_synth_event() argument 85 return ev->ops == &synth_event_ops; in is_synth_event() 88 static struct synth_event *to_synth_event(struct dyn_event *ev) in to_synth_event() argument 90 return container_of(ev, struct synth_event, devent); in to_synth_event() 93 static bool synth_event_is_busy(struct dyn_event *ev) in synth_event_is_busy() argument 95 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() [all …]
|
D | trace_eprobe.c | 55 static struct trace_eprobe *to_trace_eprobe(struct dyn_event *ev) in to_trace_eprobe() argument 57 return container_of(ev, struct trace_eprobe, devent); in to_trace_eprobe() 65 static int eprobe_dyn_event_show(struct seq_file *m, struct dyn_event *ev) in eprobe_dyn_event_show() argument 67 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_show() 102 static int eprobe_dyn_event_release(struct dyn_event *ev) in eprobe_dyn_event_release() argument 104 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_release() 112 static bool eprobe_dyn_event_is_busy(struct dyn_event *ev) in eprobe_dyn_event_is_busy() argument 114 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_is_busy() 120 int argc, const char **argv, struct dyn_event *ev) in eprobe_dyn_event_match() argument 122 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_match()
|
/kernel/locking/ |
D | lock_events.h | 43 #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
|
D | qspinlock_stat.h | 18 #define EVENT_COUNT(ev) lockevents[LOCKEVENT_ ## ev] argument
|
/kernel/rcu/ |
D | tree_stall.h | 92 static int rcu_panic(struct notifier_block *this, unsigned long ev, void *ptr) in rcu_panic() argument
|