Lines Matching refs:mon_bus
21 static void mon_stop(struct mon_bus *mbus);
22 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus);
28 struct mon_bus mon_bus0; /* Pseudo bus meaning "all buses" */
36 void mon_reader_add(struct mon_bus *mbus, struct mon_reader *r) in mon_reader_add()
45 struct mon_bus *m1; in mon_reader_add()
46 m1 = list_entry(p, struct mon_bus, bus_link); in mon_reader_add()
65 void mon_reader_del(struct mon_bus *mbus, struct mon_reader *r) in mon_reader_del()
81 static void mon_bus_submit(struct mon_bus *mbus, struct urb *urb) in mon_bus_submit()
98 struct mon_bus *mbus; in mon_submit()
100 mbus = ubus->mon_bus; in mon_submit()
108 static void mon_bus_submit_error(struct mon_bus *mbus, struct urb *urb, int error) in mon_bus_submit_error()
125 struct mon_bus *mbus; in mon_submit_error()
127 mbus = ubus->mon_bus; in mon_submit_error()
135 static void mon_bus_complete(struct mon_bus *mbus, struct urb *urb, int status) in mon_bus_complete()
152 struct mon_bus *mbus; in mon_complete()
154 mbus = ubus->mon_bus; in mon_complete()
165 static void mon_stop(struct mon_bus *mbus) in mon_stop()
172 mbus = list_entry(p, struct mon_bus, bus_link); in mon_stop()
211 struct mon_bus *mbus = ubus->mon_bus; in mon_bus_remove()
254 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus) in mon_dissolve()
262 ubus->mon_bus = NULL; in mon_dissolve()
273 struct mon_bus *mbus = container_of(r, struct mon_bus, ref); in mon_bus_drop()
285 struct mon_bus *mbus; in mon_bus_init()
287 mbus = kzalloc(sizeof(struct mon_bus), GFP_KERNEL); in mon_bus_init()
299 ubus->mon_bus = mbus; in mon_bus_init()
315 struct mon_bus *mbus = &mon_bus0; in mon_bus0_init()
333 struct mon_bus *mon_bus_lookup(unsigned int num) in mon_bus_lookup()
336 struct mon_bus *mbus; in mon_bus_lookup()
342 mbus = list_entry(p, struct mon_bus, bus_link); in mon_bus_lookup()
386 struct mon_bus *mbus; in mon_exit()
396 mbus = list_entry(p, struct mon_bus, bus_link); in mon_exit()