uwbd 341 drivers/staging/uwb/lc-rc.c init_waitqueue_head(&rc->uwbd.wq); uwbd 342 drivers/staging/uwb/lc-rc.c INIT_LIST_HEAD(&rc->uwbd.event_list); uwbd 343 drivers/staging/uwb/lc-rc.c spin_lock_init(&rc->uwbd.event_list_lock); uwbd 385 drivers/staging/uwb/uwb.h struct uwbd uwbd; uwbd 262 drivers/staging/uwb/uwbd.c rc->uwbd.wq, uwbd 263 drivers/staging/uwb/uwbd.c !list_empty(&rc->uwbd.event_list) uwbd 269 drivers/staging/uwb/uwbd.c spin_lock_irqsave(&rc->uwbd.event_list_lock, flags); uwbd 270 drivers/staging/uwb/uwbd.c if (!list_empty(&rc->uwbd.event_list)) { uwbd 271 drivers/staging/uwb/uwbd.c evt = list_first_entry(&rc->uwbd.event_list, struct uwb_event, list_node); uwbd 275 drivers/staging/uwb/uwbd.c spin_unlock_irqrestore(&rc->uwbd.event_list_lock, flags); uwbd 291 drivers/staging/uwb/uwbd.c struct task_struct *task = kthread_run(uwbd, rc, "uwbd"); uwbd 293 drivers/staging/uwb/uwbd.c rc->uwbd.task = NULL; uwbd 297 drivers/staging/uwb/uwbd.c rc->uwbd.task = task; uwbd 298 drivers/staging/uwb/uwbd.c rc->uwbd.pid = rc->uwbd.task->pid; uwbd 305 drivers/staging/uwb/uwbd.c if (rc->uwbd.task) uwbd 306 drivers/staging/uwb/uwbd.c kthread_stop(rc->uwbd.task); uwbd 327 drivers/staging/uwb/uwbd.c spin_lock_irqsave(&rc->uwbd.event_list_lock, flags); uwbd 328 drivers/staging/uwb/uwbd.c if (rc->uwbd.pid != 0) { uwbd 329 drivers/staging/uwb/uwbd.c list_add(&evt->list_node, &rc->uwbd.event_list); uwbd 330 drivers/staging/uwb/uwbd.c wake_up_all(&rc->uwbd.wq); uwbd 337 drivers/staging/uwb/uwbd.c spin_unlock_irqrestore(&rc->uwbd.event_list_lock, flags); uwbd 345 drivers/staging/uwb/uwbd.c spin_lock_irq(&rc->uwbd.event_list_lock); uwbd 346 drivers/staging/uwb/uwbd.c list_for_each_entry_safe(evt, nxt, &rc->uwbd.event_list, list_node) { uwbd 355 drivers/staging/uwb/uwbd.c spin_unlock_irq(&rc->uwbd.event_list_lock);