/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 | 40 static int trace_uprobe_show(struct seq_file *m, struct dyn_event *ev); 41 static int trace_uprobe_release(struct dyn_event *ev); 42 static bool trace_uprobe_is_busy(struct dyn_event *ev); 44 int argc, const char **argv, struct dyn_event *ev); 69 static bool is_trace_uprobe(struct dyn_event *ev) in is_trace_uprobe() argument 71 return ev->ops == &trace_uprobe_ops; in is_trace_uprobe() 74 static struct trace_uprobe *to_trace_uprobe(struct dyn_event *ev) in to_trace_uprobe() argument 76 return container_of(ev, struct trace_uprobe, devent); in to_trace_uprobe() 277 static bool trace_uprobe_is_busy(struct dyn_event *ev) in trace_uprobe_is_busy() argument 279 struct trace_uprobe *tu = to_trace_uprobe(ev); in trace_uprobe_is_busy() [all …]
|
D | trace_kprobe.c | 41 static int trace_kprobe_show(struct seq_file *m, struct dyn_event *ev); 42 static int trace_kprobe_release(struct dyn_event *ev); 43 static bool trace_kprobe_is_busy(struct dyn_event *ev); 45 int argc, const char **argv, struct dyn_event *ev); 66 static bool is_trace_kprobe(struct dyn_event *ev) in is_trace_kprobe() argument 68 return ev->ops == &trace_kprobe_ops; in is_trace_kprobe() 71 static struct trace_kprobe *to_trace_kprobe(struct dyn_event *ev) in to_trace_kprobe() argument 73 return container_of(ev, struct trace_kprobe, devent); in to_trace_kprobe() 133 static bool trace_kprobe_is_busy(struct dyn_event *ev) in trace_kprobe_is_busy() argument 135 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy() [all …]
|
D | trace_events_synth.c | 88 static int synth_event_show(struct seq_file *m, struct dyn_event *ev); 89 static int synth_event_release(struct dyn_event *ev); 90 static bool synth_event_is_busy(struct dyn_event *ev); 92 int argc, const char **argv, struct dyn_event *ev); 102 static bool is_synth_event(struct dyn_event *ev) in is_synth_event() argument 104 return ev->ops == &synth_event_ops; in is_synth_event() 107 static struct synth_event *to_synth_event(struct dyn_event *ev) in to_synth_event() argument 109 return container_of(ev, struct synth_event, devent); in to_synth_event() 112 static bool synth_event_is_busy(struct dyn_event *ev) in synth_event_is_busy() argument 114 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() [all …]
|
D | trace_eprobe.c | 59 static struct trace_eprobe *to_trace_eprobe(struct dyn_event *ev) in to_trace_eprobe() argument 61 return container_of(ev, struct trace_eprobe, devent); in to_trace_eprobe() 69 static int eprobe_dyn_event_show(struct seq_file *m, struct dyn_event *ev) in eprobe_dyn_event_show() argument 71 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_show() 106 static int eprobe_dyn_event_release(struct dyn_event *ev) in eprobe_dyn_event_release() argument 108 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_release() 116 static bool eprobe_dyn_event_is_busy(struct dyn_event *ev) in eprobe_dyn_event_is_busy() argument 118 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_is_busy() 124 int argc, const char **argv, struct dyn_event *ev) in eprobe_dyn_event_match() argument 126 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_match()
|
D | trace_events_user.c | 1126 static int user_event_show(struct seq_file *m, struct dyn_event *ev) in user_event_show() argument 1128 struct user_event *user = container_of(ev, struct user_event, devent); in user_event_show() 1156 static bool user_event_is_busy(struct dyn_event *ev) in user_event_is_busy() argument 1158 struct user_event *user = container_of(ev, struct user_event, devent); in user_event_is_busy() 1163 static int user_event_free(struct dyn_event *ev) in user_event_free() argument 1165 struct user_event *user = container_of(ev, struct user_event, devent); in user_event_free() 1228 int argc, const char **argv, struct dyn_event *ev) in user_event_match() argument 1230 struct user_event *user = container_of(ev, struct user_event, devent); in user_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 | 120 static int rcu_panic(struct notifier_block *this, unsigned long ev, void *ptr) in rcu_panic() argument
|