Lines Matching refs:cbdev
78 spin_lock_bh(&dev->cbdev->queue_lock); in cn_netlink_send()
79 list_for_each_entry(__cbq, &dev->cbdev->queue_list, in cn_netlink_send()
87 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_netlink_send()
131 spin_lock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
132 list_for_each_entry(i, &dev->cbdev->queue_list, callback_entry) { in cn_call_callback()
139 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_call_callback()
195 err = cn_queue_add_callback(dev->cbdev, name, id, callback); in cn_add_callback()
215 cn_queue_del_callback(dev->cbdev, id); in cn_del_callback()
221 struct cn_queue_dev *dev = cdev.cbdev; in cn_proc_show()
265 dev->cbdev = cn_queue_alloc_dev("cqueue", dev->nls); in cn_init()
266 if (!dev->cbdev) { in cn_init()
286 cn_queue_free_dev(dev->cbdev); in cn_fini()