Lines Matching refs:ev
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()
88 list_add_tail(&ev->list, &dyn_event_list); in dyn_event_add()
92 static inline void dyn_event_remove(struct dyn_event *ev) in dyn_event_remove() argument
95 list_del_init(&ev->list); in dyn_event_remove()