Lines Matching refs:caifdevs
52 struct caif_device_entry_list caifdevs; member
70 return &caifn->caifdevs; in caif_device_list()
111 struct caif_device_entry_list *caifdevs = in caif_get() local
115 list_for_each_entry_rcu(caifd, &caifdevs->list, list, in caif_get()
321 struct caif_device_entry_list *caifdevs; in caif_enroll_dev() local
324 caifdevs = caif_device_list(dev_net(dev)); in caif_enroll_dev()
342 mutex_lock(&caifdevs->lock); in caif_enroll_dev()
343 list_add_rcu(&caifd->list, &caifdevs->list); in caif_enroll_dev()
355 mutex_unlock(&caifdevs->lock); in caif_enroll_dev()
372 struct caif_device_entry_list *caifdevs; in caif_device_notify() local
376 caifdevs = caif_device_list(dev_net(dev)); in caif_device_notify()
459 mutex_lock(&caifdevs->lock); in caif_device_notify()
463 mutex_unlock(&caifdevs->lock); in caif_device_notify()
485 list_add_rcu(&caifd->list, &caifdevs->list); in caif_device_notify()
486 mutex_unlock(&caifdevs->lock); in caif_device_notify()
495 mutex_unlock(&caifdevs->lock); in caif_device_notify()
510 INIT_LIST_HEAD(&caifn->caifdevs.list); in caif_init_net()
511 mutex_init(&caifn->caifdevs.lock); in caif_init_net()
523 struct caif_device_entry_list *caifdevs = in caif_exit_net() local
528 mutex_lock(&caifdevs->lock); in caif_exit_net()
530 list_for_each_entry_safe(caifd, tmp, &caifdevs->list, list) { in caif_exit_net()
550 mutex_unlock(&caifdevs->lock); in caif_exit_net()